Hi Srigo,<br><br>It looks like you&#39;re new to the list, so let me welcome you to the community!<br><br>In a case like this, any time there is a crash, we need the user to open a jira. You&#39;ve already collected most of the necessary data. Go to <a href="http://jira.freeswitch.org">jira.freeswitch.org</a>, open an account, and then add this data to a new jira ticket. If you need help on how to file a jira then join us in #freeswitch on <a href="http://irc.freenode.net">irc.freenode.net</a>. Also, our wiki has some good information here:<br>
<br><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a><br><br>Also, make sure you test with the latest git version because our devs work fast and sometimes they&#39;ve caught and fixed bugs before you finish opening your jira ticket. :)<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, Nov 29, 2012 at 9:40 AM, Srigo <span dir="ltr">&lt;<a href="mailto:ksrigo@gmail.com" target="_blank">ksrigo@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,<br>
<br>
I&#39;m using Httapi for dynamic application service. The problem, I&#39;m getting<br>
is when im using httapi with the application &quot;playback&quot;, freeswitch is<br>
crashing.<br>
<br>
Seems the crashed is caused by the parameter of &quot;file&quot; in playback. Thats<br>
mean when i&#39;m getting a file from a remote server<br>
(<a href="http://xxxxxx.com/test.wav" target="_blank">http://xxxxxx.com/test.wav</a>) its crashing but when using a local wav file<br>
everthing is fine.<br>
<br>
here is the httapi xml:<br>
<br>
&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;<br>
&lt;params/&gt;<br>
&lt;variables&gt;<br>
&lt;sou&gt;someval&lt;/sou&gt;<br>
&lt;/variables&gt;<br>
&lt;work&gt;<br>
&lt;execute application=&quot;flush_dtmf&quot;/&gt;<br>
&lt;execute application=&quot;set&quot;<br>
data=&quot;${http_prefetch(<a href="http://xxxxxxx.com/test.wav)" target="_blank">http://xxxxxxx.com/test.wav)</a>}&quot;&gt;&lt;/execute&gt;<br>
&lt;execute application=&quot;info&quot;/&gt;<br>
&lt;playback name=&quot;user_entry&quot; file=&quot;<a href="http://xxxxxxx.com/test.wav" target="_blank">http://xxxxxxx.com/test.wav</a>&quot; loops=&quot;3&quot;<br>
digit-timeout=&quot;1000&quot; input-timeout=&quot;1000&quot;&gt;<br>
&lt;bind strip=&quot;#&quot;&gt;~\d+&lt;/bind&gt;<br>
&lt;/playback&gt;<br>
&lt;/work&gt;<br>
&lt;/document&gt;<br>
<br>
<br>
Here the log before the freeswitch crash:<br>
<br>
freeswitch: src/switch_event.c:710: switch_event_get_header_ptr: Assertion<br>
`event&#39; failed.<br>
<br>
<br>
I try to use http_cache to try to resolve the prob:<br>
<br>
&lt;playback name=&quot;user_entry&quot; file=&quot;${http_get(<a href="http://xxxxxxx.com/test.wav)" target="_blank">http://xxxxxxx.com/test.wav)</a>}&quot;<br>
loops=&quot;3&quot; digit-timeout=&quot;1000&quot; input-timeout=&quot;1000&quot;&gt;<br>
&lt;bind strip=&quot;#&quot;&gt;~\d+&lt;/bind&gt;<br>
&lt;/playback&gt;<br>
<br>
but i&#39;m getting the following error in the log:<br>
<br>
2012-11-23 19:06:10.015936 [ERR] switch_core_file.c:112 Unknown file Format<br>
[$]<br>
<br>
Finally i try the following idea:<br>
<br>
- set a variable (&lt;execute application=&quot;set&quot;<br>
data=&quot;play=${http_get(<a href="http://xxxxxxx.com/test.wav)" target="_blank">http://xxxxxxx.com/test.wav)</a>}&quot;&gt;&lt;/execute&gt;<br>
<br>
then use in playback parameter the variable ${play} but the variable is not<br>
parsed!<br>
<br>
2012-11-23 17:30:09.855933 [ERR] mod_native_file.c:74 Error opening<br>
/usr/share/freeswitch/sounds/en/us/callie/${play}.PCMA<br>
<br>
<br>
Could anyone please tell me where i did the mistake ?<br>
<br>
thx a lot<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-is-crashing-when-httapi-playback-application-is-executed-tp7585041.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-is-crashing-when-httapi-playback-application-is-executed-tp7585041.html</a><br>


Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>

<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>