<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Dragomir,<br>
<br>
The Call Center module handles the agents as simple SIP URIs. if
in your case the agents are actually registering devices, this is
a different matter. What I suggest, for simplicity reasons is to
use 2 opensips instances. <br>
<br>
The first to be a dedicated call center seeing the agents as AoRs
(<a class="moz-txt-link-freetext" href="sip:user@domain">sip:user@domain</a>) where the domain points to the IP of the second
server<br>
<br>
The second instance to be simple registrar server for the "domain"
where the agents are registering their devices.<br>
<br>
In terms of call you will have:<br>
<br>
---(call to queue)----> OPENSIPS1 -----(call to agent
user@domain)----> OPENSIPS2 -----(call to registered
device)-----> AGENT DEVICE<br>
<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 11/10/2017 04:21 PM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADzurOLtNv=OAA2sbEyXsdNacFgQ3ut8-nNBNEdzYwwsq3wXrg@mail.gmail.com">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I try your idea to loop the INVITE back to Opensips and do
a lookup(). I pit into "location" field from cc_agents table
this one <a class="moz-txt-link-rfc2396E" href="sip:localnumber@Opensips_IP:Opensips_port">"sip:localnumber@Opensips_IP:Opensips_port"</a>.</div>
<div><br>
</div>
<div>Call is connected but I receive follow log message:</div>
<div><br>
</div>
<div> ERROR:b2b_entities:b2b_prescript_f: No dialog found,
callid= [B2B.337.5360955.1510320840], method=OPTIONS</div>
<div><br>
</div>
<div>When call is finished record from dialog tables is not
deleted. <br>
<br>
Where is problem?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Dragomir</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-11-06 11:37 GMT+02:00 Răzvan
Crainea <span dir="ltr"><<a
href="mailto:razvan@opensips.org" target="_blank"
moz-do-not-send="true">razvan@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi, Hristo!<br>
<br>
1. You are right, b2b_entities should be loaded as a
dependency for b2b_logic. You may argue that it should
also be listed as a dependency to call_center as well,
but indirectly.<br>
<br>
2. Yes, you should populate the tables with the flows
you want to support and the agents that are going to use
the call center.<br>
<br>
3. There is currently no way to directly set the
location of the agent dynamically. However, we can do
some work-arounds, for example always advertise yourself
as the location of the user, and for each call you can
loop the INVITE back to you and do a lookup(). Or simply
use an external registrar service.<br>
<br>
Best regards,<br>
</tt>
<pre class="m_8082184747567676002moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_8082184747567676002moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div class="m_8082184747567676002moz-cite-prefix">On
11/05/2017 11:06 PM, Hristo Donev wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>Hello All,</div>
<div><br>
</div>
<div>I try to implement call_center module in
Opensips 2.3.</div>
<div>Here are my questions?</div>
<div><br>
</div>
<div>1. From the documentation 1.3.1:</div>
<div>"b2b_logic" and "database" must be loaded
before callcenter module.</div>
<div><br>
</div>
<div>I found out that "b2b_entities" should be
loaded as well, otherwise the opensips does not
start.</div>
<div><br>
</div>
<div>Is this my mistake or a documentation error?</div>
<div><br>
</div>
<div>2. Opensips can not start if the tables
"cc_agents" and "cc_flow" are empty.</div>
<div>Why it cannot start? Should they be populated
with some data?</div>
<div><br>
</div>
<div>3. Table "cc_agents", field "location" should
point to the SIP agent location.</div>
<div>If the agent's IP and port are changed
dynamically -</div>
<div>how to copy automatically "contact" field
from "location" table to "cc_agents" field
"location"? </div>
<div><br>
</div>
<div>I would be grateful to receive a response for
my questions.</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Hristo Donev</div>
</div>
<br>
<fieldset
class="m_8082184747567676002mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_8082184747567676002moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_8082184747567676002moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>