[Freeswitch-dev] Can't write wav file.

Michael Jerris mike at jerris.com
Thu Jun 30 21:28:38 MSD 2016


fixed in master

> On Jun 30, 2016, at 11:43 AM, Abaci B <abaci64 at gmail.com> wrote:
> 
> Opened https://freeswitch.org/jira/browse/FS-9314 <https://freeswitch.org/jira/browse/FS-9314>
> 
> 
> On Thu, Jun 30, 2016 at 10:00 AM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
> Please report bugs to jira.  A crash is always a bug.
> 
>> On Jun 30, 2016, at 9:56 AM, Abaci B <abaci64 at gmail.com <mailto:abaci64 at gmail.com>> wrote:
>> 
>> I upgraded to master which solved the recording issue, but freeswitch still crashed, as Stephen suggested it was due to conference_layouts.conf.xml not existing, as I removed it due to the fact that I don't use video at all.
>> My question is the requirement of video layout even in audio only conferences a bug or correct behavior, and is there any way to completely disable video on the system?
>> 
>> On Wed, Jun 29, 2016 at 6:52 PM, Abaci B <abaci64 at gmail.com <mailto:abaci64 at gmail.com>> wrote:
>> ok will try to upgrade at night and see how it goes
>> 
>> On Wed, Jun 29, 2016 at 6:47 PM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>> No you should try out master and see if it works.  There are other interrelated patches that went in.
>> 
>> 
>>> On Jun 29, 2016, at 6:21 PM, Abaci B <abaci64 at gmail.com <mailto:abaci64 at gmail.com>> wrote:
>>> 
>>> no idea and can't upgrade full freeswitch at the moment, possibly other commits between 1.6.9 and master also has an effect?
>>> If I would check out just mod_conference from naster and build it in 1.6.9 src would that be ok?
>>> 
>>> On Wed, Jun 29, 2016 at 6:14 PM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>>> Does it do this in master?
>>> 
>>>> On Jun 29, 2016, at 6:10 PM, Abaci B <abaci64 at gmail.com <mailto:abaci64 at gmail.com>> wrote:
>>>> 
>>>> I applied these changes to my 1.6.9 machine and as soon as I start a conference with auto_record freeswitch will crash, the following is what I see in the log
>>>> 
>>>> 2016-06-29 18:08:10.335665 [WARNING] mod_conference.c:2866 Unspecified video-canvas-size, falling back to 1280x720
>>>> 2016-06-29 18:08:10.335665 [ERR] conference_video.c:105 Open of conference_layouts.conf failed
>>>> 2016-06-29 18:08:10.335665 [WARNING] mod_conference.c:2925 No video-layout-name specified, using group:grid
>>>> 
>>>> On Wed, Jun 29, 2016 at 5:55 PM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>>>> its in master.  It will be in 1.6.10 release and will be in the 1.6 branch when we tag that release.
>>>> 
>>>>> On Jun 29, 2016, at 5:50 PM, Abaci B <abaci64 at gmail.com <mailto:abaci64 at gmail.com>> wrote:
>>>>> 
>>>>> was this also fixed in the v1.6 branch?
>>>>> 
>>>>> On Tue, Jun 28, 2016 at 8:00 AM, Stephen Dame <sdame at 207me.com <mailto:sdame at 207me.com>> wrote:
>>>>> Hi Brian, opened jira.  I’m using the standard vanilla conference.conf.xml which I attached.
>>>>> 
>>>>>  
>>>>> 
>>>>> The default profile does the same thing as cdquality.   vid-floor appears in conference list.
>>>>> 
>>>>>  
>>>>> 
>>>>> https://freeswitch.org/jira/browse/FS-9303 <https://freeswitch.org/jira/browse/FS-9303>
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Stephen
>>>>> 
>>>>>  
>>>>> 
>>>>> HostBBB – Online Learning Solutions  http://www.hostbbb.com <http://www.hostbbb.com/>
>>>>> 207 Technology Group Inc.   1-888-229-9756 <tel:1-888-229-9756>  skype: Stephen_Dame
>>>>> 
>>>>>  
>>>>> 
>>>>> From: freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org> [mailto:freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org>] On Behalf Of Brian West
>>>>> Sent: Monday, June 27, 2016 1:31 PM
>>>>> 
>>>>> 
>>>>> To: freeswitch-dev at lists.freeswitch.org <mailto:freeswitch-dev at lists.freeswitch.org>
>>>>> Subject: Re: [Freeswitch-dev] Can't write wav file.
>>>>> 
>>>>>  
>>>>> 
>>>>> Show me your profile?
>>>>> 
>>>>>  
>>>>> 
>>>>> On Mon, Jun 27, 2016 at 12:25 PM, Stephen Dame <sdame at 207me.com <mailto:sdame at 207me.com>> wrote:
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> It's the standard cdquality profile with no video configured that is having the issues writing the wav?  So an audio only profile thinks it's in video pass thru?
>>>>> 
>>>>>  
>>>>> 
>>>>> Sent from my U.S. Cellular® Smartphone
>>>>> 
>>>>>  
>>>>> 
>>>>> -------- Original message --------
>>>>> 
>>>>> From: Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>>
>>>>> 
>>>>> Date: 6/27/16 12:02 PM (GMT-05:00)
>>>>> 
>>>>> To: freeswitch-dev at lists.freeswitch.org <mailto:freeswitch-dev at lists.freeswitch.org>
>>>>> Subject: Re: [Freeswitch-dev] Can't write wav file.
>>>>> 
>>>>>  
>>>>> 
>>>>> That is correct, you can't record in passthrough mode, only in mux or transcode mode.  If you are getting that error, it means you are suing a conference profile in passthrough mode.
>>>>> 
>>>>> 
>>>>> On Monday, June 27, 2016, Stephen Dame <sdame at 207me.com <mailto:sdame at 207me.com>> wrote:
>>>>> 
>>>>> Further testing,  if I use a video profile video-mcu-stereo able to write the wav file with no problems.
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> 
>>>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/applications/mod_conference/conference_record.c#63 <https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/applications/mod_conference/conference_record.c#63>
>>>>>  
>>>>> 
>>>>> if (conference->conference_video_mode == CONF_VIDEO_MODE_PASSTHROUGH) {
>>>>> 
>>>>>                                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Video Passthru enabled, recording not permitted.\n");
>>>>> 
>>>>>                                 return;
>>>>> 
>>>>>                 }
>>>>> 
>>>>>  
>>>>> 
>>>>> So the standard cdquality profile not getting by CONF_VIDEO_MODE_PASSTHROUGH
>>>>> 
>>>>>  
>>>>> 
>>>>> Is this disabled somewhere in configs?
>>>>> 
>>>>>  
>>>>> 
>>>>> Thanks
>>>>> 
>>>>>  
>>>>> 
>>>>> Stephen
>>>>> 
>>>>>  
>>>>> 
>>>>> HostBBB – Online Learning Solutions 
>>>>> 
>>>>> 207 Technology Group Inc.   1-888-229-9756 <tel:1-888-229-9756>  skype: Stephen_Dame
>>>>> 
>>>>>  
>>>>> 
>>>>> From: freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org> [mailto:freeswitch-dev-bounces at lists.freeswitch.org <mailto:freeswitch-dev-bounces at lists.freeswitch.org>] On Behalf Of Stephen Dame
>>>>> Sent: Monday, June 27, 2016 7:07 AM
>>>>> To: freeswitch-dev at lists.freeswitch.org <mailto:freeswitch-dev at lists.freeswitch.org>
>>>>> Subject: [Freeswitch-dev] Can't write wav file.
>>>>> 
>>>>>  
>>>>> 
>>>>> Just built master on ubuntu14.04, had mod_av and mod_shout enabled.
>>>>> 
>>>>> I could play mp3,mp4,wav no problem but trying to record mp3/wav gives
>>>>> 
>>>>>  
>>>>> 
>>>>> -ERR Video Passthru enabled, recording not permitted.
>>>>> 
>>>>>  
>>>>> 
>>>>> I disabled mod_av, mod_shout to test the standard config.
>>>>> 
>>>>>  
>>>>> 
>>>>> Just Trying to write a wav file now, with cdquality conference (audio only)
>>>>> 
>>>>>  
>>>>> 
>>>>> conference 74771 record /tmp/test.wav
>>>>> 
>>>>> -ERR Video Passthru enabled, recording not permitted.
>>>>> 
>>>>>  
>>>>> 
>>>>> Any thoughts, Looking thru git commits.  Must be some config change.  Had working on feb 19th build.
>>>>> 
>>>>>  
>>>>> 
>>>>> Thanks
>>>>> 
>>>>>  
>>>>> 
>>>>> Stephen
>>>>> 
>>>>>  
>>>>> 
>>>>> HostBBB – Online Learning
>>>>> 
>>>>> 207 Technology Group Inc.   1-888-229-9756 <tel:1-888-229-9756>  skype: Stephen_Dame
>>>>> 
>>>>>  
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-dev mailing list
>>>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> 
>>>>> 
>>>>>  
>>>>> 
>>>>> --
>>>>> 
>>>>> Brian West
>>>>> brian at freeswitch.org <mailto:brian at freeswitch.org>
>>>>> 
>>>>> Twitter: @FreeSWITCH , @briankwest
>>>>> http://www.freeswitchbook.com <http://www.freeswitchbook.com/>
>>>>> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
>>>>> https://www.gofundme.com/freeswitch_ubuntu <https://www.gofundme.com/freeswitch_ubuntu>
>>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>> T:+19184209001 <tel:%2B19184209001> | F:+19184209002 <tel:%2B19184209002> | M:+1918424WEST (9378)
>>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>>> 
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-dev mailing list
>>>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-dev mailing list
>>>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-dev mailing list
>>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-dev mailing list
>>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>> 
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>> 
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org <mailto:FreeSWITCH-dev at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev <http://lists.freeswitch.org/mailman/options/freeswitch-dev>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160630/6be2e5c8/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-dev mailing list