i would like to Call a Function every-time a extension:
- Originate a Call
- Hangup phone
- Receive a Call
any idea where i should locate the function call?
like:
exten => s,n,MyFunction(‘Close’)
i would like to Call a Function every-time a extension:
any idea where i should locate the function call?
like:
exten => s,n,MyFunction(‘Close’)
Each of these events happen differently
You have 2 options:
Thank for reply
Definitely i will avoid subscribe to events.
what about modifying hangup.agi. What do you think?