This was a limit in fs_cli, which could only handle 256 chars in the -x argument. Per Tony I bumped it up to 1024 chars in the latest git. Also, I just tested libs/esl/perl/<a href="http://single_command.pl">single_command.pl</a> and it can have really long arguments, so if you cannot update to latest git right this minute then you can always send your command using <a href="http://single_command.pl">single_command.pl</a>.<div>
<br></div><div>-MC<br><br><div class="gmail_quote">On Sun, Nov 28, 2010 at 9:17 AM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Hi All,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I'm currently playing with send a fax like this :</font></div>
<div><font size="2"></font> </div>
<div><font size="2">/usr/local/freeswitch/bin/fs_cli -x "originate
{originate_caller_id_number=9999999999999,fax_enable_t38=true,fax_enable_t38_request=true,absolute_codec_string=PCMU,nibble_account=9999999999999,nibble_rate=(lcr(1111111111111)*2.3)}sofia/gateway/trunk/1111111111111
&txfax(/usr/local/freeswitch/storage/FAX/test/test.tiff)"</font></div>
<div><font size="2"></font> </div>
<div><font size="2">but it seems that the originate command line has chars length
limit, so the command line is trunkated and give this result :</font></div>
<div><font size="2">2010-11-28 12:15:24.929729 [ERR] mod_spandsp_fax.c:1019 Cannot
send non-existant fax file [/usr/local/fre]<br></font></div>
<div><font size="2">also do I need to set tot true T38 the 2 vars if my trunkn is
T38 compatible ? I noticed that send a fax has not a high percentage of
success.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Any help would be appreciated</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Franck</font></div>
<div><font size="2"> </font></div>
<div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>