[asterisk-bugs] [JIRA] (ASTERISK-25476) chan_sip loses registrations after a while

Gerald Schnabel (JIRA) noreply at issues.asterisk.org
Fri Nov 20 03:45:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228384#comment-228384 ] 

Gerald Schnabel commented on ASTERISK-25476:
--------------------------------------------

{quote}
Should they not be cleared using AST_SCHED_DEL_UNREF?
{quote}
At least your patch changes the old behaviour when calling _peer_sched_cleanup(peer)_ now. The {{if (peer->expire == 0)}} block was a special case that (mis?)used scheduler ID 0 (that didn't exist before the scheduler change) to initialise the sip_peer structure with default values when it was allocated and zero-filled by ao2_t_alloc().


> chan_sip loses registrations after a while
> ------------------------------------------
>
>                 Key: ASTERISK-25476
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25476
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.20.0
>         Environment: AstLinux 1.2.4, Linux 3.2.66, x86 32bit
>            Reporter: Michael Keuter
>            Severity: Blocker
>         Attachments: 11.20.0-SIP-options.txt, asterisk-11-issue-ASTERISK-25476.patch, asterisk-13-issue-ASTERISK-25476.patch, ASTERISK-25476-11.20.0-combined.patch, ASTERISK-25476-13.diff
>
>
> In Asterisk 11.20.0 chan_sip looses registrations of some IP-phones (on several different systems) after a while. In Asterisk the phone then shows "unreachable", while the phone's status shows "Registered". Reverting back to Asterisk 11.19.0 solves the problem. The phones are mostly Yealink phones, different models with different firmwares on different systems, none of the phones firmware was recently upgraded. Dis-/enbling the phone's SIP account or rebooting the phone makes it work again for a while, but then  Asterisk shows the phone again as unreachable.
> I attach a SIP trace of a Yealink W52P DECT base with 2 handsets (331/332). "qualify=yes" is enabled, after a while Asterisk stops sending Option packets to ext. 331 while keeps sending packets to 332.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list