The Originate packet is used to connect two legs of a call. This
packet does not have all the needed parts:
Channel: Local/1
Context: new-context
Priority: 1
I do something like this:
Action: Originate
Channel: Local/get_i...@cfmc_cdi_private
Exten: do_noop
Context: cfmc_cdi_private
Priority: 1
Variable: CfMC_ActionID=GetInfo
ActionID: GetInfo
Async: true
This dials a local channel and connects the call with another local
channel.
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com/
On Oct 2, 2009, at 8:15 AM, Danny Nicholas wrote:
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-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
Diferentes formas de estar en contacto con amigos y familiares.
Descúbrelas. Descúbrelas.
_______________________________________________
-- 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
_______________________________________________
-- 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