[Freeswitch-users] Using auto-record

Steven Ayre steveayre at gmail.com
Thu Dec 23 01:02:38 MSK 2010


> first: If I start as a daemon using the -nc command, how do I access the
> console again?

fs_cli - it connects to the event socket (check mod_event_socket is
loaded and configure it in conf/autoload_config/event_socket.conf.xml,
where the listening ip and password is set)

> <extension name="conferences">
>       <condition field="destination_number" expression="^(7\d{4})$">
>           <action application="answer"/>
>           <action application="conference" data="$1 at wideband"/>
>   <profiles>
>     <profile name="default">
>       <action applicatioon="conference" data="auto-record
> /tmp/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
>     </profile>
>   </profiles>

Profiles are configured in conf/autoload_config/conference.conf.xml,
not the dialplan. Also, it will be a <param> not an <action>. For
example:

 <configuration name="conference.conf" description="Audio Conference">
  <profiles>
   <profile name="default">
    <param name="auto-record"
value="/tmp/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
   </profile>
  </profiles>
  ... (rest of the file) ...
 </configuration>

You won't have seen an error because the <profiles> tag is completely
unknown to the dialplan, so it would have been ignored.

-Steve



On 22 December 2010 19:35, Wagner <wagnerspi at gmail.com> wrote:
> Hello,
>
> I'm quite new to FreeSwitch and so far I'm liking it
>
> I have 2 questions about FS
>
> first: If I start as a daemon using the -nc command, how do I access the
> console again?
>
> Second: I have a conference that I want to record, I'm trying to use
> auto-record but so far I'm not getting it to work
>
> my public.xml looks like that:
>
> <extension name="conferences">
>       <condition field="destination_number" expression="^(7\d{4})$">
>           <action application="answer"/>
>           <action application="conference" data="$1 at wideband"/>
>   <profiles>
>     <profile name="default">
>       <action applicatioon="conference" data="auto-record
> /tmp/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
>     </profile>
>   </profiles>
>
>           <!-- <action application="conference" data="$1 at wideband"/> -->
>       </condition>
>     </extension>
>
>
> I got no error on freeswitch.log
>
> but the file it's not created =/
>
> I'm trying with more than one user, as I saw that it only start to record
> with 2 or more users
>
> Thanks for the help
>
> _______________________________________________
> 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
>
>



More information about the FreeSWITCH-users mailing list