I would have it invoke an AGI script.

[incoming_extensions]
exten => _X.,1,AGI(ManagerControl)

You could have the AGI script have it then jump out to some other context,extension, or priority in the dialplan or have it handle the call itself.

---johann

Álvaro Palma wrote:
I'm developing an application that monitors the state of the incoming calls using Manager events. So, as a part of it, I need to "override" the control of the extensions by the dialplan itself. The problem is that, if I don't declare the incoming extension, Asterisk hangs up the call by default. So I want to know if there's some kind of "ManagerControl() application to do this, so my dial plan will look like:

[incoming_extensions]
exten => _XXXXXXX,1,ManagerControl(....)

Thanks a lot for your help.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to