<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Cheers Steven,</DIV>
<DIV> </DIV>
<DIV>I guessed it’s something to do with NAT – most likely at the softphone
end.</DIV>
<DIV> </DIV>
<DIV>I’m using X-Lite in all softphone cases, so it’s literally the end user’s
PC and router that’s different. I tried STUN but that seemed to make things
worse where no audio was heard from both ends.</DIV>
<DIV> </DIV>
<DIV>I’ll run some debug and check the remote SDP to see what it contains and go
from there.</DIV>
<DIV> </DIV>
<DIV>Stuart</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=steveayre@gmail.com
href="mailto:steveayre@gmail.com">Steven Ayre</A> </DIV>
<DIV><B>Sent:</B> Monday, January 28, 2013 10:12 AM</DIV>
<DIV><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV><B>Subject:</B> Re: [Freeswitch-users] softphones on
Amazon</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">One
way audio usually is a result of NAT.
<DIV> </DIV>
<DIV>Not all NAT routers operate in the same way, and not all softphones handle
it in the same way, so that may explain why it works in one location but not the
other. I assume the softphones were behind NAT?</DIV>
<DIV> </DIV>
<DIV>Set the FS log level to debug, and check the IP in the remote SDP. You need
the phone's external IP in there. Phones usually determine that using STUN. Some
NAT routers have a feature called SIP ALG to rewrite it for phones not doing it
themselves, but that often will conflict with phones that have already put the
correct IP (and also cannot work with TLS).</DIV>
<DIV> </DIV>
<DIV>In short check where RTP is being sent to is correct...</DIV>
<DIV> </DIV>
<DIV>Without the correct IP FS also has a last-resort feature where it detects
the IP the caller sends audio from and replies to there (RTP auto-adjust). A log
entry indicates when that happens. But that requires FS to receive audio, which
means it can't work until the caller starts speaking after the call is answered
(so might miss hearing the callee say 'hello'), and the caller will never hear
ringing (unless generated locally by the phone when it gets the SIP 183/180
response).</DIV>
<DIV> </DIV>
<DIV>The NAT page on the Wiki may be informative: <A
href="http://wiki.freeswitch.org/wiki/NAT">http://wiki.freeswitch.org/wiki/NAT</A></DIV>
<DIV> </DIV>
<DIV>Just to complicate things Amazon EC2 runs behind a NAT layer too AFAIK. I
don't have any personal experience with EC2.</DIV>
<DIV> </DIV>
<DIV>-Steve</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV> </DIV>
<DIV>
<DIV>
<DIV class=gmail_quote>On 28 January 2013 09:26, Stuart Mills <SPAN
dir=ltr><<A href="mailto:stuart.mills3@btopenworld.com"
target=_blank>stuart.mills3@btopenworld.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have a strange problem using FreeSwitch on an Amazon EC2 instance and
was wondering if anyone out there could help me.</DIV>
<DIV> </DIV>
<DIV>The problem seems to be that I can register an extension from a remote
network in say France, phone works ok but when passing calls to it (from sip
peer through JavaScript to user extension) I get one way audio, the caller can
hear me on the softphone but I can’t hear them – like the reverse audio path
can’t be established.</DIV>
<DIV> </DIV>
<DIV>That would be ok and fixable if the issue was consistent but on another
phone registered from within the UK, it all works fine and I get a good 2 way
conversation.</DIV>
<DIV> </DIV>
<DIV>If I dial from one softphone in France directly to the other in the UK,
that works too.</DIV>
<DIV> </DIV>
<DIV>I followed the wiki’s guide to installing on Amazon and have everything
right, otherwise I doubt it would work at all.</DIV>
<DIV><BR>Is anyone able to help me or have experience of this type of issue?
Maybe it’s a local router issue to the phone in France but I didn’t need to do
anything special to the one in the UK to work, so not sure it could be that
either.</DIV>
<DIV> </DIV>
<DIV>Kind Regards,</DIV><SPAN class=HOEnZb><FONT color=#888888>
<DIV> </DIV>
<DIV>Stuart</DIV></FONT></SPAN></DIV></DIV></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"
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">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>
<DIV> </DIV></DIV></DIV></DIV>
<P>
<HR>
_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting
Services:<BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication
Server<BR>http://www.cudatel.com<BR><BR>Official FreeSWITCH
Sites<BR>http://www.freeswitch.org<BR>http://wiki.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></DIV></DIV></DIV></BODY></HTML>