<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'>Hi,<br><br>How can i get the deadAGI to work at this scenario<br><br>Basically when someonc calls international, i will get the remaining balance using AGI get-available.php.<br><br>but after the call i would like to get the usage by calling get-usage.php so i can update users balance, but looking at the debug it seems the AGI was not called. is there som<br><br>exten => _00.,1,AGI(get-available.php)<br>exten => _00.,n,GotoIf($["${CALLSTATUS}" = "1"]?70)<br>exten => _00.,n,GotoIf($["${CALLSTATUS}" = "2"]?80)<br>exten => _00.,70,Dial(SIP/${EXTEN}@sb-trunk)<br>exten => _00.,n,Hangup<br>exten => _00.,n,DEADAGI(get-usage.php)<br>exten => _00.,80,Busy<br>exten =>
_00.,n,Hangup<br><br><br>Regards,<br>Nhadie<br></td></tr></table><br>