[Freeswitch-users] RTP NAT No Audio on EC2

Brian West brian at freeswitch.org
Fri Dec 19 06:12:19 MSK 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141218/f251c6b8/attachment-0001.html 


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