[SR-Users] Kamailio NOTIFY

Spinov Evgeniy spinov_evgeniy at intalisan.com
Wed Feb 9 14:16:33 CET 2011


Hello all.

I'm having problem with sending NOTIFY packet for event dialog.

The problem is, that all NOTIFY packets sent with this event is empty.
( Content-length: 0 ) and in fact, not passing actual status to the
phone. In my case this is SPA962.

NOTIFY packets for event presence are sent fine and status is changing
normally.

The same phone, works fine with Asterisk. Asterisk is sending NOTIFY
with non-zero content and changing status for the subscriber as well.

I've turned on pua module to send PUBLISH requests at Kamailio, it's
filling DB table with subscription, everything runs fine and NOTIFY
packets are coming to subscribed phone, but they are empty.

I also have presence_dialoginfo module on and pua_dialoginfo module on.
I've tried on Kamailio 3.0.3 and 3.1.1. Content always empty.

There is no sense of pasting here packet dumps, cause everything is like
should be: 

(UAC) SUBSCRIBE, event: presence ---> K
K ---> 202 OK
(SPA) SUBSCRIBE, event: dialog ---> K
K ---> 202 OK
PUBLISH, event: presence ---> K
K ---> 200 OK
NOTIFY, event: presence, Content-Length: XXX ---> UAC
NOTIFY, event: dialog, Content-Length: 0 ---> SPA962

As result, softphone changes status and hardphone ( SPA962 ) - no. May
be it's cause of PUBLISH event value? 

Please advise.




More information about the sr-users mailing list