[SR-Users] add_path() and save()

אורן אברהם oren.av.jnk at gmail.com
Thu May 23 23:32:40 CEST 2013


does it mean that when using websockets - so the web uac don't know its ip
and port, i need to make 2 kamailio servers ? one as an outbound and one as
a registrar, or can i combine them in some way ?


2013/5/23 אורן אברהם <oren.av.jnk at gmail.com>

> Im using Websockets and i need add_path() and save() on the same server...
>
>
>
>
> 2013/5/23 Olle E. Johansson <oej at edvina.net>
>
>>
>> 23 maj 2013 kl. 17:49 skrev אורן אברהם <oren.av.jnk at gmail.com>:
>>
>> > Dear list.
>> >
>> > when using registrar module with path support does the following code
>> work:
>> > add_path();
>> > save();
>> >
>> > or maybe the path is added only for outgouing messages and the save()
>> won't be affected ?
>> When using path, one proxy runs add_path before relaying to the
>> registrar, which save()'s
>> the registration. The path is then used for a new request to find the
>> proper proxy.
>>
>> Let's say you have one edge proxy on the Internet and one on the internal
>> network.
>> The registrar will by saving the path added by each edge proxy know the
>> way back
>> to the clients on the two different networks.
>>
>> Using path and save() on the same server doesn't add much - you already
>> have all the information.
>>
>> Or?
>>
>> /O
>>
>>
>> _______________________________________________
>> 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/20130524/a8757450/attachment.html>


More information about the sr-users mailing list