[Freeswitch-users] sending a sip notify with sendevent

Christian Löschenkohl christian.loeschenkohl at xpirio.com
Mon Feb 22 09:16:43 PST 2010


hi

i try to send a sip notify message to a registered sip device
"sofia profile nat flush_inbound_reg 10 at vts.vie.xpirio.net reboot" works, but i need
to send "check-sync;reboot=false" - so the device does a resync and don't do a reboot

my message looks like this

sendevent NOTIFY
profile: nat
event-string: check-sync;reboot=false
user: 10
host: vts.vie.xpirio.net
content-type: application/simple-message-summary

if i listen on the loopback interface i do see

##
T 2010/02/22 18:11:59.083204 127.0.0.1:51840 -> 127.0.0.1:8021 [AP]
sendevent NOTIFY
profile: nat
event-string: check-sync;reboot=false
user: 10
host: vts.vie.xpirio.net
content-type: application/simple-message-summary

##
T 2010/02/22 18:11:59.084032 127.0.0.1:8021 -> 127.0.0.1:51840 [AP]
Content-Type: command/reply
Reply-Text: -ERR invalid

--------
i don't get what it is wrong. i also rechecked the registered user in the sqlite database and this
looks good to me.

no message is send to the user.

we do use multiple domains, so user could also be 10 at somedomain.com - or am i wrong on this?
could somebody please bring some light in this.

we do use trunk rev. 16631

br



-- 
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl at xpirio.com




More information about the FreeSWITCH-users mailing list