Álvaro Palma
2006-May-23 08:40 UTC
[Asterisk-Users] Transfer extensions processing control to Manager
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. -- Atly. Alvaro Palma
picciuX
2006-May-23 09:40 UTC
[Asterisk-Users] Transfer extensions processing control to Manager
no, i think there isn't. But definitely you don't need it. Your incoming calls have to go somewhere, at least in a queue. Your manager app will always be able to redirect or drop the channels as needed. 2006/5/23, ?lvaro Palma <apalma@opschile.cl>:> > 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. > > -- > Atly. > Alvaro Palma > > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060523/ad43dd00/attachment.htm
Moises Silva
2006-May-23 10:11 UTC
[Asterisk-Users] Transfer extensions processing control to Manager
this is what i have in my event driven router. exten => X.,1,Answer() exten => X.,2,MAGI() exten => X.,3,Hangup() look in google for info about MAGI patch regards On 5/23/06, ?lvaro Palma <apalma@opschile.cl> 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. > > -- > Atly. > Alvaro Palma > > _______________________________________________ > --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 >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
Johann
2006-May-23 11:26 UTC
[Asterisk-Users] Transfer extensions processing control to Manager
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. >