Hi, I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080. I I set on sofia: <param name="outbound-proxy" value="10.24.4.151"/> Registrations pass through the OB Proxy, but using, of course, standard 5060 port. I I set on sofia: <param name="outbound-proxy" value="10.24.4.151:5080"/> Param seems to be not understood and registrations go directly to the sip provider. How can I set outbound proxy port? Thanks
Hi Chris,
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.
Can you please tell us; * Are you running against the latest stable version of FS? * Have you tried this against the most recent master? * Can you please pastebin the logs of what happens when you try including a port? Once you've sent this through, we can determine if it's a bug or not. Hope this helps Cal [1] http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c... [2] http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry for resurrecting a very old thread. Has anyone got this working? 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. If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Hi Chris,
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.
Can you please tell us;
* Are you running against the latest stable version of FS? * Have you tried this against the most recent master? * Can you please pastebin the logs of what happens when you try including a port?
Once you've sent this through, we can determine if it's a bug or not.
Hope this helps
Cal
[1] http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c... [2] http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html
On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I haven't seen anyone working on this but id be happy to review patches that address the issue. I wouldn't expect a difference in 1.6 behavior on this issue On Monday, January 4, 2016, Steven Ayre <steveayre@gmail.com> wrote:
Sorry for resurrecting a very old thread. Has anyone got this working?
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.
If no-one has it working, I'll try to reproduce on 1.6 and file a Jira.
On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk <javascript:_e(%7B%7D,'cvml','cal.leeming@simplicitymedialtd.co.uk');>> wrote:
Hi Chris,
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.
Can you please tell us;
* Are you running against the latest stable version of FS? * Have you tried this against the most recent master? * Can you please pastebin the logs of what happens when you try including a port?
Once you've sent this through, we can determine if it's a bug or not.
Hope this helps
Cal
[1] http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c... [2] http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html
On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <chrisbware@yahoo.it <javascript:_e(%7B%7D,'cvml','chrisbware@yahoo.it');>> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Just got it working by using the format "sip:a.b.c.d:port" or "sips:a.b.c.d:port" It looks like there's a difference in the handling of outbound-proxy for a gateway compared to a profile. A gateway prepends sip: if it's missing, while a profile does not. So it seems both the documentation could be improved, and the code could be patched so they use the value consistently as ip:port would presumably work ok for a gateway. That's from a reading of the source code in master, so I would expect 1.6 should have the same behaviour as 1.4.26. On 4 January 2016 at 21:03, Michael Jerris <mike@jerris.com> wrote:
I haven't seen anyone working on this but id be happy to review patches that address the issue. I wouldn't expect a difference in 1.6 behavior on this issue
On Monday, January 4, 2016, Steven Ayre <steveayre@gmail.com> wrote:
Sorry for resurrecting a very old thread. Has anyone got this working?
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.
If no-one has it working, I'll try to reproduce on 1.6 and file a Jira.
On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Hi Chris,
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.
Can you please tell us;
* Are you running against the latest stable version of FS? * Have you tried this against the most recent master? * Can you please pastebin the logs of what happens when you try including a port?
Once you've sent this through, we can determine if it's a bug or not.
Hope this helps
Cal
[1] http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c... [2] http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html
On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
File a JIRA, lets correct the behaviors to be consistent. On Mon, Jan 4, 2016 at 3:14 PM, Steven Ayre <steveayre@gmail.com> wrote:
Just got it working by using the format "sip:a.b.c.d:port" or "sips:a.b.c.d:port"
It looks like there's a difference in the handling of outbound-proxy for a gateway compared to a profile. A gateway prepends sip: if it's missing, while a profile does not. So it seems both the documentation could be improved, and the code could be patched so they use the value consistently as ip:port would presumably work ok for a gateway. That's from a reading of the source code in master, so I would expect 1.6 should have the same behaviour as 1.4.26.
On 4 January 2016 at 21:03, Michael Jerris <mike@jerris.com> wrote:
I haven't seen anyone working on this but id be happy to review patches that address the issue. I wouldn't expect a difference in 1.6 behavior on this issue
On Monday, January 4, 2016, Steven Ayre <steveayre@gmail.com> wrote:
Sorry for resurrecting a very old thread. Has anyone got this working?
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.
If no-one has it working, I'll try to reproduce on 1.6 and file a Jira.
On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Hi Chris,
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.
Can you please tell us;
* Are you running against the latest stable version of FS? * Have you tried this against the most recent master? * Can you please pastebin the logs of what happens when you try including a port?
Once you've sent this through, we can determine if it's a bug or not.
Hope this helps
Cal
[1] http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c... [2] http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html
On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Use register-proxy as well as outbound-proxy. On Sep 26, 2013 9:30 PM, "Chris B. Ware" <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
register-proxy parameter also <param name="register-proxy" value="x.x.x.x" /> On 5 January 2016 at 16:00, Ognjen Seslija <oseslija@gmail.com> wrote:
Use register-proxy as well as outbound-proxy. On Sep 26, 2013 9:30 PM, "Chris B. Ware" <chrisbware@yahoo.it> wrote:
Hi,
I need to send registrations and calls from external profile to a si provider, passing through an outbound proxy, port 5080.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151"/>
Registrations pass through the OB Proxy, but using, of course, standard 5060 port.
I I set on sofia:
<param name="outbound-proxy" value="10.24.4.151:5080"/>
Param seems to be not understood and registrations go directly to the sip provider.
How can I set outbound proxy port?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F <info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
participants (7)
-
Andrew Cassidy
-
Brian West
-
Cal Leeming [Simplicity Media Ltd]
-
Chris B. Ware
-
Michael Jerris
-
Ognjen Seslija
-
Steven Ayre