[Freeswitch-users] gsm file record/playback
Miroslav Mostic
nuvovoip at gmail.com
Mon Jun 2 14:27:29 PDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080602/593c75f0/attachment-0002.html
More information about the FreeSWITCH-users
mailing list