<div dir="auto"><div>Try with outbound-proxy param instead of proxy.</div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Mon, Sep 24, 2018, 22:06 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_1435058045776417611gmail-nH m_1435058045776417611gmail-V8djrc m_1435058045776417611gmail-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_1435058045776417611gmail-nH"><div class="m_1435058045776417611gmail-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_1435058045776417611gmail-nH m_1435058045776417611gmail-aHU" style="color:rgb(32,33,36);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="m_1435058045776417611gmail-nH m_1435058045776417611gmail-hx" style="background-color:transparent;color:rgb(34,34,34);min-width:502px;padding:0px"><div class="m_1435058045776417611gmail-nH"><div class="m_1435058045776417611gmail-h7 m_1435058045776417611gmail-ie m_1435058045776417611gmail-nH m_1435058045776417611gmail-oy8Mbf" style="clear:both;padding-bottom:0px;max-width:100000px;outline:none"><div class="m_1435058045776417611gmail-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_1435058045776417611gmail-G3 m_1435058045776417611gmail-G2 m_1435058045776417611gmail-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_1435058045776417611gmail-:63n"><div class="m_1435058045776417611gmail-adn m_1435058045776417611gmail-ads" style="border-left:none;padding:0px;display:flex"><div class="m_1435058045776417611gmail-gs" style="margin:0px;padding:0px 0px 20px;width:531px"><div class="m_1435058045776417611gmail-"><div id="m_1435058045776417611gmail-:63k" class="m_1435058045776417611gmail-ii m_1435058045776417611gmail-gt m_1435058045776417611gmail-adO" style="font-size:12.8px;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="m_1435058045776417611gmail-:63l" class="m_1435058045776417611gmail-a3s m_1435058045776417611gmail-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" rel="noreferrer">myprovider.com</a>"/></font></div><div><font face="monospace, monospace"> <param name="realm" value="<a href="http://myprovider.com/" target="_blank" rel="noreferrer">myprovider.com</a>"/></font></div><div><font face="monospace, monospace"> <param name="register-proxy" value="<a href="http://myproxy.domain.com/" target="_blank" rel="noreferrer">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" rel="noreferrer">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" rel="noreferrer">myprovider.com</a>"/></font></div><div><font face="monospace, monospace"> <param name="realm" value="<a href="http://myprovider.com/" target="_blank" rel="noreferrer">myprovider.com</a>"/></font></div><div><font face="monospace, monospace"> <param name="register-proxy" value="<a href="http://myproxy.domain.com/" target="_blank" rel="noreferrer">myproxy.domain.com</a>"/></font></div><div><font face="monospace, monospace"> <b><param name="proxy" value="<a href="http://myproxy.domain.com/" target="_blank" rel="noreferrer">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" rel="noreferrer">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_1435058045776417611gmail-yj6qo m_1435058045776417611gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><div id="m_1435058045776417611gmail-:64f" class="m_1435058045776417611gmail-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_1435058045776417611gmail-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_1435058045776417611gmail-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_1435058045776417611gmail-ajx" style="clear:both"></div></div><div class="m_1435058045776417611gmail-gA m_1435058045776417611gmail-gt m_1435058045776417611gmail-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_1435058045776417611gmail-gB m_1435058045776417611gmail-xu" style="border-top:0px;padding:0px"><div class="m_1435058045776417611gmail-ip m_1435058045776417611gmail-iq" style="clear:both;margin:0px;padding:16px 0px;border-top:none"><div id="m_1435058045776417611gmail-:63j"><table class="m_1435058045776417611gmail-cf m_1435058045776417611gmail-wS" style="border-collapse:collapse"><tbody><tr><td class="m_1435058045776417611gmail-amq" style="padding:0px 16px;vertical-align:top;width:44px"><img id="m_1435058045776417611gmail-:0_161" name="m_1435058045776417611_:0" src="https://plus.google.com/u/1/_/focus/photos/public/AIbEiAIAAABDCJauh-KD253CPiILdmNhcmRfcGhvdG8qKGU2NzQzMmZmZDJiNjdjMzMxNmU5OTUwY2QyNDM4ZTZkOGMwYWVjOGUwAWX3K85GhrhrlY4u9DzEPdh2yDdT?sz=32" class="m_1435058045776417611gmail-ajn m_1435058045776417611gmail-bofPge" style="display:block;width:32px;height:32px;border-radius:50%"></td><td class="m_1435058045776417611gmail-amr" style="padding:0px;width:531px"><div class="m_1435058045776417611gmail-nr m_1435058045776417611gmail-wR" style="padding:0px;box-sizing:border-box;border-radius:1px;border:none;margin:0px"><div class="m_1435058045776417611gmail-amn" style="color:inherit;height:auto;padding:0px;display:flex;line-height:20px"><span id="m_1435058045776417611gmail-:63q" class="m_1435058045776417611gmail-ams m_1435058045776417611gmail-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_1435058045776417611gmail-:63o" class="m_1435058045776417611gmail-ams m_1435058045776417611gmail-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>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div></div>