Hi all,
I’m using asterisk 1.8 and I want to execute an AGI script at the end of a call. As DeadAGI is depreciated, what is the new syntax to execute test.php after hangup?
Thank you
Hi all,
I’m using asterisk 1.8 and I want to execute an AGI script at the end of a call. As DeadAGI is depreciated, what is the new syntax to execute test.php after hangup?
Thank you
Use normal AGI.
Thank you david55,
so I just have to write this:
.....
exten => 102,n,Hangup()
exten => 102,n,AGI(test.php)
and it’ll be ok?
No. You must use it in the same place as you would have used DeadAGI.
You need to use the h extension.
Ok, so like this?