[Freeswitch-users] Recording through Default.xml not working

Baskar yudha2008 at gmail.com
Thu Nov 6 23:04:03 PST 2008


Hi Michael,*

     Actually the recording file will be in the path
/usr/local/freeswitch/recordings.
    I get those recoding file till  4th Nov 2008 i get the sound file in the
format           1001-0000000000-2008-11-04-15-17-54.
    On 5th Nov 2008 onwards there is  no sound file created.
    Another thing how can i get the called no ID now it is storing like this
0000000000.*


On Fri, Nov 7, 2008 at 11:51 AM, Michael S Collins <msc at freeswitch.org>wrote:

> What is actually happening? Is there no sound file created or is it
> something else wrong?
>
> -MC
>
> Sent from my iPhone
>
> On Nov 6, 2008, at 9:59 PM, Baskar <yudha2008 at gmail.com> wrote:
>
> Hi,
>    *
>      Recoding is done through default.xml.
>      For past 1 month recoding is working fine.
>      Suddenly for past 3day recording is not working.
>      I did not modify any thing in deafult .xml .
>    *
>    *  My deafult.xml file*
>
> <?xml version="1.0" encoding="utf-8"?>
> <include>
>   <context name="default">
>    <extension name="Local_Extension">
>        <condition field="destination_number"
> expression="^(1[0-9][0-9][0-9])$">
>        <action application="set" data="dialed_ext=$1"/>
>        <action application="export" data="dialed_ext=$1"/>
>        <action application="answer"/>
>        <action application="info"/>
>        <action application="export" data="Answer-State"/>
>        <action application="log" data="INFO Answer-State
> [${Answer-State}]\n"/>
>        <action application="record_session"
> data="$${base_dir}/recordings/${destination_number}-${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
>        </condition>
>        <condition field="destination_number"
> expression="^${caller_id_number}$">
>        <action application="set"
> data="voicemail_authorized=${sip_authorized}"/>
>        <action application="answer"/>
>        <action application="set" data="answer-state=${Answer-State}"/>
>        <action application="info"/>
>        <action application="sleep" data="1000"/>
>        <action application="voicemail" data="check default $${domain}
> ${dialed_ext}"/>
>        <anti-action application="bind_meta_app" data="1 b s
> execute_extension::dx XML features"/>
>        <anti-action application="bind_meta_app" data="2 b s
> record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
>         <anti-action application="bind_meta_app" data="3 b s
> execute_extension::cf XML features"/>
>         <anti-action application="set"
> data="transfer_ringback=${us-ring}"/>
>         <anti-action application="set" data="call_timeout=30"/>
>         <action application="set" data="hangup_after_bridge=false"/>
>         <anti-action application="set" data="continue_on_fail=true"/>
>         <anti-action application="db"
> data="insert/call_return/${dialed_ext}/${caller_id_number}"/>
>         <anti-action application="db"
> data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>
>         <anti-action application="bridge" data="user/${dialed_ext}@
> $${domain}"/>
>         <action application="info"/>
>         <anti-action application="answer"/>
>         <anti-action application="sleep" data="1000"/>
>         <anti-action application="voicemail" data="default $${domain}
> ${dialed_ext}"/>
>       </condition>
>     </extension>
>
>    <extension name="Long Distance - wanpipe">
>       <condition field="destination_number" expression="^9(\d{5,15})$">
>       <action application="set" data="effective_caller_id_number=$1"/>
>       <action application="set" data="dialed_ext=$1"/>
>       <action application="info"/>
>       <action application="set" data="answer-state=${Answer-State}"/>
>       <action application="export" data="effective_caller_id_number=true"/>
>       <action application="export" data="answer-state"/>
>       <action application="set" data="hangup_after_bridge=false"/>
>       <!-- <action application="bridge" data="sofia/default/$<http://1@219.64.118.239:5066>
> 1 at 219.64.118.239:5066"/> -->
>       <action application="record_session"
> data="$${base_dir}/recordings/${destination_number}-${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
>
>       <action application="bridge" data="sofia/default/$<1 at 172.20.191.228>
> 1 at 172.20.191.228"/>
>      </condition>
>    </extension>
>    <extension name="nb_conferences">
>       <condition field="destination_number" expression="^(30\d{2})$">
>         <action application="answer"/>
>         <!--<action application="send_display" data="8k Conference $1"/>-->
>         <action application="conference" data="$1 at default"/>
>       </condition>
>     </extension>
>
>   </context>
> </include>
>
> correct me were is wrong
>
> --
> Warm Regards,
> N.Baskar
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
*

-- 
Warm Regards,
N.Baskar
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/d093b6ad/attachment-0002.html 


More information about the FreeSWITCH-users mailing list