<div dir="ltr">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.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 9:12 AM, 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"><div class="">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>
</div>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>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><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></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>