[asterisk-bugs] [JIRA] (ASTERISK-19501) Channel group on a Local channel not released after it has been Chanspy'd upon

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:09:08 CST 2017


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

Joshua Colp updated ASTERISK-19501:
-----------------------------------

    Assignee:     (was: lvl)

> Channel group on a Local channel not released after it has been Chanspy'd upon
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19501
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19501
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_chanspy, Functions/func_groupcount
>    Affects Versions: 10.5.0
>         Environment: Asterisk trunk checkout
>            Reporter: lvl
>
> While testing workarounds for ASTERISK-19493, I discovered another bug related to ChanSpy + Local channels. It is very similar to ASTERISK-19386, but the steps mentioned in that bug no longer reproduce the issue. The steps below, however, still do.
> Create 3 sip users, 'caller', 'agent' and 'supervisor' and log onto them with a SIP phone.
> Create extensions.conf:
> {quote}
> [incoming]
> exten => caller,1,Queue(queue1)
> exten => supervisor,1,ChanSpy(Local/s at phones,qsES)
> [phones]
> exten => s,1,Set(GROUP()=agent)
> exten => s,n,Dial(SIP/agent)
> {quote}
> Queues.conf:
> {quote}
> [queue1]
> member => Local/s at phones/n
> {quote}
> Then reproduce the issue as follows:
> - On the caller phone, dial 'caller' to get into the queue
> - On the agent phone, answer the queue call
> - On the supervisor phone, dial 'supervisor' to start the ChanSpy
> - Hang up the queue call
> Around 25% of the times, the bug will manifest: the GROUP on the local channel never gets cleared even though the channel itself h:
> {quote}
> NOTICE[31262]: app_chanspy.c:487 start_spying: Attaching SIP/supervisor-00000014 to Local/s at phones-a76e;2
>   == Spawn extension (incoming, caller, 1) exited non-zero on 'SIP/caller-00000012'
>   == Spawn extension (phones, s, 2) exited non-zero on 'Local/s at phones-a76e;2'
>   == Done Spying on channel Local/s at phones-a76e;2
> 	-- Stopped spying due to the spied-on channel hanging up.
> 	-- Auto fallthrough, channel 'SIP/supervisor-00000014' status is 'UNKNOWN'
> 	
> *CLI> group show channels
> Channel                    Group                 Category            
> Local/s at phones-a76e;2      agent                 (default)           
> 1 active channel
> {quote}



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



More information about the asterisk-bugs mailing list