On Wed, 23 Feb 2011, Danny Nicholas wrote:


____________________________________________________________________________________________________________________________________________________________


From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa
Sent: Wednesday, February 23, 2011 12:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] REFER and dialplan broken (as documented 
inchan_sip.c on line 11951)

 

I recognize all the options given yet as I explained before they are not 
viable. I do not have the resources to pay someone, I do not have the expertise 
to
fix this issue because according to an asterisk developer "any fix in that area 
would be deeply architectural in nature"... what other options are there?

 

<snip>

From what I see, the “source fix” on the Asterisk level would indeed be a major 
undertaking.  But since you are using an AGI to control the Queue command
instead of using it from the dialplan, you have more control over this problem 
than you realize.  For simplicity of illustration, let’s say your AGI simply
wants to take a call and send it to the next agent in the queue. Your Agents 
are Agent007, AgentQ and AgentM.  Because you did the Polycom transfer from
Agent007 to pussygalore, Agent007 is marked as busy in the queue although the 
call is no longer active for 007. One possible workaround would be to have a
duplicate “bail queue” set up the same way.  If my AGI does a “core show 
channels” and sees that 007 is not on the phone, I can do queue(bail) instead of
queue(normal).

 


Watch out for race conditions doing things like this...

j
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to