[SR-Users] Kamailio not send NOTIFY for the state of the subscription when using Event: dialog (BLF)

Alex Balashov abalashov at evaristesys.com
Thu Mar 8 08:27:40 CET 2018


Hi,

But the trace you pasted suggests that the NOTIFY was in fact sent?

On Wed, Mar 07, 2018 at 11:43:50AM +0200, Borislav Gergov wrote:

> Hello,  The initial NOTIFY that shows the server accepts our subscription
> is not sent:
> 
> SUBSCRIBE sip:002 at 10.7.2.22;transport=TCP SIP/2.0.
> Via: SIP/2.0/TCP 10.2.4.38:63718
> ;branch=z9hG4bK-524287-1---837a95d50bef81d4;rport.
> Max-Forwards: 70.
> Contact: <sip:444 at 10.2.4.38:63718;transport=TCP>.
> To: <sip:002 at 10.7.2.22;transport=TCP>.
> From: <sip:444 at 10.7.2.22;transport=TCP>;tag=810bbd39.
> Call-ID: 8fMhJ4GnMrkSu8qxez70aw...
> CSeq: 1 SUBSCRIBE.
> Expires: 120.
> Accept: application/dialog-info+xml.
> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE.
> User-Agent: Z.
> Event: dialog.
> Allow-Events: presence, kpml, talk.
> Content-Length: 0.
> .
> 
> 
> 
> SIP/2.0 202 OK.
> Via: SIP/2.0/TCP 10.2.4.38:63718
> ;branch=z9hG4bK-524287-1---837a95d50bef81d4;rport=63718;received=10.2.4.38.
> To: <sip:002 at 10.7.2.22
> ;transport=TCP>;tag=339c21513a585618341888f199c2a0f6-c10d.
> From: <sip:444 at 10.7.2.22;transport=TCP>;tag=810bbd39.
> Call-ID: 8fMhJ4GnMrkSu8qxez70aw...
> CSeq: 1 SUBSCRIBE.
> Expires: 120.
> Contact: <sip:10.7.2.22:5060;transport=tcp>.
> Server: kamailio (5.1.1 (x86_64/linux)).
> Content-Length: 0.
> .
> 
> 
> 
> SIP/2.0 200 OK.
> Via: SIP/2.0/TCP 10.2.4.38:63718
> ;branch=z9hG4bK-524287-1---5b9c08901116e843;rport=63718;received=10.2.4.38.
> To: <sip:444 at 10.7.2.22
> ;transport=TCP>;tag=75017b5d51cabe3de4b519c896167ee7.88a9.
> From: <sip:444 at 10.7.2.22;transport=TCP>;tag=d831f844.
> Call-ID: p-vce2LWcasOPThxdFZP6A...
> CSeq: 3 REGISTER.
> Contact: <sip:444 at 10.2.4.38:63718
> ;transport=TCP;rinstance=045d4a61cf8385dc>;expires=120.
> Server: kamailio (5.1.1 (x86_64/linux)).
> Content-Length: 0.
> .
> 
> 
> 
> NOTIFY sip:444 at 10.2.4.38:63718;transport=TCP SIP/2.0.
> Via: SIP/2.0/TCP
> 10.7.2.22;branch=z9hG4bK94d5.046c6940000000000000000000000000.0.
> To: <sip:444 at 10.7.2.22>;tag=810bbd39.
> From: <sip:002 at 10.7.2.22>;tag=339c21513a585618341888f199c2a0f6-c10d.
> CSeq: 2 NOTIFY.
> Call-ID: 8fMhJ4GnMrkSu8qxez70aw...
> Content-Length: 0.
> User-Agent: kamailio (5.1.1 (x86_64/linux)).
> Max-Forwards: 70.
> Event: dialog.
> Contact: <sip:10.7.2.22:5060;transport=tcp>.
> Subscription-State: terminated;reason=timeout.
> .
> 
> 
> 
> SIP/2.0 200 OK.
> Via: SIP/2.0/TCP
> 10.7.2.22;branch=z9hG4bK94d5.046c6940000000000000000000000000.0.
> Contact: <sip:444 at 10.2.4.38:63718;transport=TCP>.
> To: <sip:444 at 10.7.2.22>;tag=810bbd39.
> From: <sip:002 at 10.7.2.22>;tag=339c21513a585618341888f199c2a0f6-c10d.
> Call-ID: 8fMhJ4GnMrkSu8qxez70aw...
> CSeq: 2 NOTIFY.
> User-Agent: Z.
> Content-Length: 0.

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list