<p dir="ltr">Any help on this guys?</p>
<br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018, 17:14 David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@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 dir="ltr"><div class="m_8202835370041122341gmail-nH m_8202835370041122341gmail-V8djrc m_8202835370041122341gmail-byY" style="display:flex;padding:20px 0px 8px 64px;color:rgb(32,33,36);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="m_8202835370041122341gmail-nH"><div class="m_8202835370041122341gmail-ha" style="background-image:inherit;background-position:inherit;background-size:inherit;background-repeat:inherit;background-origin:inherit;background-clip:inherit;background-color:transparent;border-right:inherit;color:rgb(34,34,34);font-family:inherit;font-size:1.375rem;margin:0px;padding:0px;line-height:28px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:transparent">Hello guys,</span></div></div></div><div class="m_8202835370041122341gmail-nH m_8202835370041122341gmail-aHU" style="color:rgb(32,33,36);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="m_8202835370041122341gmail-nH m_8202835370041122341gmail-hx" style="background-color:transparent;color:rgb(34,34,34);min-width:502px;padding:0px"><div class="m_8202835370041122341gmail-nH"><div class="m_8202835370041122341gmail-h7 m_8202835370041122341gmail-ie m_8202835370041122341gmail-nH m_8202835370041122341gmail-oy8Mbf" style="clear:both;padding-bottom:0px;max-width:100000px;outline:none"><div class="m_8202835370041122341gmail-Bk" style="margin-bottom:0px;border-width:0px;border-top-style:solid;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-top-color:rgb(239,239,239);border-right-color:initial;border-left-color:initial;border-bottom-color:initial;border-radius:0px;width:595px;float:none"><div class="m_8202835370041122341gmail-G3 m_8202835370041122341gmail-G2 m_8202835370041122341gmail-afm" style="padding-top:0px;background-color:transparent;border-right:0px;border-bottom:0px rgba(100,121,143,0.12);border-left:0px;border-top:none;border-radius:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><div id="m_8202835370041122341gmail-:63n"><div class="m_8202835370041122341gmail-adn m_8202835370041122341gmail-ads" style="border-left:none;padding:0px;display:flex"><div class="m_8202835370041122341gmail-gs" style="margin:0px;padding:0px 0px 20px;width:531px"><div class="m_8202835370041122341gmail-"><div id="m_8202835370041122341gmail-:63k" class="m_8202835370041122341gmail-ii m_8202835370041122341gmail-gt m_8202835370041122341gmail-adO" style="font-size:12.8px;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="m_8202835370041122341gmail-:63l" class="m_8202835370041122341gmail-a3s m_8202835370041122341gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><br></div><div>I have a proxy in front of freeswitch. I want freeswitch to use the proxy for everything including the termination to my provider.</div><div><br></div><div>If I configured the gateway like this:</div><div><br></div><div><div><font face="monospace, monospace"><include></font></div><div><font face="monospace, monospace">  <gateway name="myprovider"></font></div><div><font face="monospace, monospace">    <param name="username" value="username" /></font></div><div><font face="monospace, monospace">    <param name="auth-username" value="username"/></font></div><div><font face="monospace, monospace">    <param name="password" value="password" /><br></font></div><div><font face="monospace, monospace">    <param name="register" value="true"/></font></div><div><font face="monospace, monospace">    <param name="caller-id-in-from" value="true"/></font></div><div><font face="monospace, monospace">    <param name="from-domain" value="<a href="http://myprovider.com/" target="_blank">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="realm" value="<a href="http://myprovider.com/" target="_blank">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="register-proxy" value="<a href="http://myproxy.domain.com/" target="_blank">myproxy.domain.com</a>"/></font></div><div><span style="font-family:monospace,monospace">  </gateway></span><br></div><div><font face="monospace, monospace"></include></font></div></div><div><br></div><div>The registration works properly, the REGISTER goes to the proxy like</div><div><br></div><div><font face="monospace, monospace">REGISTER sip:<a href="http://myprovider.com/" target="_blank">myprovider.com</a>;transport=udp SIP/2.0</font><br></div><div><br></div><div>and the proxy forwards it fine, and registration works great.</div><div>But when i try to call via this gateway, the call goes STRAIGHT to the provider!<br></div><div><br></div><div>If, on the other hand, i configure my gateway as:</div><div><br></div><div><div><font face="monospace, monospace"><include></font></div><div><font face="monospace, monospace">  <gateway name="myprovider"></font></div><div><font face="monospace, monospace">    <param name="username" value="username" /></font></div><div><font face="monospace, monospace">    <param name="auth-username" value="username"/></font></div><div><font face="monospace, monospace">    <param name="password" value="password" /><br></font></div><div><font face="monospace, monospace">    <param name="register" value="true"/></font></div><div><font face="monospace, monospace">    <param name="caller-id-in-from" value="true"/></font></div><div><font face="monospace, monospace">    <param name="from-domain" value="<a href="http://myprovider.com/" target="_blank">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="realm" value="<a href="http://myprovider.com/" target="_blank">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="register-proxy" value="<a href="http://myproxy.domain.com/" target="_blank">myproxy.domain.com</a>"/></font></div><div><font face="monospace, monospace">    <b><param name="proxy" value="<a href="http://myproxy.domain.com/" target="_blank">myproxy.domain.com</a>"/></b></font></div><div><font face="monospace, monospace">  </gateway><br></font></div><div><font face="monospace, monospace"></include></font></div></div><div><br></div><div>Registration does NOT work, because the uri is:</div><div><br></div><div><font face="monospace, monospace">REGISTER sip:<b><a href="http://myproxy.domain.com/" target="_blank">myproxy.domain.com</a></b>;transport=udp SIP/2.0</font><br></div><div><br></div><div>Because there it no registration on that proxy!</div><div><br></div><div><br></div><div>Please help me with this!</div><div class="m_8202835370041122341gmail-yj6qo m_8202835370041122341gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><div id="m_8202835370041122341gmail-:64f" class="m_8202835370041122341gmail-ajR" style="background-color:rgb(232,234,237);border:none;clear:both;line-height:6px;outline:none;width:24px;border-radius:5.5px"><img class="m_8202835370041122341gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="background:url("https://ci5.googleusercontent.com/proxy/PTfyupGlx9mJsetwHhdqrrH5YEhKo3iYtMGathy9BSxsqyJr_4jl4-hiBzV0zr31-uHG6nwS7uda0yc0JW5wrXU7PCRtSZsOr88dBqxGTpnIzUb2q2hdRrf0KP7yCkMd1lELt_mzSQ=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system/1x/more_horiz_black_20dp.png") 50% 50%/20px no-repeat;height:11px;opacity:0.54;width:24px"></div></div></div></div></div></div></div></div><div class="m_8202835370041122341gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><div class="m_8202835370041122341gmail-ajx" style="clear:both"></div></div><div class="m_8202835370041122341gmail-gA m_8202835370041122341gmail-gt m_8202835370041122341gmail-acV" style="font-size:12.8px;padding:0px;width:auto;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-top:none;margin:0px;background:transparent"><div class="m_8202835370041122341gmail-gB m_8202835370041122341gmail-xu" style="border-top:0px;padding:0px"><div class="m_8202835370041122341gmail-ip m_8202835370041122341gmail-iq" style="clear:both;margin:0px;padding:16px 0px;border-top:none"><div id="m_8202835370041122341gmail-:63j"><table class="m_8202835370041122341gmail-cf m_8202835370041122341gmail-wS" style="border-collapse:collapse"><tbody><tr><td class="m_8202835370041122341gmail-amq" style="padding:0px 16px;vertical-align:top;width:44px"><img id="m_8202835370041122341gmail-:0_161" name="m_8202835370041122341_:0" src="https://plus.google.com/u/1/_/focus/photos/public/AIbEiAIAAABDCJauh-KD253CPiILdmNhcmRfcGhvdG8qKGU2NzQzMmZmZDJiNjdjMzMxNmU5OTUwY2QyNDM4ZTZkOGMwYWVjOGUwAWX3K85GhrhrlY4u9DzEPdh2yDdT?sz=32" class="m_8202835370041122341gmail-ajn m_8202835370041122341gmail-bofPge" style="display:block;width:32px;height:32px;border-radius:50%"></td><td class="m_8202835370041122341gmail-amr" style="padding:0px;width:531px"><div class="m_8202835370041122341gmail-nr m_8202835370041122341gmail-wR" style="padding:0px;box-sizing:border-box;border-radius:1px;border:none;margin:0px"><div class="m_8202835370041122341gmail-amn" style="color:inherit;height:auto;padding:0px;display:flex;line-height:20px"><span id="m_8202835370041122341gmail-:63q" class="m_8202835370041122341gmail-ams m_8202835370041122341gmail-bkH" style="border:none;display:inline-flex;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:0.875rem;letter-spacing:0.25px;background:none;border-radius:4px;box-sizing:border-box;color:rgb(95,99,104);height:36px;outline:none;padding:0px 16px 0px 12px;min-width:104px;margin-right:12px">Reply</span><span id="m_8202835370041122341gmail-:63o" class="m_8202835370041122341gmail-ams m_8202835370041122341gmail-bkG" style="border:none;display:inline-flex;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:0.875rem;letter-spacing:0.25px;background:none;border-radius:4px;box-sizing:border-box;color:rgb(95,99,104);height:36px;outline:none;padding:0px 16px 0px 12px;min-width:104px;margin-right:12px">Forward</span></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=5141107a-6fb2-4634-b5c4-439c01c97e30"><font color="#ffffff" size="1">ᐧ</font></div>
</blockquote></div>