Auto-record works in fs_cli but doesn't work in conference.xml
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!
Anyone know what could be the issue? Please? On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
Did you happen to forget to reloadxml? -- Brian West brian@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 Apr 4, 2014, at 6:31 AM, Jenny Davis <jennyjean75@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
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@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 Apr 4, 2014, at 9:33 AM, Jenny Davis <jennyjean75@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
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@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@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 Apr 4, 2014, at 10:29 AM, Jenny Davis <jennyjean75@gmail.com> wrote:
min-required-recording-participants
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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
You need at least 2 participants to test this. Jenny Davis <jennyjean75@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Or add this to your conference profile: <param name="min-required-recording-participants" value="1”/> but I was told this was already tried. I tested again and wasn’t able to replicate the issue. -- Brian West brian@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 Apr 4, 2014, at 1:52 PM, covici@ccs.covici.com wrote:
You need at least 2 participants to test this.
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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
*Oops I meant to say in my shout_mod.c not conference profile On Sat, Apr 5, 2014 at 12:46 PM, Jenny Davis <jennyjean75@gmail.com> wrote:
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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@gmail.com> wrote:
Anyone know what could be the issue? Please?
On Thu, Apr 3, 2014 at 6:43 AM, Jenny Davis <jennyjean75@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!
participants (3)
-
Brian West
-
covici@ccs.covici.com
-
Jenny Davis