[asterisk-bugs] [JIRA] (ASTERISK-27011) ExtraChannel closed on AMI Redirect
Boris Barabanov (JIRA)
noreply at issues.asterisk.org
Sun May 21 01:35:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237072#comment-237072 ]
Boris Barabanov edited comment on ASTERISK-27011 at 5/21/17 1:34 AM:
---------------------------------------------------------------------
also i try ChannelRedirect via Dynamic feature with same result.
I try few different asterisk versions:13.7.2 - all is ok, 13.8.0 and above - bug exist
features.conf
{code}
app_tst=> 7,self,Macro,preQCB
{code}
extensions.conf
{code}
[ctBTest]
exten => 300,1,Noop()
exten => 300,n,Set(__DYNAMIC_FEATURES=app_tst)
exten => 300,n,Dial(SIP/300)
[macro-preQCB]
exten => s,1,ChannelRedirect(${BRIDGEPEER},ctQCB11,s,1)
exten => s,n,ChannelRedirect(${CHANNEL},ctQCB11,s,1)
[ctQCB11]
exten => s,1,Noop()
exten => s,n,Wait(100)
{code}
log:
{code}
[2017-05-21 08:52:34] DTMF[12659][C-00000001]: channel.c:4096 __ast_read: DTMF end passthrough '7' on SIP/100-00000002
-- Executing [s at macro-preQCB:1] ChannelRedirect("SIP/100-00000002", "SIP/300-00000003,ctQCB11,s,1") in new stack
-- Channel SIP/300-00000003 left 'simple_bridge' basic-bridge <73c91a73-8bf0-4cf7-8d7f-cdd7fc96d544>
-- Executing [s at ctQCB11:1] NoOp("SIP/300-00000003", "") in new stack
-- Executing [s at ctQCB11:2] Wait("SIP/300-00000003", "100") in new stack
-- Executing [s at macro-preQCB:2] ChannelRedirect("SIP/100-00000002", "SIP/100-00000002,ctQCB11,s,1") in new stack
== Channel 'SIP/100-00000002' jumping out of macro 'preQCB'
-- Channel SIP/100-00000002 left 'simple_bridge' basic-bridge <73c91a73-8bf0-4cf7-8d7f-cdd7fc96d544>
-- Executing [s at ctQCB11:1] NoOp("SIP/100-00000002", "") in new stack
== Spawn extension (ctQCB11, s, 2) exited non-zero on 'SIP/300-00000003'
{code}
was (Author: boristheblade):
also i try ChannelRedirect via Dynamic feature with same result, but in version 13.7.0 all working as expected
features.conf
{code}
app_tst=> 7,self,Macro,preQCB
{code}
extensions.conf
{code}
[ctBTest]
exten => 300,1,Noop()
exten => 300,n,Set(__DYNAMIC_FEATURES=app_tst)
exten => 300,n,Dial(SIP/300)
[macro-preQCB]
exten => s,1,ChannelRedirect(${BRIDGEPEER},ctQCB11,s,1)
exten => s,n,ChannelRedirect(${CHANNEL},ctQCB11,s,1)
[ctQCB11]
exten => s,1,Noop()
exten => s,n,Wait(100)
{code}
log:
{code}
[2017-05-21 08:52:34] DTMF[12659][C-00000001]: channel.c:4096 __ast_read: DTMF end passthrough '7' on SIP/100-00000002
-- Executing [s at macro-preQCB:1] ChannelRedirect("SIP/100-00000002", "SIP/300-00000003,ctQCB11,s,1") in new stack
-- Channel SIP/300-00000003 left 'simple_bridge' basic-bridge <73c91a73-8bf0-4cf7-8d7f-cdd7fc96d544>
-- Executing [s at ctQCB11:1] NoOp("SIP/300-00000003", "") in new stack
-- Executing [s at ctQCB11:2] Wait("SIP/300-00000003", "100") in new stack
-- Executing [s at macro-preQCB:2] ChannelRedirect("SIP/100-00000002", "SIP/100-00000002,ctQCB11,s,1") in new stack
== Channel 'SIP/100-00000002' jumping out of macro 'preQCB'
-- Channel SIP/100-00000002 left 'simple_bridge' basic-bridge <73c91a73-8bf0-4cf7-8d7f-cdd7fc96d544>
-- Executing [s at ctQCB11:1] NoOp("SIP/100-00000002", "") in new stack
== Spawn extension (ctQCB11, s, 2) exited non-zero on 'SIP/300-00000003'
{code}
> ExtraChannel closed on AMI Redirect
> ------------------------------------
>
> Key: ASTERISK-27011
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27011
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.8.0, 13.11.2, 13.15.0
> Environment: Installed Packages
> Name : asterisk13-core
> Arch : x86_64
> Version : 13.15.0
> Release : 1.shmz65.1.158
> Size : 16 M
> Repo : installed
> From repo : pbx
> Summary : Asterisk core package without any "extras".
> URL : http://www.asterisk.org
> License : GPL
> Description : This package contains a base install of Asterisk without any "extras".
> Reporter: Boris Barabanov
> Attachments: AMI.txt, full-log.txt
>
>
> Have 2 bridged channels. Try to redirect via AMI and one leg is hangups.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list