[asterisk-users] rebooting snoms in 1.6

Benny Amorsen benny+usenet at amorsen.dk
Thu Oct 2 07:54:22 CDT 2008


"Dr. Michael J. Chudobiak" <mjc at avtechpulse.com> writes:

> With Asterisk 1.4 I could use commands like:
>
> /usr/sbin/asterisk -rx "sip notify reboot-snom mjc_home"
>
> to reboot a snom phone. Now, with 1.6, when I try that, I get:
>
> Unable to find notify type 'reboot-snom'
> Command 'sip notify reboot-snom mjc_home' failed.
>
> Do I need to add some magic to sip_notify.conf? I haven't quite figured 
> out how to make it work.

I believe it works the same as in 1.4. You can add something like this
to sip_notify.conf:

[reboot-snom]
Event=>check-sync\;reboot=true
Content-Length=>0

[snom-check-cfg]
Event=>check-sync\;reboot=false
Content-Length=>0


/Benny




More information about the asterisk-users mailing list