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

Borislav Gergov ultraboby at gmail.com
Wed Mar 7 10:43:50 CET 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180307/0de98090/attachment.html>


More information about the sr-users mailing list