<div dir="ltr">Michael,<div><br></div><div>thank you for clarification of fs_path tag's meaning. I guess it is David's use case.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-05 16:45 GMT+02:00 Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>only partially correct here. The main place fs_path is inserted is based on the nat detection settings you configure in freeswitch itself. When we get a registration that's detected behind nat we write down the ip/port the request came from in fs_path before we store the registration, the. when calling that ref we will send the invite to that ip/port</div></div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote"><div>On Thu, Jan 5, 2017 at 7:16 AM Vladyslav Zakhozhai <<a href="mailto:v.zakhozhai@gmail.com" target="_blank">v.zakhozhai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-8280795828194154591gmail_msg">Hi David,<div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">there is no magick with fs_path. fs_path contains value from Path header of a request which comes from sip proxy, i.e. kamailio. It means that replies and SIP requests from freeswitch to UAC will traverse SIP proxy which should be on the path.</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">For example,</div><div class="m_-8280795828194154591gmail_msg">Request: UAC ==> SIP proxy/load balancer ==> freeswitch box</div><div class="m_-8280795828194154591gmail_msg">Reply: freeswitch box ==> SIP proxy/load balancer ==> UAC</div><div class="m_-8280795828194154591gmail_msg">Request (INVITE): freeswitch box ==> SIP proxy/load balancer ==> UAC</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">Without path specified freeswitch will send direct messages to UAC:</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">Request: UAC ==> SIP proxy ==> freeswitch box</div><div class="m_-8280795828194154591gmail_msg">Reply: freeswitch box ==> UAC</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">This behaviour may be undesirable.</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">So SIP proxy inserts itself to Path header and freeswitch recognizes it and add fs_path tag to contact.</div></div><div class="gmail_extra m_-8280795828194154591gmail_msg"></div><div class="gmail_extra m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"><div class="gmail_quote m_-8280795828194154591gmail_msg">2017-01-05 6:14 GMT+02:00 David Villasmil <span class="m_-8280795828194154591gmail_msg"><<a href="mailto:david.villasmil.work@gmail.com" class="m_-8280795828194154591gmail_msg" target="_blank">david.villasmil.work@gmail.<wbr>com</a>></span>:<br class="m_-8280795828194154591gmail_msg"><blockquote class="gmail_quote m_-8280795828194154591gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys,<div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">I've been wondering where the "fs_path" parameter comes from? How is it built, etc? I've been seeing cases where when the client has no "fs_path", fs can't find the user and returns temp unavailable...</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">Thanks all,</div><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div><div class="m_-8280795828194154591gmail_msg">David</div><br><br><br class="m_-8280795828194154591gmail_msg">______________________________<wbr>______________________________<wbr>_____________<br class="m_-8280795828194154591gmail_msg"><br><br>Professional FreeSWITCH Consulting Services:<br class="m_-8280795828194154591gmail_msg"><br><br><a href="mailto:consulting@freeswitch.org" class="m_-8280795828194154591gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_-8280795828194154591gmail_msg"><br><br><br class="m_-8280795828194154591gmail_msg"><br><br>Official FreeSWITCH Sites<br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://www.cluecon.com" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_-8280795828194154591gmail_msg"><br><br><br class="m_-8280795828194154591gmail_msg"><br><br>FreeSWITCH-users mailing list<br class="m_-8280795828194154591gmail_msg"><br><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_-8280795828194154591gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_-8280795828194154591gmail_msg"><br><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_-8280795828194154591gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"></blockquote></div><br class="m_-8280795828194154591gmail_msg"><br clear="all" class="m_-8280795828194154591gmail_msg"><div class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div></div><div class="gmail_extra m_-8280795828194154591gmail_msg">-- <br class="m_-8280795828194154591gmail_msg"><div class="m_-8280795828194154591m_1011808840691959939gmail_signature m_-8280795828194154591gmail_msg" data-smartmail="gmail_signature"><div class="m_-8280795828194154591gmail_msg">С уважением,<br class="m_-8280795828194154591gmail_msg">Владислав Захожай<br class="m_-8280795828194154591gmail_msg"><br class="m_-8280795828194154591gmail_msg"></div></div><br><br></div><br><br>______________________________<wbr>______________________________<wbr>_____________<br class="m_-8280795828194154591gmail_msg"><br>Professional FreeSWITCH Consulting Services:<br class="m_-8280795828194154591gmail_msg"><br><a href="mailto:consulting@freeswitch.org" class="m_-8280795828194154591gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_-8280795828194154591gmail_msg"><br><br class="m_-8280795828194154591gmail_msg"><br>Official FreeSWITCH Sites<br class="m_-8280795828194154591gmail_msg"><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_-8280795828194154591gmail_msg"><br><a href="http://www.cluecon.com" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_-8280795828194154591gmail_msg"><br><br class="m_-8280795828194154591gmail_msg"><br>FreeSWITCH-users mailing list<br class="m_-8280795828194154591gmail_msg"><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_-8280795828194154591gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_-8280795828194154591gmail_msg"><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_-8280795828194154591gmail_msg"><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_-8280795828194154591gmail_msg"><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_-8280795828194154591gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">С уважением,<br>Владислав Захожай<br><br></div></div>
</div>