Hello I am using A2B 1.9.4 and Asterisk 1.6.2.24.
Here is my dialplan that i use in a2billing.
[a2billing] exten => _X.,1,NoOp(A2Billing Start) exten => _X.,n,DeadAgi(a2billing.php,2) exten => _X.,n,Hangup
exten => h,1,Deadagi(mycode.php)
Simply in mycode.php i am trying to get the CDR of the completed call , from mysql table cc_call
i wrote the query to get the CDR from database but what i have found that a2billing is updating cc_call table after executing mycode.php. And because of this i could not find related data in database
how can i achive to execute mycode.php after a2billing.php is completely completed
Regards
|