[Asterisk-Users] Play sound on connect
Simone Cittadini
mymailforlists at gmail.com
Sun Sep 25 01:22:46 MST 2005
Mir ha scritto:
>Thanks for your answer.
>This is not what the customer wants, they answer +500 calls a day, and
>dont want to say "Welcome to BigCorp" every time.
>They want a personal welcome file to be played to the caller every
>time they pick up the ringing phone.
>
>
Maybe you can do a quick trick with the L option of dial :
# *L(*x[:y][:z]*)*: Limit the call to 'x' ms, warning when 'y' ms are
left, repeated every 'z' ms) Only 'x' is required, 'y' and 'z' are
optional. The following special variables are optional for limit calls:
(pasted from app_dial.c)
* *LIMIT_PLAYAUDIO_CALLER* - yes|no (default yes) - Play sounds to
the caller.
* *LIMIT_PLAYAUDIO_CALLEE* - yes|no - Play sounds to the callee.
* *LIMIT_TIMEOUT_FILE* - File to play when time is up.
* *LIMIT_CONNECT_FILE* - File to play when call begins.
* *LIMIT_WARNING_FILE* - File to play as warning if 'y' is defined.
If *LIMIT_WARNING_FILE* is not defined, then special sound macro
to auto-say the time left is used ("You have [XX minutes] YY
seconds").
setting x to a very large value, y to something small, z to null,
playing sounds also to the callee, and setting a personalized
*LIMIT_CONNECT_FILE
with a little agi script called before the Dial command ...
*
More information about the asterisk-users
mailing list