[SR-Users] BLF+Asterisk+NAT

John Bob preger604 at gmail.com
Wed May 2 21:03:55 CEST 2018


Hi,

I extended my the phone expiry time. When I check the packet capture there is no Message Body.

I do see this in the logs:

/usr/sbin/kamailio[17853]: {2 2 NOTIFY 6950e81414240934} ERROR: presence [subscribe.c:502]: delete_subs(): Failed to delete subscription from memory [slot: 360 ev: sip:47701 at 66.66.66. <mailto:47701 at 66.199.170.144>66 <mailto:47701 at 66.199.170.144>.66 <mailto:47701 at 66.199.170.144>.66 <mailto:47701 at 66.199.170.144> pu: dialog ci: 6950e81414240934 ft: 2426440def tt: 00c39aabf419ddeab4250cd65af8ef90-b25d]

> On Apr 24, 2018, at 2:02 PM, Charles Chance <charles.chance at sipcentric.com> wrote:
> 
> It that case, it is completely expected if the UA does not renew the subscription before expiry (which in your initial SUBSCRIBE is set to 30 seconds).
> 
> I would suggest trying to establish why the handset is not re-subscribing within the expiry time - could be settings, could be router/NAT/firewall related. Either way, your Kamailio config appears to be OK.
> 
> Cheers,
> 
> Charles
> 
> 
> On Tue, 24 Apr 2018 at 19:21, John Bob <preger604 at gmail.com <mailto:preger604 at gmail.com>> wrote:
> Hi,
> 
> The NOTIFY is sent 40seconds after the OK.
> 
> 
> On Tue, Apr 24, 2018 at 10:44 AM Charles Chance <charles.chance at sipcentric.com <mailto:charles.chance at sipcentric.com>> wrote:
> How long after the OK is the NOTIFY sent?
> 
> Cheers,
> Charles
> 
> On Tue, 24 Apr 2018 at 18:15, John Bob <preger604 at gmail.com <mailto:preger604 at gmail.com>> wrote:
> Hi Charles,
> 
> My bad. Here is the the full trace 
> 
>     Accept: application/dialog-info+xml, application/rlmi+xml, multipart/related
>     Via: SIP/2.0/TCP 192.168.1.154;branch=z9hG4bKb4503c75368818dfc.639d98ef5fa771345;rport
>     Route: <sip:66.66.66.66:5051;lr <>>
>     Max-Forwards: 70
>     From: "3004" <sip:30041 at 66.66.66.66 <>>;tag=48ae253ab7
>     To: <sip:47701 at 66.66.66.66:5051 <>>
>         SIP to address: sip:47701 at 66.66.66.66:5051 <>
>     Call-ID: 1493ef52c41b6c1a
>     CSeq: 674537542 SUBSCRIBE
>     Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
>     Allow-Events: refer
>     Contact: <sip:30041 at 192.168.1.154;transport=tcp <>>
>     Event: dialog
>     Expires: 30
>     Supported: eventlist, join, replaces, sdp-anat
>     User-Agent: Vtech Vesa VSP726 2.0.2.0-0
>     Content-Length: 0
> 
>     Via: SIP/2.0/TCP 192.168.1.154;branch=z9hG4bKb4503c75368818dfc.639d98ef5fa771345;rport=6177;received=209.205.212.102
>     From: "3004" <sip:30041 at 66.66.66.66 <>>;tag=48ae253ab7
>     To: <sip:47701 at 66.66.66.66:5051 <>>;tag=00c39aabf419ddeab4250cd65af8ef90-6fb2
>     Call-ID: 1493ef52c41b6c1a
>     CSeq: 674537542 SUBSCRIBE
>     Expires: 30
>     Contact: <sip:192.168.1.30;transport=udp <>>
>     Server: kamailio (5.1.2 (x86_64/linux))
>     Content-Length: 0
> 	
> 	Via: SIP/2.0/TCP 66.66.66.66:5051;branch=z9hG4bKfe3e.e4fedb84000000000000000000000000.0
> 	To: <sip:30041 at 66.66.66.66 <>>;tag=48ae253ab7
> 	From: <sip:47701 at 66.66.66.66 <>>;tag=00c39aabf419ddeab4250cd65af8ef90-6fb2
> 	CSeq: 2 NOTIFY
> 	Call-ID: 1493ef52c41b6c1a
> 	Content-Length: 0
> 	User-Agent: kamailio (5.1.2 (x86_64/linux))
> 	Max-Forwards: 70
> 	Event: dialog
> 	Contact: <sip:192.168.1.30;transport=udp <>>
> 	Subscription-State: terminated;reason=timeout
> 
>     Accept: application/dialog-info+xml, application/rlmi+xml, multipart/related
>     Via: SIP/2.0/TCP 66.66.66.66:5051;branch=z9hG4bKfe3e.e4fedb84000000000000000000000000.0
>     From: <sip:47701 at 66.66.66.66 <>>;tag=00c39aabf419ddeab4250cd65af8ef90-6fb2
>     To: <sip:30041 at 66.66.66.66 <>>;tag=48ae253ab7
>     Call-ID: 1493ef52c41b6c1a
>     CSeq: 2 NOTIFY
>     Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
>     Allow-Events: refer
>     Server: Vtech Vesa VSP726 2.0.2.0-0
>     Supported: eventlist, join, replaces, sdp-anat
>     Content-Length: 0
> 
> 
> 
>> On Apr 24, 2018, at 5:06 AM, Charles Chance <charles.chance at sipcentric.com <mailto:charles.chance at sipcentric.com>> wrote:
>> 
> 
>> Hello,
>> 
>> In order for someone to help, you'll need to provide a trace which also includes the SUBSCRIBE and OK - the NOTIFY alone is not enough to understand what is happening here.
>> 
>> Cheers,
>> 
>> Charles
>> 
>> 
>> On 23 April 2018 at 23:45, John Bob <preger604 at gmail.com <mailto:preger604 at gmail.com>> wrote:
>> Phone sends Subscribe
>> Kamailio Responds 202 OK
>> Kamailio Responds with NOTIFY
>>  
>> Via: SIP/2.0/TCP 66.66.66.66:5051;branch=z9hG4bKfe3e.e4fedb84000000000000000000000000.0
>> To: <sip:30041 at 66.66.66.66 <mailto:30041 at 66.66.66.66>>;tag=48ae253ab7
>> From: <sip:47701 at 66.66.66.66 <mailto:47701 at 66.66.66.66>>;tag=00c39aabf419ddeab4250cd65af8ef90-6fb2
>> CSeq: 2 NOTIFY
>> Call-ID: 1493ef52c41b6c1a
>> Content-Length: 0
>> User-Agent: kamailio (5.1.2 (x86_64/linux))
>> Max-Forwards: 70
>> Event: dialog
>> Contact: <sip:192.168.1.30;transport=udp <>>
>> Subscription-State: terminated;reason=timeout
>>  
>> In that packet I see Subscription-state: terminated;reason=timeout
>>  
>>  
>> Im not sure what I am missing or misconfigured. Any help would be great. I’ve attached my config.
>>  
>> Thanks.
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>> 
>> 
>> 
>> 
> 
>> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.
> 
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>_______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> -- 
> Charles Chance
> Managing Director
> 
> t. 0330 120 1200    m. 07932 063 891
> 
> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> -- 
> Charles Chance
> Managing Director
> 
> t. 0330 120 1200    m. 07932 063 891
> 
> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180502/ee24345e/attachment.html>


More information about the sr-users mailing list