[asterisk-users] How to reject an incoming call using AMI ?
Kevin P. Fleming
kpfleming at digium.com
Tue Jan 11 12:11:40 CST 2011
On 01/11/2011 11:50 AM, Olivier wrote:
>
>
> 2011/1/11 Lenz Emilitri <lenz.loway at gmail.com <mailto:lenz.loway at gmail.com>>
>
>
> Why not an unattended transfer to the queue itself, or a different
> queue?
> l.
>
>
> I was afraid that the incoming call could be presented to the same agent
> again.
> Thinking back about it, it seems to fit what I'm after.
If there is a call leg out to the agent that is in 'ringing' state, then
issuing a Hangup on that call leg is not going to affect the call
sitting in the queue waiting for an agent to answer... they are not
connected to each other until the agent answers and the queue
application connects them together. Issuing an AMI Hangup on the call
leg that is ringing the agent's phone is exactly what you want to do.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list