[asterisk-bugs] [JIRA] (ASTERISK-17283) ChannelRedirect hanging up a channel who is in a ChanSpy

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 13 19:28:34 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-17283:
-----------------------------------

    Description: 
# User B is bridge with User A.
# User C start ChanSpy on the A channel.
# Let's doing a redirection of the Channel C with manager command (Action: Redirect), CLI command (channel redirect) or Application (ChannelRedirect).
=> The channel stop to spying but, just before go in the context,extension,priority specified, the call end.

*ADDITIONAL INFORMATION*

{noformat}
Static situation with the ChanSpy
Asterisk*CLI> core show channels verbose 
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
SIP/102-0000000e     appelant             630                34 Up      ChanSpy      SIP/201-0000000d,q        892000000       00:00:23                         (None)              
SIP/201-0000000d     medium               630                27 Up      Bridge       SIP/101-0000000c,Hh       892000000       00:08:12                         SIP/101-0000000c    
SIP/101-0000000c     mise-en-conf         630                 3 Up      (None)       (None)                    892000000       00:08:16                         SIP/201-0000000d    
3 active channels
2 active calls
{noformat}

So let's doing a redirection of the channel SIP/102-00000008 with the diaplan application ChannelRedirect :
{noformat}
[Jan 25 17:24:39] VERBOSE[2880] pbx.c:     -- Executing [630 at medium:25] ChannelRedirect("SIP/201-0000000d", "SIP/102-0000000e,mise-en-conf,630,1") in new stack
[Jan 25 17:24:39] DEBUG[2880] channel.c: Soft-Hanging up channel 'SIP/102-0000000e'
{noformat}

The channel is Hung up :(

  was:
User B is bridge with User A.
User C start ChanSpy on the A channel.
Let's doing a redirection of the Channel C with manager command (Action: Redirect), CLI command (channel redirect) or Application (ChannelRedirect).
=> The channel stop to spying but, just before go in the context,extension,priority specified, the call end.

****** ADDITIONAL INFORMATION ******

Static situation with the ChanSpy
Asterisk*CLI> core show channels verbose 
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
SIP/102-0000000e     appelant             630                34 Up      ChanSpy      SIP/201-0000000d,q        892000000       00:00:23                         (None)              
SIP/201-0000000d     medium               630                27 Up      Bridge       SIP/101-0000000c,Hh       892000000       00:08:12                         SIP/101-0000000c    
SIP/101-0000000c     mise-en-conf         630                 3 Up      (None)       (None)                    892000000       00:08:16                         SIP/201-0000000d    
3 active channels
2 active calls

So let's doing a redirection of the channel SIP/102-00000008 with the diaplan application ChannelRedirect :
[Jan 25 17:24:39] VERBOSE[2880] pbx.c:     -- Executing [630 at medium:25] ChannelRedirect("SIP/201-0000000d", "SIP/102-0000000e,mise-en-conf,630,1") in new stack
[Jan 25 17:24:39] DEBUG[2880] channel.c: Soft-Hanging up channel 'SIP/102-0000000e'

The channel is Hung up :(


> ChannelRedirect hanging up a channel who is in a ChanSpy
> --------------------------------------------------------
>
>                 Key: ASTERISK-17283
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17283
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/app_channelredirect
>            Reporter: Tanguy CHAPRON
>            Severity: Minor
>
> # User B is bridge with User A.
> # User C start ChanSpy on the A channel.
> # Let's doing a redirection of the Channel C with manager command (Action: Redirect), CLI command (channel redirect) or Application (ChannelRedirect).
> => The channel stop to spying but, just before go in the context,extension,priority specified, the call end.
> *ADDITIONAL INFORMATION*
> {noformat}
> Static situation with the ChanSpy
> Asterisk*CLI> core show channels verbose 
> Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
> SIP/102-0000000e     appelant             630                34 Up      ChanSpy      SIP/201-0000000d,q        892000000       00:00:23                         (None)              
> SIP/201-0000000d     medium               630                27 Up      Bridge       SIP/101-0000000c,Hh       892000000       00:08:12                         SIP/101-0000000c    
> SIP/101-0000000c     mise-en-conf         630                 3 Up      (None)       (None)                    892000000       00:08:16                         SIP/201-0000000d    
> 3 active channels
> 2 active calls
> {noformat}
> So let's doing a redirection of the channel SIP/102-00000008 with the diaplan application ChannelRedirect :
> {noformat}
> [Jan 25 17:24:39] VERBOSE[2880] pbx.c:     -- Executing [630 at medium:25] ChannelRedirect("SIP/201-0000000d", "SIP/102-0000000e,mise-en-conf,630,1") in new stack
> [Jan 25 17:24:39] DEBUG[2880] channel.c: Soft-Hanging up channel 'SIP/102-0000000e'
> {noformat}
> The channel is Hung up :(



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



More information about the asterisk-bugs mailing list