<div dir="ltr"><div>Alexandr,<br><br></div><div>I am using the realm and realm is correct. But some providers are using the domain Req URI to be part of their white list of domains. So I want the Req URI/URI in Proxy header to reflect "realm".<br></div><br><pre class="gmail-newpage">INVITE<b> <a href="mailto:sip%3Abob@biloxi.example.com">sip:bob@biloxi.example.com</a></b> SIP/2.0<br></pre><pre class="gmail-newpage"><snip for brevity><br></pre><div><pre class="gmail-newpage">Proxy-Authorization: Digest username="alice",
    realm="<a href="http://atlanta.example.com">atlanta.example.com</a>",
    nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359", opaque="",
<b>    uri="<a href="mailto:sip%3Abob@biloxi.example.com">sip:bob@biloxi.example.com</a>",</b>
    response="42ce3cef44b22f50c6a6071bc8"</pre><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 12:39 AM, Alexandr Popov <span dir="ltr"><<a href="mailto:alexandr.popov@iqoption.com" target="_blank">alexandr.popov@iqoption.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Why not use realm param in gateway?<br></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-10-24 20:04 GMT+03:00 Sharath Kumar <span dir="ltr"><<a href="mailto:shakumarsoftware@gmail.com" target="_blank">shakumarsoftware@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Well, that is an option but I found out that the SIP Authentication breaks with certain providers while using the Proxy param.<br><br></div>- The Request URI in the REG/INV will reflect the Proxy param.<br></div>- The Proxy-Auth headers has a URI parameter that will now have the Request URI ( Proxy param).<br><br></div>Some SIP providers have the Realm/Domain different from the Proxy. So they end up rejecting the request since the domain in the proxy is not in their white list of authenticated hosts.<br><br></div>Eg. Proxy - <a href="http://sip10.voip.xyz.com" target="_blank">sip10.voip.xyz.com</a><br></div>Realm - <a href="http://xyz.com" target="_blank">xyz.com</a> <br><br></div><div>The REG/INV will have the Req URI = sip:<a href="http://sip10.voip.xyz.com" target="_blank">sip10.voip.xyz.com</a> and the Proxy Auth header will also have the same URI. The Providers I know are unwilling to add the Proxy domain <a href="http://sip10.voip.xyz.com" target="_blank">sip10.voip.xyz.com</a> into their white-list of authenticated hosts. They require the Proxy-Auth to have <a href="http://xyz.com" target="_blank">xyz.com</a>.<br></div><div><br></div>I am not sure if I made myself clear ?<br><div><div><br></div><div>Anyway, I managed to set the sip_invite_route_uri as the Proxy. That seemed to work even for gateways.<br><br></div><div>Thank you,<br></div><div>Sharath<br></div><div><div class="gmail-m_-9215766559666601583h5"><div><br><div><div><div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 21, 2017 at 8:05 AM, Aqs Younas <span dir="ltr"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Why not use proxy param in gateway?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_-9215766559666601583m_-1130060880892828506gmail-h5">On 19 Oct 2017 3:11 am, "Sharath Kumar" <<a href="mailto:shakumarsoftware@gmail.com" target="_blank">shakumarsoftware@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_-9215766559666601583m_-1130060880892828506gmail-h5"><div dir="ltr"><div><div>Can we add an fs_path when dialing out via a gateway ? I know this has been asked before and in the archives it has been said to support and also not support fs_path in a gateway. Just wanted to confirm.<br><br></div>thank you,<br></div>Shaks.<br></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></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></div></div></div></div>