Re: [asterisk-users] Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?

2011-04-11 Thread Bruce B
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

Re: [asterisk-users] Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?

2011-04-11 Thread Pezhman Lali
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

Re: [asterisk-users] Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?

2011-04-11 Thread Bruce B
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

Re: [asterisk-users] Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?

2011-04-11 Thread Pezhman Lali
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

[asterisk-users] Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?

2011-04-09 Thread Bruce B
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