[asterisk-users] Followme
    Danny Nicholas 
    danny at debsinc.com
       
    Fri Oct  2 10:15:45 CDT 2009
    
    
  
The 1 (1,1; 1,2; 1,3) needs to be s (s,1; s,2; s,3).  It works for me with
that change
 
  _____  
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 9:53 AM
To: asterisk-users at 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: 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
<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> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091002/95097689/attachment.htm 
    
    
More information about the asterisk-users
mailing list