[asterisk-bugs] [JIRA] (ASTERISK-25861) Subscription timeout earlier than anticipated
patronic (JIRA)
noreply at issues.asterisk.org
Thu Mar 24 09:28:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230021#comment-230021 ]
patronic commented on ASTERISK-25861:
-------------------------------------
Actually.... I'm wondering if the NOTIFY could be in cause.
The client sends a SUBSCRIBE with event: presence. Then it receives a 200 OK.
Then it receives a NOTIFY:
NOTIFY sip:testmeow at 192.168.1.3:5555 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.3:5070;branch=z9hG4bK1e471bc9;rport
Max-Forwards: 70
From: <sip:voipms at 192.168.1.3:5070>;tag=as46139e91
To: "testmeow"<sip:testmeow at 192.168.1.3:5070>;tag=6309187b
Contact: <sip:voipms at 192.168.1.3:5070>
Call-ID: wBSlQrD0PQD6CSJ_-ZipWg..
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX 11.6-cert10
Subscription-State: active
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 213
Shouldn't the Event be "presence" instead of "dialog" in this case?
> Subscription timeout earlier than anticipated
> ---------------------------------------------
>
> Key: ASTERISK-25861
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25861
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/Subscriptions
> Affects Versions: 11.6.0
> Reporter: patronic
> Assignee: Unassigned
> Attachments: asterisk.txt, messages.txt, resip-part1.txt, resip-part2.txt, resiprocate-client-part2.txt, resiprocate-client.txt, test.pcap
>
>
> I'm using a client built with the reSIProcate stack. After a random amount of time, my subscription to presence times out.
> In the asterisk log file, I can see a SUBSCRIBE comming in at 00:57:48 with a timeout of 60s. Asterisk says it is Scheduling destruction of SIP dialog in 70ms (so at 00:58:58)
> Then for an unknown reason, the client sends another one at 00:58:15. That seems pretty early. But it shouldn't matter. Then Asterisk sends a notify that terminates the subscription with reason=timeout.
> The dialog in question is wBSlQrD0PQD6CSJ_-ZipWg. The timeout occurs at 00:58:15. The last sucessful SUBSCRIBE was at 00:57:48. There are retransmits at the end of the log file because the client application killed itself as soon as it detected the subscription timeout (for testing purposes)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list