[OpenSIPS-Users] LoadBalance - Share resource count between group
Mike Tesliuk
mike at brdsoft.com.br
Fri Jul 3 13:02:27 CEST 2015
[root at sipproxy1-R3 ~]# opensipsctl fifo list_all_profiles
lbX41:: 1
lbX31:: 1
lbX21:: 1
lbX20:: 1
On 03/07/15 05:09, Bogdan-Andrei Iancu wrote:
> Hi Mike,
>
> Could you do a list_all_profiles MI command:
> http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id297069
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 03.07.2015 06:10, Mike Tesliuk wrote:
>>
>> Hello Bogdan,
>>
>> seems that the share is not working as you can see below
>>
>> Destination:: sip:177.43.X07.XX6:5060 id=33 group=2 enabled=yes
>> auto-re=on
>> Resource:: 41 max=42 load=0
>> Resource:: 31 max=75 load=0
>> Resource:: 21 max=64 load=0
>> Resource:: 20 max=112 load=0
>> Destination:: sip:177.43.X07.XX6:5060 id=13 group=1 enabled=yes
>> auto-re=on
>> Resource:: 41 max=42 load=1
>> Resource:: 31 max=75 load=0
>> Resource:: 21 max=64 load=0
>> Resource:: 20 max=112 load=0
>>
>>
>> i try to add the /s on the end of the resource name (41 is a gsm
>> carrier identification, so i try 41/s=42 ) but when i add this the
>> gateways dos not show on lb_list anymore.
>>
>> Im using on this gateway an old 1.9 version [ Server:: OpenSIPS
>> (1.9.1-notls (x86_64/linux)) ]
>>
>> i can update if neede as this is a new equipment, but i had made this
>> instalation a year ago, so this is why im using version 1.9
>>
>> Thank you.
>>
>>
>>
>> On 02/07/15 10:47, Bogdan-Andrei Iancu wrote:
>>> Hi Mike,
>>>
>>>
>>> The dialog profiles (used for counting the calls) are internally
>>> build using the resource name and the IP of the destination. So, if
>>> same destination (as IP) , same resource name, in different rows,
>>> for different groups, the same profile should be used in both cases
>>> (it will be shared). I say "should" as I never tried this case, but
>>> looking at the code it should share the load.
>>> Just give it a try and let me know ;)
>>>
>>> Best regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>>
>>> On 02.07.2015 02:57, Mike Tesliuk wrote:
>>>> Hello all,
>>>>
>>>> Is that possible to share the count between two diferent groups on
>>>> loadbalance ?
>>>>
>>>> I will have the same sip-uri but i need diferent groups because i
>>>> need to use diferent gateways according with the originator, one
>>>> originator can have two gateways, the other can have just one, but
>>>> the resources need to be visible between groups.
>>>>
>>>> Is that possible ?
>>>>
>>>> Thank you.
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>
>>
>>
>
--
More information about the Users
mailing list