[Asterisk-Users] play message to callee before connect to incoming call

Robert Goodyear me at jrob.net
Sat Jul 2 11:49:30 MST 2005


On Jul 2, 2005, at 10:23 AM, Roland Zagler wrote:

> Hello,
>
> i try to do the following:
>
> 1) call comes in on extension 999
> 2) caller should hear music (NOT MoH!!!)
> 3) a call should be initiated to SIP Phone 100
> 4) when SIP Phone 100 is answered, a sound file should be played to the
> user at SIP Phone 100
> 5) the incoming call (at extension 999) should be connected to SIP 
> Phone
> 100
>

Rough pseudo-code follows, experiment and report your results to the 
list:

999 dial(SIP/100|20|m(soundfile)A(announcementfile))

OR

999 background(soundfile)
999 dial(SIP/100|20|A(announcementfile))



-- 
Robert Goodyear
Brand Up LLC
http://www.brand-up.com






More information about the asterisk-users mailing list