[Freeswitch-users] Fwd: Mod_skypopen : recording
Giovanni Maruzzelli
gmaruzz at gmail.com
Sat Jun 23 20:34:15 MSD 2012
On Sat, Jun 23, 2012 at 2:34 PM, Balamurugan Mahendran <b2m at a-cti.com> wrote:
>
> Sorry, I could not trace it yet, it would be very helpful if you find time
> for me.
I just done what you do, but for me it works without any problem:
1) I compiled and added mod_shout to a freeswitch just compiled and
installed as per the mod_skypopen wiki page :
http://wiki.freeswitch.org/wiki/Skypopen#Building.2C_Configuration_and_Operation
2) I added the following extension to
/usr/local/freeswitch/conf/dialplan/default.xml
<extension name="bala">
<condition field="destination_number" expression="^12345678$">
<action application="set" data="RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d
%H:%M:%S)}"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) freeswitch.org"/>
<action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/>
<action application="set" data="RECORD_ARTIST=auto"/>
<action application="set" data="RECORD_COMMENT=auto recording"/>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="set" data="record_sample_rate=16000"/>
<action application="set" data="media_bug_answer_req=true"/>
<action application="record_session"
data="$${base_dir}/recordings/${uuid}.mp3"/>
<action application="set" data="ignore_early_media=false"/>
<action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,ORIGINATOR_CANCEL,CANCEL,USER_BUSY,NO_ANSWER,NO_ROUTE_DESTINATION"/>
<action application="set" data="call_timeout=23"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge"
data="{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7}skypopen/skype102/myskypename"/>
</condition>
</extension>
Called from a SIP phone, received the call on skype, talked, hangup,
downloaded the mp3 file, it sounds perfect.
You got some other problem.
--
Sincerely,
Giovanni Maruzzelli
Cell : +39-347-2665618
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list