I have a2billing 1.7.1 working with asterisk 1.6.2.6 and everything seems to be working fine.
But when I set record_call = yes and make a call I get the following error:
<SIP/voiptrunk-0000005e>AGI Rx << EXEC MixMonitor 1283440306.94.gsm|b
-- AGI Script Executing Application: (MixMonitor) Options: (1283440306.94.gsm|b)
[Sep 2 11:12:26] WARNING[7878]: pbx.c:1344 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (MixMonitor(1283440306.94.gsm|b))
<SIP/voiptrunk-0000005e>AGI Tx >> 200 result=0
== Begin MixMonitor Recording SIP/voiptrunk-0000005e
<SIP/voiptrunk-0000005e>AGI Rx << EXEC DIAL SIP/voiptrunk/1xxxxxxxxxx,60,HRrL(2479000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (SIP/voiptrunk/1xxxxxxxxxx,60,HRrL(2479000:61000:30000))
-- Limit Data for this call:
== Using SIP RTP CoS mark 5
-- Called voiptrunk/1xxxxxxxxxx
[Sep 2 11:12:26] WARNING[7885]: file.c:1160 ast_writefile: No such format 'gsm|b'
[Sep 2 11:12:26] ERROR[7885]: app_mixmonitor.c:322 mixmonitor_thread: Cannot open /var/spool/asterisk/monitor/1283440306.94.gsm|b
-- SIP/voiptrunk-0000005f is making progress passing it to SIP/voiptrunk-0000005e
-- SIP/voiptrunk-0000005f answered SIP/voiptrunk-0000005e
<SIP/voiptrunk-0000005e>AGI Tx >> 200 result=-1
<SIP/voiptrunk-0000005e>AGI Rx << EXEC StopMixMonitor
-- AGI Script Executing Application: (StopMixMonitor) Options: ()
<SIP/voiptrunk-0000005e>AGI Tx >> 200 result=0
<SIP/voiptrunk-0000005e>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/voiptrunk-0000005e>AGI Tx >> 200 result=1 (3)
<SIP/voiptrunk-0000005e>AGI Rx << GET VARIABLE DIALSTATUS
<SIP/voiptrunk-0000005e>AGI Tx >> 200 result=1 (ANSWER)
<SIP/voiptrunk-0000005e>AGI Rx << HANGUP
<SIP/voiptrunk-0000005e>AGI Tx >> 511 Command Not Permitted on a dead channel
-- <SIP/voiptrunk-0000005e>AGI Script a2billing.php completed, returning -1
I did chmod 755 on /var/spool/asterisk/monitor and tried looking for the "|" in "gsm|b" and changing it to a ","
Why can't I record calls?