[asterisk-bugs] [JIRA] (ASTERISK-24540) Presence Causes Deadlock

Ross Beer (JIRA) noreply at issues.asterisk.org
Fri Feb 13 02:47:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Beer updated ASTERISK-24540:
---------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

I've finally got around to installing Asterisk 13 and it appears that the same issue occurs in this version too. The SIP channel driver performance is impeded due to every call creating a real-time DB look-up even if the peer is statically defined.

The driver should look to it statically defined peers, check the real-time cache and then if no devices found look-up the peer from the database.

Can this order be changed in the chan_sip driver? I am planning to move to PJ sip but want to move to Asterisk 13 with the old chan_sip before moving. This would greatly ease the pain of moving.



> Presence Causes Deadlock
> ------------------------
>
>                 Key: ASTERISK-24540
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24540
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.32.0, 11.14.0, 11.14.1, 13.2.0
>         Environment: CentOS 6.4, CentOS 6.5, CentOS 7
>            Reporter: Ross Beer
>            Assignee: Ross Beer
>         Attachments: backtrace-threads_21-11-2014-clean.txt, backtrace-threads-clean_server2.txt, backtrace-threads-clean.txt, lsof_24-11-2014_1158.txt, server2_additional_debug.txt, threads.txt
>
>
> We are experiencing an issue where the SIP channel driver pauses and does not allow further registrations or calls to progress.
> Looking at core dumps shows lock waits for app_dial and presence.
> Unfortunately asterisk had not been compiled with the correct settings so I will need to provide further back traces when the issue happens again, however have attached the files I have now.



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



More information about the asterisk-bugs mailing list