<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] gsm file record/playback</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>What codec are you using on the inbound side?<BR>
<BR>
/b<BR>
<BR>
<BR>
<BR>
On 6/2/08 4:27 PM, "Miroslav Mostic" <<a href="nuvovoip@gmail.com">nuvovoip@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi everyone!<BR>
<BR>
I am probably missing something very basic, but I have problems with simple file record and playback in gsm file format.<BR>
<BR>
I have just installed 1.0 release system and I changed only default dialplan with following two extensions:<BR>
<BR>
<extension name="gsm_record"><BR>
<condition field="destination_number" expression="^9991$"><BR>
<action application="answer"/><BR>
<action application="record" data="/tmp/rec.gsm"/><BR>
</condition><BR>
</extension><BR>
<extension name="gsm_playback"><BR>
<condition field="destination_number" expression="^9992$"><BR>
<action application="answer"/><BR>
<action application="playback" data="/tmp/rec.gsm"/><BR>
</condition><BR>
</extension><BR>
<BR>
When I place call to 9991extension I see INFO message about opening /tmp/rec.gsm, no error messages and when I hangup I can see that file /tmp/rec.gsm exists. However when I try to play this file using 9992 extension the only thing I can hear is noise. <BR>
<BR>
When I just change name to /tmp/rec.wav in both extensions everything is working fine. <BR>
<BR>
What am I missing?<BR>
<BR>
Many regards,<BR>
<BR>
Miroslav<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
<a href="Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>