Hi all,<br><br>First let me say thank you for Lee Howard, you definitely found my problem on sending faxes!<br><br>I'm using hy-email2fax to send faxes, and i notice that is there the problem is starting, as the subject of my .eml file contains only the phone number but then some how hy-email2fax is not detecting the ^M at the end of subject.
<br><br>I'm not an used with sed so it will take me some time to understand how it works and correct this.<br><br>By the way i notice a small isse "bug" on hy-email2fax available for download on <br><a href="http://wpkg.org/email2fax/files/hy-email2fax">
http://wpkg.org/email2fax/files/hy-email2fax</a><br><br>------------------------------------------------------------------------------<br><pre>#########################################<br># Make a temporary file out of an email #
<br>#########################################<br><br>cat | sed 's/<br>$//'>$EMAILFILE </pre>------------------------------------------------------------------------------<br><br>I only got Hy-email2fax working fine after changing this to:
<br><pre>cat | sed 's/$//'>$EMAILFILE <br><br><br></pre>
Any ways this is working fine only for tests, because as i mentioned above "I'm in troubles with a carriage return on email subject", to test Sucessfully this hy-email2fax i hardcoded the variable NEWNUMBER="XXXX" to my dialed number.
<br><br>After this Hands on I can sucessfully send faxes with Hy-email2fax --> Hylafax--->asterisk Sucessfully.<br><br>But as i mentioned before i need to get ride of ^M on the subject line.<br><br>Any one can help me on this?
<br><br>Best regards,<br>Marco Mouta<br><br><br><div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">Lee Howard</b> <<a href="mailto:faxguy@howardsilvan.com">faxguy@howardsilvan.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Marco Mouta wrote:<br><br>> Dec 13 11:28:07.51: [ 9242]: DIAL 2079^M<br>> Dec 13 11:28:
07.51: [ 9242]: <-- [9:ATDT2079\r]<br>> Dec 13 11:28:16.70: [ 9242]: --> [4:BUSY]<br>> Dec 13 11:28:46.70: [ 9242]: MODEM TIMEOUT: reading line from modem<br>> Dec 13 11:28:46.71: [ 9242]: MODEM <Timeout>
<br>> Dec 13 11:28:46.71: [ 9242]: SEND FAILED: JOB 1 DEST 2079^M ERR<br>> Unknown problem<br><br><br>In your case BUSY means exactly that, and you should take a look at the<br>Asterisk CLI to get more information as to what "busy" really means.
<br><br>However, your dialstring terminated by a carriage return (<CR> or ^M) is<br>problematic, too, because it essentially instructs HylaFAX to ignore all<br>responses after ATDT2079 except for "OK" and then proceed from there.
<br>Basically you just need to get rid of that terminating carriage return.<br><br>Lee.<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>