Look at option A(x) on this page:-

A(x): Play an announcement (x.gsm) to the called party.

http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

Dial(SIP/111111,mA(soundfile))


From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mickael MONSIEUR
Sent: 26 April 2010 11:22
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: t...@zilok.com
Subject: [asterisk-users] play a sound from the callee before putting it in 
connection.

Hello !
I want to call a line and play a sound from the callee before putting it in 
connection with the caller. Is this possible?

Example:

Dial(SIP/111111, m) // Ring or Music...
if(call==ANSWERED) Play(announce) // Play 'announce' to the called
// To connect caller and called ?


Best regards,
Mickael.

-- 
_____________________________________________________________________
-- 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

Reply via email to