[OpenSIPS-Users] call_center module in Opensips 2.3
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Nov 17 04:09:35 EST 2017
Hi Dragomir,
There is a difference between a Call Center service and the Call Center
module - the Call Center module in OpenSIPs is a call queuing with
distribution.
And I didn't mention adding more servers, I said to use 2 different
opensips instances (on same server, different port), just for a better
script separation and to simplify your work. Of course, you can still do
it with a single instance, as Razvan suggested, if you have some good
scripting skills.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 11/16/2017 04:57 PM, Dragomir Haralambiev wrote:
> Hi Bogdan,
>
> Thanks for your replay.
>
> When speek about callcenter service I think the basic functionality
> must be: outgoing calls, incoming calls, voice recording and
> transcoding (change the voice codec).
>
> How to solve this case?
> We have the option to choose one of the following two solutions.
>
> 1. Increase the number of servers (what you offer).
>
> To do this I must to add other one server(service) for recording and
> transcoding like Asterisk or Freeswitch.
>
> Opensips_1 <-----> Opensips_2 <------> Asterisk or FreeSwitch
>
> Total Efficiency =
> Efficiency(Opensips_1).Efficiency(Opensips_2).Efficiency(Asterisk)=0,9
> . 0,9 . 0,9 =0.72 (72%).
>
> This shows theoretically that a horizontal increase in servers will
> result in a loss of 25% working capacity.
>
> 2. To use one server (service) to solve this case.
>
> Until now I have been using Opensipts, but he can not solve these
> problems.
> Unfortunately I have to use Asterisk or Freeswich for callcenter service.
>
> Best regards,
> Dragomir
>
> 2017-11-16 14:10 GMT+02:00 Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>>:
>
> Dragomir,
>
> 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.
>
> The first to be a dedicated call center seeing the agents as AoRs
> (sip:user at domain) where the domain points to the IP of the second
> server
>
> The second instance to be simple registrar server for the "domain"
> where the agents are registering their devices.
>
> In terms of call you will have:
>
> ---(call to queue)----> OPENSIPS1 -----(call to agent
> user at domain)----> OPENSIPS2 -----(call to registered device)----->
> AGENT DEVICE
>
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> On 11/10/2017 04:21 PM, Dragomir Haralambiev wrote:
>> 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
>> <mailto: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 Developer
>> www.opensips-solutions.com <http://www.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 list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171117/feb48e67/attachment.html>
More information about the Users
mailing list