<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54889</bug_id>
          
          <creation_ts>2025-06-23 13:39:49 +0300</creation_ts>
          <short_desc>freeswitch: fs_tts: Некорректно определяет наличие аргумента текста для произношения</short_desc>
          <delta_ts>2025-06-23 13:44:54 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>freeswitch-daemon</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=47335</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>ender</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267633</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-06-23 13:39:49 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y freeswitch-daemon
2. # fs_tts
3. # echo &quot;1&quot; | fs_tts file.wav 2
4. # echo &quot;1&quot; | fs_tts file.wav 2 extra-arg-so-it-works

Фактический результат
=====================

&gt; # fs_tts
&gt; Usage: fs_tts [options] output [text]
&gt;
&gt; The output must end in the format, e.g., myfile.wav myfile.mp3
&gt; 		 -c path		 Path to the FS configurations.
&gt; 		 -k path		 Path to the FS log directory
&gt; 		 -l module[,module]	 Load additional modules (comma-separated)
&gt; 		 -m path		 Path to the modules.
&gt; 		 -r rate		 sampling rate
&gt; 		 -v			 verbose
&gt; 		 -e			 TTS engine
&gt; 		 -V			 TTS voice

&gt; # echo &quot;1&quot; | fs_tts file.wav 2
&gt; Couldn&apos;t open tts://flite|kal|1

&gt; # echo &quot;1&quot; | fs_tts file.wav 2 extra-arg-so-it-works
&gt; Couldn&apos;t open tts://flite|kal|2


Ожидаемый результат
===================

* Вне зависимости от наличия лишних аргументов всегда выбирается либо stdin, либо аргумент текста.
* Лишние аргументы должны вызывать ошибку.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] ALT Server 11.0 x86_64
freeswitch-daemon-1.10.12-alt4.x86_64

[p11] ALT Server 11.0 x86_64
freeswitch-daemon-1.10.12-alt2.x86_64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>