[asterisk-users] Transfers on AgentLogin()

James Sneeringer jsneerin at gmail.com
Fri Sep 5 21:57:15 CDT 2008


Since AgentLogin() essentially keeps a channel to the agent open all
the time, a normal SIP transfer will do exactly as you say. That is,
it will try to send the agent's login session into queue, which isn't
what you want.

As Matt suggested, you need to pass the "t" option to the Queue()
application. This will let your agents perform a DTMF transfer using
the codes defined in features.conf. The agent basically dials a short
code while talking to the caller. Asterisk intercepts it, and then
prompts the agent for the extension to transfer the call to. Look in
features.conf for more information.

Fair warning, I have never needed to use this feature, so I can't
attest to exactly how it behaves. We use dynamic agent logins, so
we've never had to deal with AgentLogin(). This allows us to do normal
SIP transfers.

Also, you will probably have to do one of two things in your sip.conf.
One, set "canreinvite" to "no" to keep Asterisk in the call path, that
way it can intercept the DTMF tones. Or, two, set "dtmfmode" to
"info", so that DTMF tones are converted to SIP INFO messages, which
Asterisk will see.

At least, that's how I think it works. :)

-James


On Sun, Aug 31, 2008 at 3:15 PM, Mark Hamilton <mark.h at cage151.com> wrote:
> I've tried the regular, xfer button on xlite, dial 100 (to transfer to the
> queue), and hit go back to line 1 and hit xfer again. But it's AgentLogin(),
> so it transfers the full persistent connection to the queue instead of the
> call itself and this causes the transferring agent to logout.
>
> Either that, or I'm doing something wrong. There is no documentation out
> there so I don't know how it would work for AgentLogin().
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell
> Sent: August 30, 2008 6:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Transfers on AgentLogin()
>
> What did you try and how did it fail? Are you using the t option in queue?
>



More information about the asterisk-users mailing list