[OpenSIPS-Users] call_center module in Opensips 2.3
Dragomir Haralambiev
goup2010 at gmail.com
Fri Nov 10 09:21:05 EST 2017
Hi,
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 at Opensips_IP:Opensips_port".
Call is connected but I receive follow log message:
ERROR:b2b_entities:b2b_prescript_f: No dialog found, callid=
[B2B.337.5360955.1510320840], method=OPTIONS
When call is finished record from dialog tables is not deleted.
Where is problem?
Regards,
Dragomir
2017-11-06 11:37 GMT+02:00 Răzvan Crainea <razvan at opensips.org>:
> Hi, Hristo!
>
> 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.
>
> 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.
>
> 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.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Developerwww.opensips-solutions.com
>
> On 11/05/2017 11:06 PM, Hristo Donev wrote:
>
> Hello All,
>
> I try to implement call_center module in Opensips 2.3.
> Here are my questions?
>
> 1. From the documentation 1.3.1:
> "b2b_logic" and "database" must be loaded before callcenter module.
>
> I found out that "b2b_entities" should be loaded as well, otherwise the
> opensips does not start.
>
> Is this my mistake or a documentation error?
>
> 2. Opensips can not start if the tables "cc_agents" and "cc_flow" are
> empty.
> Why it cannot start? Should they be populated with some data?
>
> 3. Table "cc_agents", field "location" should point to the SIP agent
> location.
> If the agent's IP and port are changed dynamically -
> how to copy automatically "contact" field from "location" table to
> "cc_agents" field "location"?
>
> I would be grateful to receive a response for my questions.
>
> Thanks in advance,
> Hristo Donev
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171110/9149e798/attachment.html>
More information about the Users
mailing list