[asterisk-users] How to execute an AGI script for each call.

Anurag Rana anuragrana31189 at gmail.com
Fri Jun 27 14:32:16 CDT 2014


Hi All,

I am trying to execute some AGI script no matter what extension is called.
There is 'h' extension to call AGI script when any call hangs up no matter
what extension hangup.

for example ->

[some-context]

/// something here which call AGI script no matter what extension receive
call.

exten => 111,1,Dial(SIP/111)
exten => 112,1,Dial(SIP/112)

exten => h,1,AGI(pt.py)   ;; executes no matter what extension hang up

​Thanks​

-- 
Anurag Rana
http://newbie42.blogspot.in/
On the trampoline of life's experiences, Striving towards a saintly life in
the midst of these materialistic turbulences.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140628/01b47ac8/attachment.html>


More information about the asterisk-users mailing list