[Freeswitch-users] trouble with record_session
Mimiko
vbvbrj at gmail.com
Sat Jan 19 00:03:56 MSK 2013
On 18.01.2013 22:42, Ashok M wrote:
> I am trying to test recording feature using record_session app. Here is my
> dial plan for the internal extension that I am trying dial from another
> extension which gets registered with FreeSWITCH after starting x-lite. The
> record_session seems to creating the wav file, but if I try to play it back
> and I don't hear anything. am I doing this right? or am I missing something
> here?
>
> <extension name="test_recording">
> <condition field="destination_number" expression="^1300$">
> <action application="set" data="continue_on_fail=true"/>
> <action application="answer"/>
> <action application="record_session"
> data="d:/record/Site/recordtest.wav"/>
> <action application="sleep" data="20000"/>
> <action application="playback" data="d:/record/Site/recordtest.wav"/>
> <action application="hangup"/>
> </condition>
> </extension>
>
>
File d:/record/Site/recordtest.wav will be looked for writting until
session ends, ie hangup and dialplan execute ends.
--
Mimiko desu.
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list