[asterisk-users] fax2mail ann missing CallerID number
Thomas Stein
thomas.stein at knowledgetools.de
Wed May 30 02:47:53 MST 2007
Hello.
I have a problem recieving fax without a callerid. Somehow the script i'm
using fails and i don't know how to fix it. Does anyone have an idea how to
solve this? Here an example of a working fax transmission:
>fax2mail v2.0
> Triggered on Tuesday, May 29 2007, at 10:38 AM
> $1 = CallerID number of fax sender = 02365207150
> $2 = CallerID name of fax sender =
> $3 = Fax number called = FaxNum
> $4 = Destination name = RecipName
> $5 = Destination email address = fax at mydomain
> $6 = Fax file name (without .tif extension)
> = /var/spool/asterisk/fax/02365207150
> $7 = Format conversion (n=none,p=pdf,e=eps) = p
> Fax file /var/spool/asterisk/fax/02365207150.tif found.
> Converted /var/spool/asterisk/fax/02365207150.tif
> to /var/spool/asterisk/fax/02365207150.pdf.
> E-mailed file to fax at mydomain
> Removing destination file /var/spool/asterisk/fax/02365207150.pdf
And here without the transmitted callerid:
>fax2mail v2.0
> Triggered on Wednesday, May 30 2007, at 10:04 AM
> $1 = CallerID number of fax sender =
> $2 = CallerID name of fax sender = FaxNum
> $3 = Fax number called = RecipName
> $4 = Destination name = fax at mydomain
> $5 = Destination email address = /var/spool/asterisk/fax/
> $6 = Fax file name (without .tif extension) = p
> $7 = Format conversion (n=none,p=pdf,e=eps) =
> Fax file p.tif not found.
> E-mailed warning to /var/spool/asterisk/fax/
In this case i have a file called .tif in my /var/spool/asterisk/fax folder.
Here the relevant part of asterisk extension.conf
exten => 49,1,Set(FAXFILE=/var/spool/asterisk/fax/${CALLERIDNUM}.tif)
exten => 49,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${CALLERIDNUM})
exten => 49,n,rxfax(${FAXFILE})
exten => 49,n,System('/usr/local/bin/fax2mail ${CALLERIDNUM} "${CALLERIDNAME}"
FaxNum RecipName fax at mydomain ${FAXFILENOEXT} p')
Thanks in advance for any help.
best regards
--
knowledgeTools® ... managing complexity.
--------------------------------------------------
knowledgeTools International GmbH
Wallstraße 15 / 15 a
10179 Berlin
Fon: +49 30 726 169 20
Fax: +49 30 726 169 249
thomas.stein at knowledgetools.de
www.knowledgetools.de
Sitz Berlin, AG Berlin-Charlottenburg, HRB 86378
Geschäftsführer: Oliver Seyboldt, Reinhard Kunz
--------------------------------------------------
This eMail communication (and any attachment/s) may contain confidential or
privileged information and is intended only for the individual(s) or entity
named above and to others who have been specifically authorized to receive
it. If you are not the intended recipient, please do not read, copy, use or
disclose the contents of this communication to others. Please notify the
sender that you have received this e-mail in error by reply e-mail, and
delete the e-mail subsequently. Thank you.
More information about the asterisk-users
mailing list