Hi everybody, What I need to do is to run a context where I'll pass some phones (for example: 3 numbers). I need to make something like a followme, if the first phone is not answered, I'll call the second one, and so on. That dial plan is not the problem, my problem is when I execute the AMI, I'm using the Originate. It needs a channel as an argument, so the context can be executed; but what channel should I pass there? (the phone numbers are in the Variable argument) Thanks in advance. Anahi Ludue?a _________________________________________________________________ ?Quieres ver los mejores videos de MSN? Enciende Messenger TV http://messengertv.msn.com/mkt/es-es/default.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091002/7a7c48cb/attachment.htm
Local/1 will run the context without tying up resources. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anahi Ludue?a Sent: Friday, October 02, 2009 8:20 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Followme Hi everybody, What I need to do is to run a context where I'll pass some phones (for example: 3 numbers). I need to make something like a followme, if the first phone is not answered, I'll call the second one, and so on. That dial plan is not the problem, my problem is when I execute the AMI, I'm using the Originate. It needs a channel as an argument, so the context can be executed; but what channel should I pass there? (the phone numbers are in the Variable argument) Thanks in advance. _____ Anahi Ludue?a _____ Comparte tus fotos con tus amigos. M?s f?cil con Windows Live <http://download.live.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091002/498cdecd/attachment.htm
Thanks Danny, It seems I'm doing something wrong. Let forget the followme, I have this context: [new-context] exten => 1,1,Answer exten => 1,2,Dial(sip/1000) exten => 1,3,Playback(sorrynoanswer) exten => 1,4,Hangup Now, I execute the Originate with these parameters: Channel: Local/1 Context: new-context Priority: 1 But it gives this error: Response: Error Message: Originate failed Do you know if there is something wrong? Thanks again. From: danny at debsinc.com To: asterisk-users at lists.digium.com Date: Fri, 2 Oct 2009 08:25:58 -0500 Subject: Re: [asterisk-users] Followme Local/1 will run the context without tying up resources. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anahi Ludue?a Sent: Friday, October 02, 2009 8:20 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Followme Hi everybody, What I need to do is to run a context where I'll pass some phones (for example: 3 numbers). I need to make something like a followme, if the first phone is not answered, I'll call the second one, and so on. That dial plan is not the problem, my problem is when I execute the AMI, I'm using the Originate. It needs a channel as an argument, so the context can be executed; but what channel should I pass there? (the phone numbers are in the Variable argument) Thanks in advance. Anahi Ludue?a Comparte tus fotos con tus amigos. M?s f?cil con Windows Live _________________________________________________________________ Descubre todas las formas en que puedes estar en contacto con amigos y familiares. http://www.microsoft.com/windows/windowslive/default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091002/97ca26ca/attachment-0001.htm