<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">If this isn't possible which at this stage I presume is the case, perhaps we could use limit to keep count of the number of calls per extension.
<div><br>
</div>
<div>Then we just need a way for mod_callcenter to check the limit, I've tried using this in the agent contact string but spaces don't appear to be allowed so the contact string ends at hash.</div>
<div><span style="font-size: 10pt;">${cond(${limit_usage(hash mydomain ext)} >= 1 ? error/user_busy : ${sofia_contact(*/ext@mydomain)})}</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Any ideas?</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Thanks,</span></div>
<div><span style="font-size: 10pt;">Shaun</span></div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF723485" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk]<br>
<b>Sent:</b> 06 October 2017 09:22<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> [Freeswitch-users] mod_callcenter - How to skip busy agents not on a mod_callcenter call?<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi All,
<div><br>
</div>
<div>We've been using mod_callcenter and have experienced issues with agents still receiving <span style="font-size:13.3333px">mod_callcenter</span> calls when on outbound or internal calls handled by mod_sofia.</div>
<div><br>
</div>
<div>The issue can be worked around by limiting the number of concurrent calls per extension and\or disabling call waiting but this doesn't solve the problem.</div>
<div><br>
</div>
<div>Is there anyway we can skip busy agents using mod_callcenter when they're not on a <span style="font-size:13.3333px">mod_callcenter</span> call?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Shaun</div>
</div>
<br clear="both">
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
<br clear="both">
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
</div>
</div>
</div>
</div>
<br clear="both">
______________________________________________________________________<BR>
This message has been checked for all known viruses by  MessageLabs Virus Scanning Service.<BR>
______________________________________________________________________<BR>
</body>
</html>