[Asterisk-Dev] Re: AgentCallbackLogin, 1.2-beta1 issues

alan alan at pair.com
Tue Sep 13 07:55:08 MST 2005


"Kevin P. Fleming" <kpfleming at digium.com> wrote:

> alan wrote:
>
> > This could easily be fixed in action_agent_callback_login by resetting
> > the old AGENTBYCALLERID variable prior to logging in. Just test for
> > !ast_strlen_zero(p->loginchan) prior to setting p->loginchan, and if so,
> > null out p->loginchan and call set_agentbycallerid(p).
>
> We already addressed this when it was reported in Mantis a few weeks
> ago; does that solution not work for you?

(This is Mantis bug 4616, from what I can tell, and these changes are
included in 1.2.0-beta1.)

The changes made for this bug fix a related issue, but not the exact
problem I am having.

My issue is not when an agent logs out or is logged out automatically:
that works correctly since bug 4616 was completed.

The remaining problem is, if an agent never logs out at all, but calls
AgentCallbackLogin again at a new extension when they are already
logged in, AGENTBYCALLERID is not reset for the old extension they were
logged in to.

Thanks, I hope this clarifies things.

Alan Ferrency
pair Networks, Inc.
alan at pair.com



More information about the asterisk-dev mailing list