Record On Demand no work

Hi all,

I have following system:

FreePBX 2.11.0.9
Asterisk 11.6.0
Linux Debian 7

When i use *1, in CLI appears:

– Feature Found: apprecord exten: apprecord
– Executing [s@macro-one-touch-record:1] Set(“SIP/100-00000006”, “ONETOUCH_REC_SCRIPT_STATUS=”) in new stack
– Executing [s@macro-one-touch-record:2] System(“SIP/100-00000006”, “/var/lib/asterisk/bin/one_touch_record.php SIP/100-00000006”) in new stack
== Begin MixMonitor Recording SIP/100-00000006
– Executing [s@macro-one-touch-record:3] NoOp(“SIP/100-00000006”, “ONETOUCH_REC_SCRIPT_STATUS: [RECORDING_STARTED]”) in new stack
– Executing [s@macro-one-touch-record:4] ExecIf(“SIP/100-00000006”, “1?Playback(beep)”) in new stack
– <SIP/100-00000006> Playing ‘beep.gsm’ (language ‘pt_BR’)
– Executing [s@macro-one-touch-record:5] ExecIf(“SIP/100-00000006”, “0?Playback(beep&beep)”) in new stack
– Executing [s@macro-one-touch-record:6] MacroExit(“SIP/100-00000006”, “”) in new stack
– Feature Found: apprecord exten: apprecord
– Executing [s@macro-one-touch-record:1] Set(“SIP/100-00000006”, “ONETOUCH_REC_SCRIPT_STATUS=”) in new stack
– Executing [s@macro-one-touch-record:2] System(“SIP/100-00000006”, “/var/lib/asterisk/bin/one_touch_record.php SIP/100-00000006”) in new stack
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/100-00000006
– Executing [s@macro-one-touch-record:3] NoOp(“SIP/100-00000006”, “ONETOUCH_REC_SCRIPT_STATUS: [RECORDING_PAUSED]”) in new stack
– Executing [s@macro-one-touch-record:4] ExecIf(“SIP/100-00000006”, “0?Playback(beep)”) in new stack
– Executing [s@macro-one-touch-record:5] ExecIf(“SIP/100-00000006”, “1?Playback(beep&beep)”) in new stack
– <SIP/100-00000006> Playing ‘beep.gsm’ (language ‘pt_BR’)
– <SIP/100-00000006> Playing ‘beep.gsm’ (language ‘pt_BR’)
– Executing [s@macro-one-touch-record:6] MacroExit(“SIP/100-00000006”, “”) in new stack
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/100-00000006”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/100-00000006”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/100-00000006”, “1?Set(CDR(recordingfile)=out-3140404142-100-20131216-160720-1387217240.15.wav)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/100-00000006”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/100-00000006’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/100-00000006’
== MixMonitor close filestream (mixed)

But no audio file is recording.
I know this is an old issue here… I look in some post and not find out an solution. Anybody can help me with this is problem ?

Thanks

If you installed astgerisk from the repository, all your sound files will be in a strange place. (I can’t remember where) , I suggest you re compile and install asterisk from source.

My asterisk has been compiled from the source.
Thanks for you help.