Provisioning for yealink and other phones are working fine but I am having trouble getting my grandstream phones to provision and I wanted to know if others were successful. I see the nginx rewrite rules appear to be correct:
But the phones are looking for /app/provision/cfggxp2160.xml and /app/provision/cfg.xml files which are not present:
Code:
rewrite "^.*/provision/cfg([A-Fa-f0-9]{12})(\.(xml|cfg))?$" /app/provision/?mac=$1;
rewrite "^.*/provision/pb/([A-Fa-f0-9]{12})/phonebook\.xml$" /app/provision/?mac=$1&file=phonebook.xml;
#grandstream-wave softphone by ext because Android doesn't pass MAC.
rewrite "^.*/provision/([0-9]{5})/cfg([A-Fa-f0-9]{12}).xml$" /app/provision/?ext=$1;
But the phones are looking for /app/provision/cfggxp2160.xml and /app/provision/cfg.xml files which are not present:
Code:
"GET /app/provision/cfg000b82da6f5d.xml HTTP/1.1" 401 23 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"
"GET /app/provision/cfg000b82da6f5d.xml HTTP/1.1" 200 185684 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"
"GET /app/provision/cfg000b82da6f5d HTTP/1.1" 401 23 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"
"GET /app/provision/cfg000b82da6f5d HTTP/1.1" 200 185684 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"
"GET /app/provision/cfggxp2160.xml HTTP/1.1" 404 168 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"
"GET /app/provision/cfg.xml HTTP/1.1" 404 168 "-" "Grandstream Model HW GXP2160 SW 1.0.9.69 DevId 000b82da6f5d"