On Sun, May 16, 2010 at 07:15:50AM -0700, Bruce Ferrell wrote:
> I'm trying to make an AMI call. I want to call a number, play an
> announcement when the call is answered, then call a second number and
> connect the two when the second call is answered.
>
> I an able to make a simple call to two numbers and connect them using
> the manager API but playing the announcement has me beat.
Isn't it simple? What am I missing?
Action: Originate
Channel: $channel_for_first_number
Context: whatever
Extension: $second_number
...
[whatever]
exten=> _X.,1,Playback(an-announcement)
exten=> _X.,n,Dial(${some_trunk}/${EXTEN})
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users