[Freeswitch-users] Auto-record works in fs_cli but doesn't work in conference.xml

Jenny Davis jennyjean75 at gmail.com
Fri Apr 4 19:29:42 MSD 2014


Hi Brian, thank you. Actually no, I have been testing with user1 and user2
in different browsers. I did however change that and it didn't correct the
problem.

Here is what I have in my profile conference.conf.xml under
freeswitch/conf/autoload_configs


<profile name="wideband">
  <param name="domain" value="$${domain}"/>
      <param name="rate" value="16000"/>
      <param name="interval" value="20"/>
      <param name="energy-level" value="300"/>
   <param name="auto-record" value="shout://
source:mypassword at myip.address.com:8000/live.mp3"/>
  <!--<param name="sound-prefix" value="$${sounds_dir}/en/us/callie"/>-->
      <param name="muted-sound" value="conference/conf-muted.wav"/>
      <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
      <param name="alone-sound" value="conference/conf-alone.wav"/>

      <param name="moh-sound" value="$${hold_music}"/>
      <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
      <param name="exit-sound"
value="tone_stream://%(500,0,300,200,100,50,25)"/>

      <param name="kicked-sound" value="conference/conf-kicked.wav"/>
      <param name="locked-sound" value="conference/conf-locked.wav"/>
      <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
      <param name="is-unlocked-sound"
value="conference/conf-is-unlocked.wav"/>
      <param name="pin-sound" value="conference/conf-pin.wav"/>
      <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
      <param name="caller-id-name" value="$${outbound_caller_name}"/>
      <param name="caller-id-number" value="$${outbound_caller_id}"/>
      <param name="comfort-noise" value="true"/>
  <!--<param name="tts-engine" value="flite"/>-->
      <!--<param name="tts-voice" value="kal16"/>-->
    </profile>

Been banging my head on my desk over this



---------- Forwarded message ----------
From: Brian West <brian at freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Cc:
Date: Fri, 4 Apr 2014 09:43:07 -0500
Subject: Re: [Freeswitch-users] Auto-record works in fs_cli but doesn't
work in conference.xml
I'm guessing you are expecting it to start recording when one person exists
in the conference?

        int min_recording_participants = 2;

        /* Start auto recording if there's the minimum number of required
participants. */
        if (conference->auto_record && !conference->auto_recording &&
(conference->count >= conference->min_recording_participants)) {


Which leads me to this option in your conference profile
min-required-recording-participants, set it to 1 if you wish it to start
when only one person exists.

--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)


On Fri, Apr 4, 2014 at 10:33 AM, Jenny Davis <jennyjean75 at gmail.com> wrote:

> No I wish it was that simple. It works in fs_cli so I am really stumped.
> Thought maybe I was putting it in the wrong spot? In wideband profile in
> conference.xml?
>
> On Apr 4, 2014 7:31 AM, "Jenny Davis" <jennyjean75 at gmail.com> wrote:
> >
> > Anyone know what could be the issue? Please?
> >
> >
> > On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75 at gmail.com>
> wrote:
> >>
> >> I have version 1.2 stable installed with mod_shout enabled and running,
> when I test in the fs_cli recording to icecast works. However when I add
> param name auto-record shout:// to conference.xml nothing happens, no
> stream is showing in icecast and isn't being recorded. I have not seen a
> specific example on how to add auto-record for streaming to icecast, so A-
> where to add the param name would be helpful as well as B- exact context.
> Please and thank you!
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140404/2534f338/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list