[asterisk-bugs] [JIRA] Created: (ASTERISK-20188) Don't stop ChanSpy/Record after call hungup/silence

Alexandr Gordeev (JIRA) noreply at issues.asterisk.org
Thu Aug 2 05:59:21 CDT 2012


Don't stop ChanSpy/Record after call hungup/silence
---------------------------------------------------

                 Key: ASTERISK-20188
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20188
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_chanspy, Applications/app_record
            Reporter: Alexandr Gordeev


My dialplan :

[check-for-lost-call]
exten => connect,1,Noop(Connect to channel "${check_channel}")
exten => connect,n,ChanSpy(${check_channel},qoS)
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

[from-gordeev]
exten => _X.,1,Noop(Call from "${CALLERID(all)}" to "${EXTEN}")
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

In some cases after end of call , I see that in "core show channels" show two channel with ChanSpy and Record.

I have two question :
1) Why Record don't stop after 120 seconds of silence ?
2) Why ChanSpy don't stop after call hangup ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list