[Freeswitch-users] RTP NAT No Audio on EC2

Luke Milbourne luke.milbourne at gmail.com
Fri Dec 19 13:10:48 MSK 2014


Yeah still here, haven't shook the FreeSWITCH/VoIP addiction just yet :).
Merry Christmas to you too (and everyone else there).

Most of the problems I've come across have been solved by ensuring there is
no SIP ALG in the way and then use STUN if there is still a problem.

Hope it helps, all the best.
Luke

On 19 December 2014 at 09:40, <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: RTP NAT No Audio on EC2 (Callum Guy)
>
>
> ---------- Forwarded message ----------
> From: Callum Guy <callum.guy at x-on.co.uk>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Fri, 19 Dec 2014 09:40:22 +0000
> Subject: Re: [Freeswitch-users] RTP NAT No Audio on EC2
> Hello Luke - didn't expect you to pop up - hope all is going well for you!
> Merry Xmas
>
> Cool thanks guys, i'll have a read. I do have a general understanding of
> NAT but i'm not able to recognise whether an issue is due to my box
> configuration or something natty just from looking at a trace - maybe i'm
> hoping for too much! You know, if my wireshark trace is showing RTP being
> initialised to a remote internal IP i'm assuming that means its not
> correct... Maybe its a case of Jack of all trades!
>
> ______________________________
>
> Callum Guy
>
> X-on
> Framlingham Technology Centre
> Station Road, Framlingham,
> Suffolk, IP13 9EZ
>
> T       0333 332 0116
> E       callum.guy at x-on.co.uk
>
>
> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
> Company Registration No. 2578478
>
> This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
> is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
> been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
> Please consider the environment before printing this email.
>
>
> On 19 December 2014 at 09:02, Luke Milbourne <luke.milbourne at gmail.com>
> wrote:
>>
>> These have helped me in the past when dealing with NAT.
>>
>> Chapter 12 'Handling NAT' of the FreeSWITCH 1.2 book
>>
>> http://www.voip-info.org/wiki/view/NAT+and+VOIP
>>
>> https://wiki.freeswitch.org/wiki/NAT
>>
>>
>> On 19 December 2014 at 03:12, <
>> 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. Provider Configuration: switch2voip.us (George F. Phelps)
>>>    2. Re: RTP NAT No Audio on EC2 (Brian West)
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: "George F. Phelps" <GeorgePhelps at gfphelps.com>
>>> To: <freeswitch-users at lists.freeswitch.org>
>>> Cc:
>>> Date: Thu, 18 Dec 2014 19:52:01 -0500
>>> Subject: [Freeswitch-users] Provider Configuration: switch2voip.us
>>> Could someone please provide an example, Freeswitch Provider
>>> Configuration
>>> for using a SIP trunk from switch2voip.us?
>>>
>>> I tried to use the tutorial (at the URL below), for the "Digest
>>> Authentication (Account & PIN)", as an example - but I have been
>>> unsuccessful.
>>>
>>>
>>>
>>> http://switch2voip.us/index.php/customer-support/byod/sip-trunking-configura
>>> tion
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Brian West <brian at freeswitch.org>
>>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>> Cc:
>>> Date: Thu, 18 Dec 2014 21:12:19 -0600
>>> Subject: Re: [Freeswitch-users] RTP NAT No Audio on EC2
>>> A good understanding of how NAT works is probably the best place to
>>> start, I'm not too sure which materials you should read to start off
>>> with... anyone have a link to a good primer on what NAT is and how the
>>> various versions of NAT work?
>>>
>>> On Thu, Dec 18, 2014 at 4:17 PM, Callum Guy <callum.guy at x-on.co.uk>
>>> wrote:
>>>>
>>>> Thanks for responding. I've retested from another location and the
>>>> calls are now working as expected without any change so I presume it was an
>>>> issue with the device/network I was calling from. Sorry to waste your time
>>>> but I still struggle with a workflow for determining RTP issues. Does
>>>> anyone have any advice for a good article/book which would help? Cheers
>>>> On 18 Dec 2014 20:44, "Brian West" <brian at freeswitch.org> wrote:
>>>>
>>>>> you need to set ext-sip-ip and ext-rtp-ip, and it looks like your
>>>>> client isn't providing you a valid ip address either.
>>>>>
>>>>> On Thu, Dec 18, 2014 at 11:28 AM, Callum Guy <callum.guy at x-on.co.uk>
>>>>> wrote:
>>>>>>
>>>>>> ​OK so i have been changing these options as recommended:
>>>>>>
>>>>>> <param name="sip-ip" value="1.2.3.4"/><param name="
>>>>>> ​​
>>>>>> rtp-ip" value="auto"/>​
>>>>>> The SIP option I set to my real external (elastic) IP and it broke
>>>>>> the SIP comms - i removed that because SIP is working correctly.
>>>>>>
>>>>>> The RTP option was set as auto but this doesn't appear to have made
>>>>>> any noticeable difference.
>>>>>>
>>>>>> I haven't found any detailed information about what those fields
>>>>>> actually do so apologies for the shot-in-the-dark approach here.
>>>>>>
>>>>>> Any further ideas?
>>>>>>
>>>>>> ______________________________
>>>>>>
>>>>>> Callum Guy
>>>>>>
>>>>>> X-on
>>>>>> Framlingham Technology Centre
>>>>>> Station Road, Framlingham,
>>>>>> Suffolk, IP13 9EZ
>>>>>>
>>>>>> T       0333 332 0116
>>>>>> E       callum.guy at x-on.co.uk
>>>>>>
>>>>>>
>>>>>> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
>>>>>> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
>>>>>> Company Registration No. 2578478
>>>>>>
>>>>>> This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
>>>>>> is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
>>>>>> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
>>>>>> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
>>>>>> been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
>>>>>> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
>>>>>> Please consider the environment before printing this email.
>>>>>>
>>>>>>
>>>>>> On 18 December 2014 at 16:58, Callum Guy <callum.guy at x-on.co.uk>
>>>>>> wrote:
>>>>>>>
>>>>>>> I have not changed those values yet so will look into that
>>>>>>> immediately and get back to you.
>>>>>>>
>>>>>>> Most of my changes are those cited here:
>>>>>>> https://wiki.freeswitch.org/wiki/Amazon_EC2 which include ext-
>>>>>>> prefixed versions of those parameters but i haven't changed those without
>>>>>>> the prefix.
>>>>>>>
>>>>>>> Thanks, back soon
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ______________________________
>>>>>>>
>>>>>>> Callum Guy
>>>>>>>
>>>>>>> X-on
>>>>>>> Framlingham Technology Centre
>>>>>>> Station Road, Framlingham,
>>>>>>> Suffolk, IP13 9EZ
>>>>>>>
>>>>>>> T       0333 332 0116
>>>>>>> E       callum.guy at x-on.co.uk
>>>>>>>
>>>>>>>
>>>>>>> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
>>>>>>> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
>>>>>>> Company Registration No. 2578478
>>>>>>>
>>>>>>> This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
>>>>>>> is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
>>>>>>> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
>>>>>>> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
>>>>>>> been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
>>>>>>> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
>>>>>>> Please consider the environment before printing this email.
>>>>>>>
>>>>>>>
>>>>>>> On 18 December 2014 at 16:51, Ítalo Rossi <italorossib at gmail.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Did you changed the rtp-ip and sip-ip vars in your profile?
>>>>>>>>
>>>>>>>> Follow https://freeswitch.org/confluence/display/FREESWITCH/NAT
>>>>>>>>
>>>>>>>> On Thu, Dec 18, 2014 at 1:39 PM, Callum Guy <callum.guy at x-on.co.uk>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> Its been a while since i've written to this board so i hope you're
>>>>>>>>> all well. Today i've been trying out FreeSWITCH on AWS for the first time
>>>>>>>>> and it certainly appears to be working as expected however my configuration
>>>>>>>>> must be wrong for the environment so i wondered if someone here could offer
>>>>>>>>> some advice?
>>>>>>>>>
>>>>>>>>> A TCP dump shows correct SIP negotiation between my handset and
>>>>>>>>> the server over the respective public IP's however when viewing the flow in
>>>>>>>>> Wireshark the RTP heads off to my handsets internal IP.
>>>>>>>>>
>>>>>>>>> I see this in the CLI:
>>>>>>>>>
>>>>>>>>> 2014-12-18 16:32:28.531022 [DEBUG] switch_core_media.c:5141 AUDIO
>>>>>>>>> RTP [sofia/internal/1000 at 54.77.115.40] 172.31.6.36 port 30074 ->
>>>>>>>>> 192.168.5.195 port 16468 codec: 0 ms: 20
>>>>>>>>>
>>>>>>>>> Does anyone have any keen suggestions?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Callum
>>>>>>>>>
>>>>>>>>> ______________________________
>>>>>>>>>
>>>>>>>>> Callum Guy
>>>>>>>>>
>>>>>>>>> X-on
>>>>>>>>> Framlingham Technology Centre
>>>>>>>>> Station Road, Framlingham,
>>>>>>>>> Suffolk, IP13 9EZ
>>>>>>>>>
>>>>>>>>> T       0333 332 0116
>>>>>>>>> E       callum.guy at x-on.co.uk
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
>>>>>>>>> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
>>>>>>>>> Company Registration No. 2578478
>>>>>>>>>
>>>>>>>>> This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
>>>>>>>>> is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
>>>>>>>>> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
>>>>>>>>> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
>>>>>>>>> been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
>>>>>>>>> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
>>>>>>>>> Please consider the environment before printing this email.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _________________________________________________________________________
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Ítalo Rossi
>>>>>>>>
>>>>>>>>
>>>>>>>> _________________________________________________________________________
>>>>>>>> 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
>>>>>
>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>
>>> *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
>>
>> _________________________________________________________________________
>> 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
>>
>
> _______________________________________________
> 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/20141219/52401abb/attachment-0001.html 


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