Summary:ASTERISK-20169: Channel groups assigned with GROUP() are not cleared after hanging up
Reporter:Aleksandr Gordeev (axonaro)Labels:
Date Opened:2012-07-25 08:10:16Date Closed:2012-07-26 16:58:26
Versions:10.6.0 Frequency of
duplicatesASTERISK-17515 groupcount or group doesn't "release" channels and group shows channels which doesn't exists
Environment:Attachments:( 0) check_for_lost_call.php.txt
( 1) full_20120725.txt
Description:After end of call, count of the call not cleared.

exten => connect,1,Noop(Connect to channel "${check_channel}")
exten => connect,n,ChanSpy(${check_channel},qoE)
exten => connect,n,Hangup
exten => check,1,Noop(Check channel ${check_channel})
exten => check,n,Record(${file}:wav,120,,q)
exten => check,n,System(/usr/local/scripts/asterisk/check_for_lost_call.php disconnect "${check_channel}" "${file}.wav")
exten => check,n,Hangup

exten => _X.,1,Noop(Call from "${CALLERID(all)}" to "${EXTEN}")
exten => _X.,n,Set(GROUP()=${CALLERID(num)})
exten => _X.,n,System(/usr/local/scripts/asterisk/check_for_lost_call.php connect "${CHANNEL}")
exten => _X.,n,Dial(SIP/asterisk10/${EXTEN})
exten => _X.,n,Hangup
Comments:By: Michael L. Young (elguero) 2012-07-25 10:40:25.653-0500

What does "core show channels" display?

By: Aleksandr Gordeev (axonaro) 2012-07-25 23:37:22.523-0500

*CLI> core show channels
Channel              Location             State   Application(Data)            
0 active channels
0 active calls
3 calls processed

By: Rusty Newton (rnewton) 2012-07-26 16:58:26.146-0500

This issue duplicates ASTERISK-17515 . Feel free to comment on the other issue if necessary. This will be linked so those looking at the other issue will see the data you provided as well.