You probably didn't read over my originally post carefully. In the dialplan
A2billing.php script is called in the "X" extension. Then there is
X,n,Hangup() so now "X" extension is dead.
After that in "h" extension I have ANOTHER script running. However, the CLI
output (which again I posted in my o
h is hangup extension, and will be executed after hangup
On Mon, Apr 11, 2011 at 6:36 PM, Bruce B wrote:
> Thanks for the input but I am not sure if that answer my question of if
> it's normal behaviour for AGI scrip to terminate after the "h" extension
> rather than end of "x" extension even i
Thanks for the input but I am not sure if that answer my question of if it's
normal behaviour for AGI scrip to terminate after the "h" extension rather
than end of "x" extension even if it was only run in "x" extension.
Regards,
On Mon, Apr 11, 2011 at 6:34 AM, Pezhman Lali wrote:
> Dear
> ther
Dear
there is some problem.
the true way for running php script, is using agi not system.
second after 5 sec, a lot of channel variables were removed, it makes your
program wrong.
with some little experience you can add your script to a2billing, try it.
best
On Sat, Apr 9, 2011 at 7:22 PM, Bruce
Hi Everyone,
Trying to run a php script after DeadAGI for A2Billing does it's magic. This
is the dialplan:
[a2billing]
exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN}
${UNIQUEID})
exten => _X.,n,AGI(a2billing.php,1)
exten => _X.,n,Hangup()
*exten => h,1,Wait(5)*
*exten => h,n,Sys