How to configure so that asterisk execute DeadAgi


#1

Hi,
I want to use a2billing as my asterisk billing software .The configure is as following .But I found the cdr was not stored into call table .why?Thanks.
[callingcard]
include =>ext-local
include => outbound-allroutes
exten => h,1,Answer
exten => h,2,Wait,2
;exten => s,3,DeadAGI(a2billing.php|1)
exten => h,3,DeadAGI,a2billing.php
exten => h,4,Wait,2
exten => h,5,Hangup