[Asterisk-Dev] Bug in app_queue/AgentCallbackLogin

Brian Roy b.t.roy at brianandkelly.ws
Thu Oct 14 19:40:20 MST 2004


It has to do the hangup because it off-hooks the POTS channel to check
for tone. That is why you have to have a short (1-2 Sec) wait in your
dial plan after the ChanIsAvail before the dial.

Brian Roy

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Michael
Loftis
Sent: Thursday, October 14, 2004 6:36 PM
To: Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Bug in app_queue/AgentCallbackLogin

Further tracking it down I've found ChanIsAvail calls
ast_hangup()....why 
does it do this when it never calls/rings the channel?  I see the 
ast_request() call, and that's what it's ast_hangup()ing  That seems to
be 
the source of the problem, it needs to be doing something else for
Agents 
(possibly other channels?)

I don't know enough yet about the * API to say if this is right or not
but 
it seems wrong to me, or atleast makes for some wrong behaviour in 
app_queue's hangup call.

So which app's fault is this?  ChanIsAvail or the ast_hangup inside the 
Queue app?
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list