<div dir="ltr">Well that's probably your problem.<div>You need to open up ports for media (RTP) to flow.</div><div><br></div><div>If your setup is still default, then you'll need to open up ports <span style="background-color:rgb(250,250,250);color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.200000762939453px">16384-32768</span></div>
<div><span style="background-color:rgb(250,250,250);color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.200000762939453px">See </span><font color="#000000" face="sans-serif"><span style="line-height:19.200000762939453px"><a href="https://wiki.freeswitch.org/wiki/Firewall">https://wiki.freeswitch.org/wiki/Firewall</a></span></font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 6:33 PM, Iqbal Abdullah <span dir="ltr"><<a href="mailto:iqbal.b.abdullah@gmail.com" target="_blank">iqbal.b.abdullah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Brian,<br>
<div class=""><br>
On 30 July 2014 00:06, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
><br>
> On a hunch, I launched an instance, set the firewall up properly. Checked out, built and installed FS, No issues at all. ;) Just making sure someone else was reporting issues so I thought I would spin it up to double check a few things.<br>
<br>
</div>Thanks for looking it up. Can you tell me what ports of the firewall<br>
did you open up? Maybe that's the issue. I only have 5060 (and ssh)<br>
open by the way.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Tue, Jul 29, 2014 at 9:12 AM, Iqbal Abdullah <<a href="mailto:iqbal.b.abdullah@gmail.com">iqbal.b.abdullah@gmail.com</a>> wrote:<br>
>><br>
>> On 29 July 2014 21:54, Ben Langfeld <<a href="mailto:ben@langfeld.co.uk">ben@langfeld.co.uk</a>> wrote:<br>
>> > Try explicitly answering the call before your <Speak/> action.<br>
>><br>
>> Thanks Ben,<br>
>><br>
>> I'm sorry but I do not see any explicit answer XML tag which I can use<br>
>> for Plivo.<br>
>> What do you mean by explicitly answering the call before the Speak action?<br>
>><br>
>> ><br>
>> ><br>
>> > On 29 July 2014 07:04, Iqbal Abdullah <<a href="mailto:iqbal.b.abdullah@gmail.com">iqbal.b.abdullah@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hello everyone,<br>
>> >><br>
>> >> I have just gotten to know about FreeSWITCH and have tried installing<br>
>> >> it on a EC2 instance and in the process of trying out some examples. I<br>
>> >> am facing this issue of not being able to hear any sounds during a<br>
>> >> call I make to my FreeSWITCH system.<br>
>> >><br>
>> >> My freeswitch system is the latest stable ver.1.4 and I followed the<br>
>> >> instructions to install from<br>
>> >> <a href="http://clintberry.com/2011/getting-started-with-plivo/" target="_blank">http://clintberry.com/2011/getting-started-with-plivo/</a><br>
>> >><br>
>> >> via the installation script show on the site. I changed the<br>
>> >> installation script to use Slash and also 1.4 instead.<br>
>> >><br>
>> >> One of the exercises is to pass an incoming call to plivo and make<br>
>> >> plivo return a <say> action, which for some reason is not reading back<br>
>> >> the text to me (no audio) when I call 1005 from using sflphone on my<br>
>> >> ubuntu.<br>
>> >><br>
>> >> This is the log on freeswitch:<br>
>> >><br>
>> >> 2014-07-29 18:01:12.581530 [NOTICE] switch_channel.c:1054 New Channel<br>
>> >> sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a><br>
>> >> [5650b3dd-1519-4c6f-b720-d4d3a8a65c5c]<br>
>> >> 2014-07-29 18:01:12.681534 [INFO] mod_dialplan_xml.c:558 Processing<br>
>> >> 1000 <1000>->1005 in context default<br>
>> >> 2014-07-29 18:01:12.681534 [WARNING] switch_core_session.c:1554<br>
>> >> sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a> using scheduler due to<br>
>> >> bypass media or media is not established.<br>
>> >> 2014-07-29 18:01:12.733800 [NOTICE] sofia_media.c:92 Pre-Answer<br>
>> >> sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a>!<br>
>> >> 2014-07-29 18:01:12.733800 [NOTICE] mod_dptools.c:1258 Channel<br>
>> >> [sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a>] has been answered<br>
>> >> 2014-07-29 18:01:14.121516 [NOTICE] mod_dptools.c:1232 Hangup<br>
>> >> sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a> [CS_RESET]<br>
>> >> [NORMAL_CLEARING]<br>
>> >> 2014-07-29 18:01:14.141502 [NOTICE] switch_core_session.c:1632 Session<br>
>> >> 1 (sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a>) Ended<br>
>> >> 2014-07-29 18:01:14.141502 [NOTICE] switch_core_session.c:1636 Close<br>
>> >> Channel sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a> [CS_DESTROY]<br>
>> >><br>
>> >> I can see that plivo is correctly calling the XML I have placed, as<br>
>> >> this is the log I see on my web server:<br>
>> >><br>
>> >> [29/Jul/2014 01:59:13] "GET<br>
>> >><br>
>> >> /answer/?To=1005&Direction=inbound&From=1000&CallerName=1000&CallUUID=b74c06be-f4e9-4830-af68-e424b3b31e1c&CallStatus=ringing<br>
>> >> HTTP/1.1" 200 93<br>
>> >> [29/Jul/2014 01:59:14] "GET<br>
>> >><br>
>> >> /answer/?To=1005&Direction=inbound&From=1000&CallUUID=b74c06be-f4e9-4830-af68-e424b3b31e1c&HangupCause=NORMAL_CLEARING&CallStatus=completed<br>
>> >> HTTP/1.1" 200 93<br>
>> >><br>
>> >> This is the XML I have prepared to test plivo:<br>
>> >><br>
>> >> <?xml version="1.0" encoding="UTF-8" ?><br>
>> >> <Response><br>
>> >> <Speak>Hello World</Speak><br>
>> >> </Response><br>
>> >><br>
>> >><br>
>> >> And this is default.xml on freeswitch which forward any calls to 1005 to<br>
>> >> plivo:<br>
>> >><br>
>> >> <include><br>
>> >> <context name="default"><br>
>> >><br>
>> >> <!--<br>
>> >> This extension allows calling any digits of number<br>
>> >> freeswitch will call plivo outbound server on every incoming call<br>
>> >> --><br>
>> >> <extension name="plivo"><br>
>> >> <condition field="destination_number" expression="^1005"><br>
>> >> <action application="enable_heartbeat" data="60"/><br>
>> >> <action application="socket" data="<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> async<br>
>> >> full"/><br>
>> >> </condition><br>
>> >> </extension><br>
>> >> ....<br>
>> >> ....<br>
>> >> </include><br>
>> >><br>
>> >> I have read that NAT issues might be causing a no-audio issue, but I<br>
>> >> am not sure and do not know how to tell if this is the issue. The only<br>
>> >> thing which look strange is the logs on freeswitch saying:<br>
>> >><br>
>> >> 2014-07-29 18:01:12.681534 [WARNING] switch_core_session.c:1554<br>
>> >> sofia/internal/<a href="mailto:1000@xxxxxxxxxx.amazonaws.com">1000@xxxxxxxxxx.amazonaws.com</a> using scheduler due to<br>
>> >> bypass media or media is not established.<br>
>> >><br>
>> >> but what does that mean?<br>
>> >><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>
>> ><br>
>> ><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>
>><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>
><br>
><br>
><br>
> --<br>
><br>
> Brian West<br>
> <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
><br>
><br>
</div></div><div class="im HOEnZb">> Twitter: @FreeSWITCH , @briankwest<br>
> <a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
> <a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
><br>
> T:<a href="tel:%2B19184209001" value="+19184209001">+19184209001</a> | F:<a href="tel:%2B19184209002" value="+19184209002">+19184209002</a> | M:+1918424WEST (9378)<br>
> iNUM:<a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a> | ISN:410*543 | Skype:briankwest<br>
><br>
><br>
</div><div class="HOEnZb"><div class="h5">> _________________________________________________________________________<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>
<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>
</div></div></blockquote></div><br></div>