<div dir="ltr">Sorry for resurrecting a very old thread. Has anyone got this working?<div><br></div><div>I've just tried this on 1.4.26 and seem to be seeing the same result. With a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel all 9) shows sofia is trying the DNS lookup itself apparently without sending anything to the proxy, which fails as this side of proxy can't resolve the address. With the :port removed so its value is just "a.b.c.d" it shows a different output of trying to send to the proxy which fails with an ICMP error (tport_udp_error) - expected since it tries 5060 instead of the proxy's actual port.</div>
<div><br></div><div>If no-one has it working, I'll try to reproduce on 1.6 and file a Jira.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Chris,<div><br></div><div>From what I can tell, the value from profile->outbound-proxy is passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], which clearly allows for a port to be specified [2]. However, I was unable to find any working examples from others on setting a port value inside outbound-proxy, nor did the documentation reference this.</div>
<div><br></div><div>Can you please tell us;</div><div><br></div><div>* Are you running against the latest stable version of FS?</div><div>* Have you tried this against the most recent master?</div><div>* Can you please pastebin the logs of what happens when you try including a port?</div>
<div><br></div><div>Once you've sent this through, we can determine if it's a bug or not.</div><div><br></div><div>Hope this helps</div><div><br>Cal</div><div><br></div><div>[1] <a href="http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7" target="_blank">http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7</a></div>
<div>[2] <a href="http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html" target="_blank">http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html</a></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <span dir="ltr"><<a href="mailto:chrisbware@yahoo.it" target="_blank">chrisbware@yahoo.it</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Hi,</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br></div>
<div style="font-style:normal;font-size:13.63636302947998px;background-color:transparent;font-family:arial,helvetica,sans-serif">I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.</div>
<div style="font-style:normal;font-size:13.63636302947998px;background-color:transparent;font-family:arial,helvetica,sans-serif"><br></div><div style="font-style:normal;font-size:13.63636302947998px;background-color:transparent;font-family:arial,helvetica,sans-serif">
I I set on sofia:</div><div style="font-style:normal;font-size:13.63636302947998px;background-color:transparent;font-family:arial,helvetica,sans-serif"><br></div><div style="background-color:transparent"><font face="arial, helvetica, sans-serif"> <param name="outbound-proxy" value="10.24.4.151"/></font><br>
</div><div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:'Times New Roman'"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif">
<font face="arial, helvetica, sans-serif">Registrations pass through the OB Proxy, but using, of course, standard 5060 port.</font></div><div style="font-style:normal;font-size:13.63636302947998px;background-color:transparent;font-family:arial,helvetica,sans-serif">
<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.63636302947998px;background-color:transparent">I I set on sofia:</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.63636302947998px;background-color:transparent">
<br></div><div style="background-color:transparent"><font face="arial, helvetica, sans-serif"> <param name="outbound-proxy" value="<a href="http://10.24.4.151:5080" target="_blank">10.24.4.151:5080</a>"/></font></div>
<div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif">
<font face="arial, helvetica, sans-serif">Param seems to be not understood and
registrations go directly to the sip provider.</font></div><div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif"><font face="arial, helvetica, sans-serif"><br>
</font></div><div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif"><font face="arial, helvetica, sans-serif">How can I set outbound proxy port?</font></div>
<div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-style:normal;font-size:12.727272033691406px;background-color:transparent;font-family:arial,helvetica,sans-serif">
<font face="arial, helvetica,
sans-serif">Thanks</font></div></div></div><br></div></div>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<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.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" rel="noreferrer" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" rel="noreferrer" target="_blank">http://wiki.freeswitch.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="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" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>