[Asterisk-Users] Running applications when a queued call
isanswered
Scott Gifford
sgifford at suspectclass.com
Wed May 3 17:31:34 MST 2006
"Alexander Lopez" <Alex.Lopez at OpSys.com> writes:
>>From the queues.com file.
[...]
> ;announce = queue-markq
>
>
> This allows you to have one announcement per queue, You could use a
> script to change the file, but it does not lock the file so if you
> change it while it is being read the other person (agent) hears the
> change
Yup, I saw this.
> Do you want a dynamic message played to each agent before he picks up??
Yes. I'd like to do something like:
Ringing()
SendURL(http://example.com/${EXTEN}.html)
SayDigits(${EXTEN})
Wait(5)
That's close to what you suggest, but Asterisk on its own announces
first then sends the URL with no wait, so the agent is left scrambling
to see who the call is for as the Web page and the call come at the
same time. Also SayDigits() sounds much nicer than what I can get
with Festival creating a WAV file.
> That can also be done, but it is not as simple.
If you could point me in the right direction, that would be very
helpful; I don't expect any handholding, but I'm not seeing how to get
ahold of the channel to the agent after they've answered but before
the caller is transferred there.
Thanks! By the way, your first message did answer my original
question, but I've learned more about Asterisk in the meantime and my
expectations have gone up. :-)
----Scott.
More information about the asterisk-users
mailing list