[asterisk-bugs] [JIRA] (ASTERISK-26414) app_externalivr: ExternalIVR attended transfer - no audio

balamurugan (JIRA) noreply at issues.asterisk.org
Mon Jan 30 21:09:10 CST 2017


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

balamurugan commented on ASTERISK-26414:
----------------------------------------

I have found the root cause for this issue . Looks like the channel ( Inbound Leg / exten 201) activate _generator is not set and hence the media is not flowing to the Inbound Channel / exten 201 . The external_ivr application is invoked with a channel associated for ext/125 and its activate_generator is set , but after attended transfer when the masquerade channel is finished it doesn't have the activate_generator set and this has to come from the application.

I have attached a patch and tested in my lab and it works fine . 

Joshua Colp - Please verify and let me know if the patch looks ok .

thanks,
bala

> app_externalivr: ExternalIVR attended transfer - no audio
> ---------------------------------------------------------
>
>                 Key: ASTERISK-26414
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26414
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_externalivr
>    Affects Versions: 11.23.1, 13.11.2
>         Environment: Debian 7 64bit
>            Reporter: Chris Maciejewski
>            Assignee: Unassigned
>         Attachments: asterisk.log, call.log, call.pcap
>
>
> Hi,
> When attended transfer to ExternalIVR is completed *after* ExternalIVR app starts no audio is sent to SIP client.
> To reproduce the bug:
> 1. Download example config which can be found here:
> https://github.com/level7systems/asterisk-cfg/tree/ExternalIVR-xfer
> 2. Register SIP client for ext 201 and ext 202.
> 3. Perform call scenario as below:
> a) 201 calls 202
> b) 202 performs attended transfer to ext 125 (ExternalIVR). 202 waits 10 seconds before completing the transfer
> c) when transfer is completed there is no audio sent to 201
> Note: if the same scenario is performed, however in step b) 202 waits only 3 seconds before completing the transfer audio is sent to 201 correctly. So it seems the issue doesn't occur if attended transfer is completed *before* ExternalIVR app starts and happens only if transfer completes when ExternalIVR app already started.
> Note 2: the same problem affects ver. 11.22.0 as well.
> Regards,
> Chris



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



More information about the asterisk-bugs mailing list