[SR-Users] Kamailio Cluster

Yuriy Gorlichenko ovoshlook at gmail.com
Mon Feb 1 10:13:12 CET 2016


Also one of the most siplies ways to resolve your issue is using queries at
the databases that select needed fields from db with (where
socket="<your_local_socket>").


2016-02-01 11:43 GMT+03:00 Gholamreza Sabery <gr.sabery at gmail.com>:

> All right. Thank you so much.
>
> On Mon, Feb 1, 2016 at 11:47 AM, Federico Cabiddu <
> federico.cabiddu at gmail.com> wrote:
>
>> Hi,
>> a solution in this case could be making usage of Path header (
>> https://tools.ietf.org/html/rfc3327).
>>
>> You have to load the path module
>>
>> http://www.kamailio.org/docs/modules/devel/modules/path.html
>>
>> and enabled its usage in registrar module
>>
>>
>> http://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.use_path
>>
>> If you plan to use REGISTER replication through t_replicate() just call
>> add_path() before replicating the message to the other server(s).
>> If you use a shared database with db_mode = 3, call msg_apply_changes (
>> http://www.kamailio.org/docs/modules/devel/modules/textopsx.html#textopsx.f.msg_apply_changes)
>> before saving the contact. In this case also be sure to set
>> path_check_local parametr of the registrar module (
>> http://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.path_check_local)
>> to 1.
>>
>> Cheers,
>>
>> Federico
>>
>> On Mon, Feb 1, 2016 at 9:10 AM, Jurijs Ivolga <jurij.ivo at gmail.com>
>> wrote:
>>
>>> Hi Alex,
>>>
>>> You are right. :)
>>>
>>> With kind regards,
>>>
>>> 2016-02-01 10:09 GMT+02:00 Alex Balashov <abalashov at evaristesys.com>:
>>>
>>>> On 02/01/2016 02:59 AM, Jurijs Ivolga wrote:
>>>>
>>>> I think you need to make record routing, so it will keep initial(to what
>>>>> user registered) Kamailio in signaling path.
>>>>>
>>>>
>>>> Ah, no. Record-Route is for INVITEs only. You're thinking of Path.
>>>>
>>>> --
>>>> Alex Balashov | Principal | Evariste Systems LLC
>>>> 303 Perimeter Center North, Suite 300
>>>> Atlanta, GA 30346
>>>> United States
>>>>
>>>> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
>>>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>
>>>
>>>
>>> --
>>> Jurijs
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160201/8b6116f9/attachment.html>


More information about the sr-users mailing list