<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>Thank you for your help!<br><br></div>In my case i have 2 servers: 192.168.100.1 & 192.168.100.2<br></div>Both of this servers have one domain name <a href="http://voip.bla.com" target="_blank">voip.bla.com</a><br><br></div><div>No load-balancer is used.<br></div><div><br></div>I can register to any of this server with user <a href="mailto:100@voip.bla.com" target="_blank">100@voip.bla.com</a> and <a href="mailto:200@voip.bla.com" target="_blank">200@voip.bla.com</a><br><br></div>Call is failing when I'm trying to call from <a href="mailto:100@voip.bla.com" target="_blank">100@voip.bla.com</a> to <a href="mailto:200@voip.bla.com" target="_blank">200@voip.bla.com</a>, when user <a href="mailto:100@voip.bla.com">100@voip.bla.com</a> registered to 192.168.100.1 and <a href="mailto:200@voip.bla.com">200@voip.bla.com</a> registered to 192.168.100.2.<br><br></div><div>As far as I understood I need to add path header.<br><br></div><div>Could you please let me know where exactly I need to add path header? I'm using default config, with almost no changes.<br><br></div><div>Additionally it is little bit confusing about parameters what I should add.<br><br></div><div>Should I add following parameters to config file or not?<br><br>modparam("usrloc", "matching_mode", 1)<br>modparam("registrar", "use_path", 1)<br><br></div><div>Thank you!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-20 16:31 GMT+03:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday 20 July 2015 16:02:00 Jurijs Ivolga wrote:<br>
> But could you please provide more info?<br>
><br>
> Should I add add_path() before if (!save("location"))?<br>
<br>
Path is a module you can use for user lookups/registration<br>
<a href="http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.matching_mode" rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.matching_mode</a><br>
<a href="http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.use_path" rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.use_path</a><br>
<br>
Depending on how you register on a registrater server you'll need to add the<br>
Path header (in my previuos supplied URL, clients which register directly to a<br>
register server don't have any Path headers, so I added them manually (because<br>
add_path doesn't work in that place/time of routing/handling). If you are<br>
using a loadbalancer that adds Path headers then ofcourse adding Path headers<br>
before save() isn't neccessary.<br>
<br>
My guess is your question is kind of the same as the one I asked (I don't know<br>
what Kazoo is/does):<br>
<a href="http://lists.sip-router.org/pipermail/sr-users/2015-April/087867.html" rel="noreferrer" target="_blank">http://lists.sip-router.org/pipermail/sr-users/2015-April/087867.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
<br>
Telefoon: 088 0100 700<br>
Sales: <a href="mailto:sales@pocos.nl">sales@pocos.nl</a> | Service: <a href="mailto:servicedesk@pocos.nl">servicedesk@pocos.nl</a><br>
<a href="http://www.pocos.nl/" rel="noreferrer" target="_blank">http://www.pocos.nl/</a> | Croy 9c, 5653 LC Eindhoven | Kamer van Koophandel<br>
17097024<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</font></span></blockquote></div><br></div>