I want to play soft music in the background while the IVR passes
through various contexts.
In short, I need to mix the script with music and my pre-staged .gsm
or .wav audio.
What tools to I need to use in Asterisk to make this happen please?

exten => s,1,Answer()
;exten => s,n,system(echo "${DATETIME} - ${CALLERID(all)} -
${CHANNEL}" >> /var/log/asterisk/calls)
;exten => s,n,System(echo "body of message" | mail -s "subject line"
${the_caller_...@txt.att.net)
exten => s,n,Background(dir-welcome)
exten => 
s,n,Background(/var/lib/asterisk/sounds/en/baseline_introduction_script.gsm)
exten => s,n,Background(astcc-please-enter-your)
exten => s,n,Background(zip-code)
exten => s,n,Read(NUMBER,,5)

so, play music behind (dir-welcome),
/var/lib/asterisk/sounds/en/baseline_introduction_script.gsm,
(astcc-please-enter-your) and (zip-code).

Send solutions please.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to