[asterisk-users] send fax by Iaxmodem ?
Marco Mouta
marco.mouta at gmail.com
Thu Dec 14 04:14:36 MST 2006
Hi all,
First let me say thank you for Lee Howard, you definitely found my problem
on sending faxes!
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.
I'm not an used with sed so it will take me some time to understand how it
works and correct this.
By the way i notice a small isse "bug" on hy-email2fax available for
download on
http://wpkg.org/email2fax/files/hy-email2fax
------------------------------------------------------------------------------
#########################################
# Make a temporary file out of an email #
#########################################
cat | sed 's/
$//'>$EMAILFILE
------------------------------------------------------------------------------
I only got Hy-email2fax working fine after changing this to:
cat | sed 's/$//'>$EMAILFILE
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.
After this Hands on I can sucessfully send faxes with Hy-email2fax -->
Hylafax--->asterisk Sucessfully.
But as i mentioned before i need to get ride of ^M on the subject line.
Any one can help me on this?
Best regards,
Marco Mouta
On 12/13/06, Lee Howard <faxguy at howardsilvan.com> wrote:
>
> Marco Mouta wrote:
>
> > Dec 13 11:28:07.51: [ 9242]: DIAL 2079^M
> > Dec 13 11:28:07.51: [ 9242]: <-- [9:ATDT2079\r]
> > Dec 13 11:28:16.70: [ 9242]: --> [4:BUSY]
> > Dec 13 11:28:46.70: [ 9242]: MODEM TIMEOUT: reading line from modem
> > Dec 13 11:28:46.71: [ 9242]: MODEM <Timeout>
> > Dec 13 11:28:46.71: [ 9242]: SEND FAILED: JOB 1 DEST 2079^M ERR
> > Unknown problem
>
>
> In your case BUSY means exactly that, and you should take a look at the
> Asterisk CLI to get more information as to what "busy" really means.
>
> However, your dialstring terminated by a carriage return (<CR> or ^M) is
> problematic, too, because it essentially instructs HylaFAX to ignore all
> responses after ATDT2079 except for "OK" and then proceed from there.
> Basically you just need to get rid of that terminating carriage return.
>
> Lee.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061214/d9bf4dca/attachment.htm
More information about the asterisk-users
mailing list