<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 "sip:localnumber@Opensips_IP:Opensips_port".</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">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">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">Users@lists.opensips.org</a>
<a class="m_8082184747567676002moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>