[asterisk-bugs] [JIRA] (ASTERISK-26985) mixmonitor overwrites audio file

Eloy Garcia (JIRA) noreply at issues.asterisk.org
Mon May 8 05:03:57 CDT 2017


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

Eloy Garcia commented on ASTERISK-26985:
----------------------------------------

Hi,

Please find attached some files:
extensions.conf and friends related to extensions
debug_file in .txt format

Maybe it could also help you (mixmonitor via Asterisk GUI):
localhost*CLI> mixmonitor list SIP/1003-0000000a
MixMonitor ID   File    Receive File    Transmit File
=========================================================================
localhost*CLI> mixmonitor list SIP/1003-0000000a
MixMonitor ID   File    Receive File    Transmit File
=========================================================================
    --  Feature Found: apprecord exten: apprecord
    -- Executing [s at macro-one-touch-record:1] Set("SIP/1003-0000000a", "ONETOUCH_REC_SCRIPT_STATUS=") in new stack
    -- Executing [s at macro-one-touch-record:2] System("SIP/1003-0000000a", "/var/lib/asterisk/bin/one_touch_record.php "SIP/1003-0000000a"") in new stack
  == Begin MixMonitor Recording SIP/1003-0000000a
    -- Executing [s at macro-one-touch-record:3] NoOp("SIP/1003-0000000a", "ONETOUCH_REC_SCRIPT_STATUS: [RECORDING_STARTED]") in new stack
    -- Executing [s at macro-one-touch-record:4] ExecIf("SIP/1003-0000000a", "1?Playback(beep)") in new stack
    -- <SIP/1003-0000000a> Playing 'beep.alaw' (language 'en')
    -- Executing [s at macro-one-touch-record:5] ExecIf("SIP/1003-0000000a", "0?Playback(beep&beep)") in new stack
    -- Executing [s at macro-one-touch-record:6] ExecIf("SIP/1003-0000000a", "0?Playback(access-denied)") in new stack
    -- Executing [s at macro-one-touch-record:7] MacroExit("SIP/1003-0000000a", "") in new stack
localhost*CLI> mixmonitor list SIP/1003-0000000a
MixMonitor ID   File    Receive File    Transmit File
=========================================================================
0x7fadd000e2c0  /var/spool/asterisk/tmp/_var_spool_asterisk_monitor_2017_05_08_ondemand-1003-1003-20170508-105558-1494237358.66.wav
    --  Feature Found: apprecord exten: apprecord
    -- Executing [s at macro-one-touch-record:1] Set("SIP/1003-0000000a", "ONETOUCH_REC_SCRIPT_STATUS=") in new stack
    -- Executing [s at macro-one-touch-record:2] System("SIP/1003-0000000a", "/var/lib/asterisk/bin/one_touch_record.php "SIP/1003-0000000a"") in new stack
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording SIP/1003-0000000a
    -- Executing [s at macro-one-touch-record:3] NoOp("SIP/1003-0000000a", "ONETOUCH_REC_SCRIPT_STATUS: [RECORDING_STOPPED]") in new stack
    -- Executing [s at macro-one-touch-record:4] ExecIf("SIP/1003-0000000a", "0?Playback(beep)") in new stack
    -- Executing [s at macro-one-touch-record:5] ExecIf("SIP/1003-0000000a", "1?Playback(beep&beep)") in new stack
    -- <SIP/1003-0000000a> Playing 'beep.alaw' (language 'en')
    -- <SIP/1003-0000000a> Playing 'beep.alaw' (language 'en')
    -- Executing [s at macro-one-touch-record:6] ExecIf("SIP/1003-0000000a", "0?Playback(access-denied)") in new stack
    -- Executing [s at macro-one-touch-record:7] MacroExit("SIP/1003-0000000a", "") in new stack
localhost*CLI> mixmonitor list SIP/1003-0000000a
MixMonitor ID   File    Receive File    Transmit File
=========================================================================
    -- Executing [h at macro-dialout-trunk:1] Macro("SIP/1003-0000000a", "hangupcall,") in new stack
(Restricted to Answers Users group)
> mixmonitor overwrites audio file
> --------------------------------
>
>                 Key: ASTERISK-26985
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26985
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_mixmonitor
>    Affects Versions: 13.14.0
>         Environment: Virtual server running SHMZ release 6.6 (Final), FreePBX13, tested on Asterisk11 and Asterisk13.
>            Reporter: Eloy Garcia
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: asterisk.conf, debug_log.txt, extensions_additional.conf, extensions.conf, extensions_custom.conf.sample
>
>
> Hi,
> If /etc/asterisk/asterisk.conf contains "cache_record_files = yes" and you try to pause and resume a call recording (*1 to record -> *1 to pause -> *1 resume on demand, the audio file will be overwritten by mixmonitor and no append will be done.
> Thanks.



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



More information about the asterisk-bugs mailing list