[asterisk-bugs] [JIRA] (ASTERISK-21447) Asterisk crashes while connecting to TCP peers

Zohair Raza (JIRA) noreply at issues.asterisk.org
Sun Apr 21 03:51:01 CDT 2013


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

Zohair Raza commented on ASTERISK-21447:
----------------------------------------

Michael, 

It may be a configuration issue, those IPs belong to phones and they don't have any firewall. In the trace, Ip:port is the location where phone was last online but somehow the sync failed and asterisk keeps trying to use old port of the phone which according to the phone is not used anymore. Phone had a TCP connection at a new port instead by this time.
                
> Asterisk crashes while connecting to TCP peers
> ----------------------------------------------
>
>                 Key: ASTERISK-21447
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21447
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 1.8.14.0
>         Environment: CentOS linux 2.6.32-279.19.1.el6.x86_64
>            Reporter: Zohair Raza
>            Assignee: Zohair Raza
>         Attachments: astlogs.txt, astsipsett.txt, backtrace3.txt, backtrace-threads3.txt, core-show-locks3.txt, gdb.txt
>
>
> Hi, 
> I ran in to this problem a couple of times, I have asterisk running in both TCP and UDP modes but the peers are configured as TCP. For some reason (maybe packet loss in the network) asterisk gets out of sync with phones and tries to make a connection with a port at which phone is not registered anymore. 
> The strange behavior is, after some time asterisk gets killed. I am not sure how to overcome this. What I am thinking is to somehow force asterisk to not connect with that peer if for eg X number of tries fail. I tried disabling qualify and originating session timers by asterisk but the connections were not being stopped.
> I am attaching backtraces and asterisk log before the time of restarts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list