login | register
Thu 08 of Jan, 2009 [23:48 UTC]

voip-info.org

Discuss [2] History

Asterisk config sip_notify.conf

Created by: JustRumours,Last modification on Fri 06 of Oct, 2006 [11:54 UTC] by bigdawggi

sip_notify.conf

Typically used to remotely reboot SIP phones (like Aastra, Polycom or Snom)
Introduced with Asterisk 1.1, not in Asterisk 1.0.x

Example Aastra reboot


[aastra-check-cfg]
 Event=>check-sync 
 Content-Length=>0

Then from the asterisk console you can type "sip notify aastra-check-cfg 42561", where 42561 is the sip phone.

Example Polycom Reboot


[polycom-reboot]
Event=>check-sync
Content-Length=>0

Console Command:
sip notify polycom-reboot 255 (where 255 is the name/username)




Example SNOM 360 reboot

Make sure that the reboot-snom clause is setup in sip_notify.conf (ref. bug 3231 and 3243) before attempting this.

See also


Example Thomson ST2030 AutoProvisioning

Prerequisits:
Make sure that in config file st2030s_<MAC>.txt the following settings are present in correct sections:

[autoprovision]
AutoprovisionFlag=1

[sip]
sw_notify_autoprovision=1


Then you can add

[thomson-check-cfg]
Event=>check-sync
Content-Length=>0


into sip_notify.conf to start autoprovisioning by sending this notify to the peer.


Go back to Asterisk config files


Comments

Comments Filter
222

333st2030

by fcois93, Thursday 04 of October, 2007 [09:53:24 UTC]
I tried in my ST2030 but don't work!
I dont know why!!!
please help me fcois93 at gmail.com
222

333Works great, except when the device requires auth

by schneis, Thursday 22 of December, 2005 [11:07:55 UTC]
I tried testing out the "sipura-check-cfg" notify against my SPA-2000. Here's a partial packet capture from a "sip notify sipura-check-cfg 1001" command:


NOTIFY sip:1001@10.0.0.78:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK3abc7c7e
From: "asterisk" <sip:asterisk@127.0.0.1>;tag=as3daba298
To: <sip:1001@10.0.0.78:5060>
Contact: <sip:asterisk@127.0.0.1>
Call-ID: 602150cd47fec63169d333f8765a3afd@127.0.0.1
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: resync
Content-Length: 0


SIP/2.0 401 Unauthorized
To: <sip:1001@10.0.0.78:5060>;tag=9910a71c2499573di0
From: "asterisk" <sip:asterisk@127.0.0.1>;tag=as3daba298
Call-ID: 602150cd47fec63169d333f8765a3afd@127.0.0.1
CSeq: 102 NOTIFY
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK3abc7c7e
Server: Sipura/SPA2000-3.1.5
WWW-Authenticate: Digest realm="asterisk........", nonce="1815f24a", qop="auth", algorithm=md5
Content-Length: 0