[asterisk-bugs] [JIRA] (ASTERISK-24536) AMI redirect with PJSIP fails to move extra channel
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Dec 2 09:47:31 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223792#comment-223792 ]
Matt Jordan commented on ASTERISK-24536:
----------------------------------------
I have a feeling this will happen with any channel. The {{Redirect}} action is performing an {{ast_async_goto}} on the first channel - however, since the bridge is set up to hang up the second channel when the first leaves, this causes the second {{ast_async_goto}} to fail.
If we have a dual redirect, we need to first notify the bridge to not hangup the second channel when the first leaves.
> AMI redirect with PJSIP fails to move extra channel
> ---------------------------------------------------
>
> Key: ASTERISK-24536
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24536
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 13.0.0
> Reporter: Niklas Larsson
> Assignee: Rusty Newton
> Attachments: redirect.txt
>
>
> We have one softmix with one or two PJSIP channels in. Then we are sending an AMI action:
> {quote}
> action: Redirect
> actionid: 1416320876.9306
> channel: PJSIP/tjoho-00000044
> exten: moh
> context: hold-bridge
> priority: 1
> extrachannel: PJSIP/wid3-00000045
> extraexten: moh
> extracontext: hold-bridge
> extrapriority: 1
> {quote}
> Result: the first channel is placed in hold-bridge,moh,1 but the second is hunged up.
> {noformat}
> [Nov 18 15:26:47] WARNING[1370]: channel.c:10376 ast_channel_move: Can't move channel. One or both is dead (Surrogate/PJSIP/wid3-00000045 <-- PJSIP/wid3-00000045)
> [Nov 18 15:26:47] WARNING[1370]: pbx.c:9687 ast_async_goto: Unable to gain control of channel PJSIP/wid3-00000045
> [Nov 18 15:26:47] ERROR[1370]: utils.c:1449 ast_careful_fwrite: fwrite() returned error: Broken pipe
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list