[asterisk-bugs] [JIRA] (ASTERISK-27785) Hangup after generate call via manager with EarlyMedia

adilson leffa magnus (JIRA) noreply at issues.asterisk.org
Mon Apr 2 09:25:50 CDT 2018


adilson leffa magnus created ASTERISK-27785:
-----------------------------------------------

             Summary: Hangup after generate call via manager with EarlyMedia 
                 Key: ASTERISK-27785
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27785
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 15.3.0
         Environment: Centos 7 on google cloud
            Reporter: adilson leffa magnus
            Severity: Critical


Hello.

Generate a call via a socket with EarlyMedia: yes

when receive SIP/2.0 183 Ringing. the call bridge on context. But after this moment is impossible to hangup the call.

I try:

Execute hangup in the context
Execute on Asterisk console the command hangup request SIP/XXXX-00000006
wait Timeout 

In all cases Asterisk not send the CANCEL packet.
Include I can stop Asterisk server and the call continues ringing on the phone until answer.


If i execute the hangup before receive the SIP/2.0 183 Ringing it work ok.

If i not user EarlyMedia, the hangup via "hangup request CHANNEL" work ok too, or execute "hangup request CHANNEL" before receive the 183.

The context that I bridge the call is very simples
exten => 1,Hangup(); But i can try anything and the same problem occurs.



$socket = fsockopen('127.0.0.1', '5038', $errno, $errstr, 5);
                    fputs($socket, "Action: Login\r\n");
                    fputs($socket, "UserName: admin\r\n");
                    fputs($socket, "Secret: pass\r\n\r\n");
                    fputs($socket, "Action: Originate\r\n");
                    fputs($socket, "Channel: SIP/xxxxxxxx at trunk\r\n");
                    fputs($socket, "Exten: 1000\r\n");
                    fputs($socket, "Context: billing\r\n");
                    fputs($socket, "Timeout: 12000\r\n");
                    fputs($socket, "Async: yes\r\n");
                    fputs($socket, "EarlyMedia: true\r\n");
                    fputs($socket, "Priority: 1\r\n");
                    fputs($socket, "Action: Logoff\r\n\r\n");



I try Asterisk 13, 14 and 15





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



More information about the asterisk-bugs mailing list