[asterisk-bugs] [JIRA] (ASTERISK-27609) sip_tcptls_read: SIP TCP/TLS server has shut down after 120s

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Jan 22 14:11:49 CST 2018


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

Richard Mudgett edited comment on ASTERISK-27609 at 1/22/18 2:10 PM:
---------------------------------------------------------------------

The pcap seems top be corrupted.  can you try again?

Also, the crash was resolved in ASTERISK-27534



was (Author: gtj):
The pcap seems top be corrupted.  can you try again?

Also, the crash was resolved in https://issues.asterisk.org/jira/browse/ASTERISK-27534


> sip_tcptls_read: SIP TCP/TLS server has shut down after 120s
> ------------------------------------------------------------
>
>                 Key: ASTERISK-27609
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27609
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/TCP-TLS
>    Affects Versions: 15.1.3
>         Environment: AWS EC2 running Centos 7
>            Reporter: Chris Jones
>            Assignee: Chris Jones
>         Attachments: asterisk-27609.core.tar.gz, asterisk-27609.pcap.tar.gz, ASTERISK-27609.txt, asterisk-cli-output.txt
>
>
> I have a SIP provider (Twilio) that has provided working guidelines for configuring Asterisk to have a Secure SIP tunnel between it and Twilio. I have implemented the TLS and SRTP, and configured Twilio to be Secure-only.
> I can make and receive calls just fine - TLS and SRTP is working. 
> If I hang up the call within 2 minutes: the call disconnects perfectly fine on both ends.
> If the call is longer than two minutes,
>  - at exactly the 120s mark, I get the following sip debug:
> DEBUG[30015]: iostream.c:157 iostream_read: TLS clean shutdown alert reading data
> DEBUG[30015]: chan_sip.c:2905 sip_tcptls_read: SIP TCP/TLS server has shut down
>   - if I hang up the call on the Asterisk side, my mobile phone that dialed into Twilio, does not hang up. 
>   - after 300seconds beyond the initial 120+ seconds, my mobile phone hangs up. I feel this a Twilio timeout. Interesting enough, Twilio sends a BYE but Asterisk responds that the call leg does not exist anymore.
> Because call setup and SRTP both work, the hangup issue is an aggravation because it could increase toll charges (extra 5 minutes every call if the other doesnt hang up). And we need to resolved before we can deploy our app.
>  



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



More information about the asterisk-bugs mailing list