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).
------=_NextPart_000_0114_01CBD359.02A0E500
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html;
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<div>
<div class=3DMsoNormal align=3Dcenter
style=3D'text-align:center'><font size=3D3
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=3D2
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'> asterisk-users-bounces
at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] <b><span
style=3D'font-weight:
bold'>On Behalf Of </span></b>vip killa<br>
<b><span
style=3D'font-weight:bold'>Sent:</span></b> Wednesday,
February 23, 2011
12:44 PM<br>
<b><span
style=3D'font-weight:bold'>To:</span></b>
<st1:PersonName w:st=3D"on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span
style=3D'font-weight:bold'>Subject:</span></b> Re:
[asterisk-users]
REFER and dialplan broken (as documented inchan_sip.c on line
11951)</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'>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?<o:p></o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'><snip><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'>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).<o:p></o:p></span></font></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New
Roman"><span style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>
------=_NextPart_000_0114_01CBD359.02A0E500--