Hi everyone!
I am probably missing something very basic, but I have problems with simple file record and playback in gsm file format.
I have just installed 1.0 release system and I changed only default dialplan with following two extensions:
<extension name="gsm_record">
<condition field="destination_number" expression="^9991$">
<action application="answer"/>
<action application="record" data="/tmp/rec.gsm"/>
</condition>
</extension>
<extension name="gsm_playback">
<condition field="destination_number" expression="^9992$">
<action application="answer"/>
<action application="playback" data="/tmp/rec.gsm"/>
</condition>
</extension>
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.
When I just change name to /tmp/rec.wav in both extensions everything is working fine.
What am I missing?
Many regards,
Miroslav