[asterisk-users] OK, I'm stumped

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun May 16 09:37:11 CDT 2010


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:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list