Change the 1’s to s.  The 1 assumes that you pressed 1 from an IVR/DTMF
selection.

 

  _____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña
Sent: Friday, October 02, 2009 9:53 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Followme

 

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: da...@debsinc.com
To: asterisk-users@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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña
Sent: Friday, October 02, 2009 8:20 AM
To: asterisk-users@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> 

 

  _____  

Diferentes formas de estar en contacto con amigos y familiares. Descúbrelas.
Descúbrelas. <http://www.microsoft.com/windows/windowslive/default.aspx> 

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Reply via email to