<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><hr id="stopSpelling">From: tjrlist@live.com<br>To: asterisk-users@lists.digium.com<br>Date: Thu, 1 Aug 2013 12:50:32 -0500<br>Subject: [asterisk-users] Local agent/member in-use after transfer<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">I currently have all agents/members logged in with local channels. When a call is sent to one of the agents, then the agent transfers the call out the line frees up on their phone but still shows in-use until the call that was transferred is hung up.<div><br></div><div>How can I free up the agent/local channel when the call is transferred?</div><div><br></div><div>This is a huge problem because the agent can no longer receive calls on their extension. If they are the only agent logged in, then no other calls can be answered. If the transferred calls last an hour then no calls can be answered by this agent for an hour.</div><div><br></div><div>I know I can set ringinuse=yes but this causes the agent to be interrupted while on calls which is not the desired result.</div>                                            </div>
<br>--
_____________________________________________________________________
-- 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</div><div><br></div><div><br></div><div>I found a solution and wanted to post it for those that may run into this trouble in the future.</div><div><br></div><div>I use the manager interface to login my agents using a web page.</div><div><br></div><div>After much digging I finally found the StateInterface: option available in 1.6 and above. I added it to my PHP login screen like this..</div><div><br></div><div>fputs($socket2, "StateInterface: SIP/".$agentid."\r\n");</div><div><br></div><div>The problem is that the queue was monitoring the local channel in terms of when a call was hungup or not, allowing other calls to come through.</div><div><br></div><div>When a transfer happened the Local channel was not released.</div><div><br></div><div>Adding the StateInterface option apparently allows the queue to monitor the actual channel, not the local channel. I couldn't find much documentation on this option, just stumbled upon it.</div><div><br></div><div>Fixed my issue though! Thought I would add to the little info that seems to be out there about this option.</div>                                            </div></body>
</html>