And regards to the path, actually my file is in path /root,
is that to be in /usr/sbin or somewhere?
Basically am able to see the application executed in the
CLI, like the below,
Executing
[4090@test:1] Set("SIP/4092-0000003b",
"START_TIME=2013-07-05_14:43:11") in new stack
--
Executing [4090@test:2] Set("SIP/4092-0000003b",
"MIXMONITOR_FILENAME=4090-2013-07-05_14:43:11-OUT") in new
stack
--
Executing [4090@test:3] MixMonitor("SIP/4092-0000003b",
"IND_PRI/4092/OUT/2013-07/05/4090-2013-07-05_14:43:11-OUT.wav,b,/root/flac.sh
4090-2013-07-05_14:43:11-OUT") in new stack
--
Executing [4090@test:4] Set("SIP/4092-0000003b",
"CDR(userfield)=/var/spool/asterisk/monitor/IND_PRI/4092/OUT/2013-07/05/4090-2013-07-05_14:43:11-OUT.wav")
in new stack
--
Executing [4090@test:5] Dial("SIP/4092-0000003b",
"SIP/4090,30") in new stack
== Using
SIP RTP CoS mark 5
== Begin
MixMonitor Recording SIP/4092-0000003b
--
Called SIP/4090
--
SIP/4090-0000003c is ringing
--
SIP/4090-0000003c answered SIP/4092-0000003b
--
fixed jitterbuffer created on channel SIP/4090-0000003c
--
fixed jitterbuffer created on channel SIP/4092-0000003b
--
Executing [h@test:1] MYSQL("SIP/4092-0000003b", "Connect
connid localhost root Iopex1063 Logs") in new stack
--
Executing [h@test:2] MYSQL("SIP/4092-0000003b", "Query
resultid 1 insert into
call_log(accountcode,start,end,src,dst,uniqueid,userfield,hangupcause)
values("4092","2013-07-05
14:43:11",now(),30993091,4090,1373049791.59,"/var/spool/asterisk/monitor/IND_PRI/4092/OUT/2013-07/05/4090-2013-07-05_14:43:11-OUT.wav",16)")
in new stack
--
Executing [h@test:3] MYSQL("SIP/4092-0000003b",
"Disconnect 1") in new stack
--
fixed jitterbuffer destroyed on channel SIP/4090-0000003c
== Spawn
extension (test, 4090, 5) exited non-zero on
'SIP/4092-0000003b'
--
fixed jitterbuffer destroyed on channel SIP/4092-0000003b
==
MixMonitor close filestream
== Executing
[/root/flac.sh 4090-2013-07-05_14:43:11-OUT]
== End
MixMonitor Recording SIP/4092-0000003b