<div dir="ltr">Try explicitly answering the call before your &lt;Speak/&gt; action.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 July 2014 07:04, Iqbal Abdullah <span dir="ltr">&lt;<a href="mailto:iqbal.b.abdullah@gmail.com" target="_blank">iqbal.b.abdullah@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 &lt;say&gt; 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 &lt;1000&gt;-&gt;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] &quot;GET<br>
/answer/?To=1005&amp;Direction=inbound&amp;From=1000&amp;CallerName=1000&amp;CallUUID=b74c06be-f4e9-4830-af68-e424b3b31e1c&amp;CallStatus=ringing<br>
HTTP/1.1&quot; 200 93<br>
[29/Jul/2014 01:59:14] &quot;GET<br>
/answer/?To=1005&amp;Direction=inbound&amp;From=1000&amp;CallUUID=b74c06be-f4e9-4830-af68-e424b3b31e1c&amp;HangupCause=NORMAL_CLEARING&amp;CallStatus=completed<br>
HTTP/1.1&quot; 200 93<br>
<br>
This is the XML I have prepared to test plivo:<br>
<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;<br>
&lt;Response&gt;<br>
  &lt;Speak&gt;Hello World&lt;/Speak&gt;<br>
&lt;/Response&gt;<br>
<br>
<br>
And this is default.xml on freeswitch which forward any calls to 1005 to plivo:<br>
<br>
&lt;include&gt;<br>
  &lt;context name=&quot;default&quot;&gt;<br>
<br>
    &lt;!--<br>
     This extension allows calling any digits of number<br>
     freeswitch will call plivo outbound server on every incoming call<br>
    --&gt;<br>
    &lt;extension name=&quot;plivo&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^1005&quot;&gt;<br>
            &lt;action application=&quot;enable_heartbeat&quot; data=&quot;60&quot;/&gt;<br>
            &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> async full&quot;/&gt;<br>
        &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
....<br>
....<br>
&lt;/include&gt;<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>
</blockquote></div><br></div>