[asterisk-bugs] [JIRA] (ASTERISK-17998) Hangup with active AGI connection does not work
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Dec 19 06:51:07 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-17998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-17998:
-----------------------------------
Affects Version/s: 13.18.4
> Hangup with active AGI connection does not work
> -----------------------------------------------
>
> Key: ASTERISK-17998
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-17998
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General, Resources/res_agi
> Affects Versions: 10, 1.8.4, 13.18.4
> Reporter: Ben Klang
> Attachments: dialplan.rb, hangup-without-bye.pcap
>
>
> While a call is connected to an AGI socket, Asterisk does not hang up the channel when requested. This is easy to reproduce, and was observed on both Asterisk 1.8 and trunk built this afternoon.
> Steps to reproduce:
> 1) Create an AGI application that answers the line, and then hangs up, but does not exit or close the socket. I have attached a dialplan.rb for Adhearsion that illustrates the issue.
> 2) Using wireshark or tcpdump, capture the SIP exchange.
> 3) Using a SIP client, dial an Asterisk extension that connects to Adhearsion via AGI.
> When the script runs, it will answer the line, play "beep", and then tell Asterisk to hangup. It then sleeps for 1 hour, leaving the AGI socket open. In the packet capture, you will find that no SIP BYE is sent and the call remains active in the softphone.
> Also attached to this ticket is a PCAP illustrating the issue.
> Additional note: the hangup "works" in that additional AGI commands receive a "511 Command not permitted on a dead channel." So Asterisk considers the channel hung up, but does not actually inform the far end.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list