Hi list. I try provisioning with PJSIP on Atserisk 20 and it always fail during looking for the htm file for SNOM. A pcap capture from SNOM to asterisk http server shows
4 0.024056174 192.168.12.115 → 10.0.70.12 HTTP 506 GET /asterisk/phoneprov HTTP/1.1
[…]
14 0.079412096 192.168.12.115 → 10.0.70.12 HTTP 519 GET /asterisk/phoneprov-000413xxxxxx HTTP/1.1
[…]
24 0.153123191 192.168.12.115 → 10.0.70.12 HTTP 518 GET /asterisk/snomD717-firmware.htm HTTP/1.1
[…]
they all ended with 404 Not Found
AST_DATA_DIR point to /var/lib/asterisk in which I have phoneprov directory with configs sub-directory. Config file exists twice, once with .htm extension, another one as softlink with .xml extension . I even copy them in AST_DATA_DIR as well as in AST_DATA_DIR/phoneprov, no luck.
also
zone-s*CLI> phoneprov show routes
Static routes
Profile Relative URI Physical location
Dynamic routes
Provider Profile Relative URI Template
sipusers snom snom-000413xxxxxy.xml snom-mac.xml
res_pjsip_phoneprov_ snom snom-000413xxxxxx.xml snom-mac.xml
I followed this link Phone Provisioning, Putting it all together - Asterisk Project - Asterisk Project Wiki
Provisioning with SNOM rules is working perfectly. What am I doing wrong ?
Thanks for any hint