Help with sip notify (reboot phone) in asterisk using pjsip - works using chansip but not pjsip


Hi GS Community!

Maybe this is more of a freepbx/asterisk question, but thought I’d check here first…

From Asterisk console I’ve been able to reboot gxp21XX phones easily with “sip notify gsreboot extension#” - works great, but I recently moved over to pjsip and I cannot get it to work.

Here is my chan_sip config settings:
cat /etc/asterisk/sip_notify_custom.conf

my pjsip_notify.conf references the same file.
cat /etc/asterisk/pjsip_notify.conf
#include sip_notify_custom.conf

BUT when I run “pjsip send notify gsreboot endpoint 7003” I get " Unable to create request with auth. No auth credentials for realm(s) ‘MyHostname:5061’ in challenge."

Can I specify in grandstream config to disable auth for sip notify? Would there be any down side to disabling authentication for sip notify?

thanks for you help,


You run TLS ?


If you need TLS, go back to chansip.


TLS working great for pjsip, for endpoints and trunks. Its just the sip notify I have to figure out…


Does any one know the answer to this question?


I do not see such option.
Run SYSLOG (with sip log) on phone and see if it receive packet first, if not then you have problem with asterisk.