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

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


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195396#comment-195396 ] 

Alexandr Gordeev commented on ASTERISK-20188:
---------------------------------------------

CLI> core show channels concise
Local/connect at check-for-lost-call-6777;1!check-for-lost-call!check!2!Up!Record!/var/spool/asterisk/tmp/1343889635_SIP_office-gag-0000064f:wav,120,,q!!!!3!16207!(None)!1343889635.5470
Local/connect at check-for-lost-call-6777;2!check-for-lost-call!connect!2!Up!ChanSpy!SIP/office-gag-0000064f,qoS!!!!3!16207!(None)!1343889635.5471

> 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
>         Attachments: 20120802_full.log.txt, check_for_lost_call.php.txt
>
>
> 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-gag-to-pes]
> 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,Set(route=${FILTER(0123456789,${EXTEN})})
> exten => _X.,n,Dial(${ASTBOX}/${route})
> 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