papachumba
Member
- Joined
- Jun 20, 2013
- Messages
- 86
- Reaction score
- 5
Hi, hi do I change the dialplan to allow me for execution of a php script every time an extension answers an inbound call?
Ive searched high and low, and there is not one single example which shows this clearly.
I understand I have to add an AGI call inside a macro and then attach this macro on the main dialplan for answering, however most examples show how to set up similar things on an extension by extension basis.
I want to apply this to the dialplan so that each time a new extension is added, it will automatically call the php script on answer and pass some variables to it, without having to modify config files over and over again.
Ive searched high and low, and there is not one single example which shows this clearly.
I understand I have to add an AGI call inside a macro and then attach this macro on the main dialplan for answering, however most examples show how to set up similar things on an extension by extension basis.
I want to apply this to the dialplan so that each time a new extension is added, it will automatically call the php script on answer and pass some variables to it, without having to modify config files over and over again.