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

Jenny Davis jennyjean75 at gmail.com
Sat Apr 5 20:46:28 MSD 2014


Just a quick update, I found that I had the bit rate set for 16000 in my
conference.xml and 64000 in my conference profile...when I updated to both
reflect the same value, it started working! Thank you very much for the
help, the min required participants works well. :-)


On Fri, Apr 4, 2014 at 2:39 PM, Jenny Davis <jennyjean75 at gmail.com> wrote:

> Hi, yes I see the mp3 when I test in fs_cli. For some reason, it is just
> not following the same when I include the param in conference for auto. It
> does not read it. I did set the participants to 1 but still to no avail. I
> am running BigBlueButton and have compiled a new switch version to work
> with it, could this be effecting it somehow? There are no errors that I am
> receiving and everything is working fast otherwise.
>
> ---------- 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 12:58:25 -0500
> Subject: Re: [Freeswitch-users] Auto-record works in fs_cli but doesn't
> work in conference.xml
> I tested this and it works fine, do you never see the Auto recording line?
> shout:// vs just an MP3 should be no different.
>
> 2014-04-04 12:57:37.449395 [DEBUG] switch_core_session.c:905 Send signal
> _Brian West/20025/883000 at 192.168.1.112 [BREAK]
> 2014-04-04 12:57:37.449395 [DEBUG] mod_conference.c:4159 Setup timer soft
> success interval: 20  samples: 160
> 2014-04-04 12:57:37.449395 [DEBUG] mod_conference.c:2678 Auto recording
> file: /usr/local/freeswitch/recordings/3000-192.168.1.43_
> 2014-04-04-12-57-37.mp3
>
>
> Did you try setting min-required-recording-participants to 1?
>
>
> --
> 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 11:29 AM, Jenny Davis <jennyjean75 at gmail.com>wrote:
>
>> 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/20140405/2f01ad98/attachment.html 


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