Displaying 1 result from an estimated 1 matches for "outlogger".
Did you mean:
getlogger
2006 Mar 20
3
Grabbing the billsec and duration after a hangup.
...t; s,n,Do something
exten => s,n,Do something else
exten => s,n,Dial(ZAP/g1/${OUTBOUND},${timeout})
I need to log the time the person was connected to $(OUTBOUND) , these are
duration and billsec in the CDR's
So at hangup I do something like this.
exten => h,1,DeadAGI(cdr-
outlogger.php|${CDR(start)}|${OUTBOUND}|${CDR(channel)}|${CDR(duration)}|$
{CDR(billsec)}|${CDR(disposition)}|${CDR(accountcode)})
Trouble is duration and billsec are *ALWAYS* 0 (zero), as if they have not
been loaded with the values, even though the channel is hung up.
Anyone got any ideas on how I...