[Freeswitch-users] outbound proxy and port

Luke Milbourne luke.milbourne at gmail.com
Fri Jan 8 19:58:31 MSK 2016


https://freeswitch.org/jira/browse/FS-8715 has been created and could be
used?


On 5 January 2016 at 17:04, <freeswitch-users-request at lists.freeswitch.org>
wrote:

> Send FreeSWITCH-users mailing list submissions to
>         freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
>         freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
>         freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
>
> Today's Topics:
>
>    1. Re: dtmf problems when using flowroute (Russell Treleaven)
>    2. Re: outbound proxy and port (Andrew Cassidy)
>    3. Re: outbound proxy and port (Brian West)
>
>
> ---------- Forwarded message ----------
> From: Russell Treleaven <rtreleaven at bunnykick.ca>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 5 Jan 2016 11:22:12 -0500
> Subject: Re: [Freeswitch-users] dtmf problems when using flowroute
> look at the sdp, there was an issue with dtmf and sample rate not being
> 8000.
>
> On Tue, Jan 5, 2016 at 11:18 AM, <covici at ccs.covici.com> wrote:
>
>> Hi.  I am having dtmf problems when calling numbers via flowroute.  They
>> seem not to detect the dtmf at all.  I am using 2833 in all cases.  Have
>> you done anything in say the last 4 or 5 months which might be related?
>> I am not having these problems when using another carrier, so I am quite
>> puzzled.
>>
>> Thanks in advance for any suggestions.
>>
>> --
>> Your life is like a penny.  You're going to lose it.  The question is:
>> How do
>> you spend it?
>>
>>          John Covici
>>          covici at ccs.covici.com
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> ---------- Forwarded message ----------
> From: Andrew Cassidy <andrew at cassidywebservices.co.uk>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 5 Jan 2016 16:55:37 +0000
> Subject: Re: [Freeswitch-users] outbound proxy and port
> register-proxy parameter also
>
> <param name="register-proxy" value="x.x.x.x" />
>
> On 5 January 2016 at 16:00, Ognjen Seslija <oseslija at gmail.com> wrote:
>
>> Use register-proxy as well as outbound-proxy.
>> On Sep 26, 2013 9:30 PM, "Chris B. Ware" <chrisbware at 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 at 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 at 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 at 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 at 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 at cassidywebservices.co.uk> *03300 100 960  *F
> <info at cassidywebservices.co.uk> *03300 100 961
> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>
>
> ---------- Forwarded message ----------
> From: Brian West <brian at freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 5 Jan 2016 11:04:10 -0600
> Subject: Re: [Freeswitch-users] outbound proxy and port
> File a JIRA, lets correct the behaviors to be consistent.
>
> On Mon, Jan 4, 2016 at 3:14 PM, Steven Ayre <steveayre at 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 at 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 at 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 at 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_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7
>>>>> [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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Luke Milbourne
<luke.milbourne at gmail.com>

Tel: 07857154817
Google Talk/Email: luke.milbourne at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160108/624f52ee/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list