HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] t38modem and calledid routing



I've solved my problem, I report here what I done:

config.ttp0

ModemResetCmds:        "AT#CID=10"    # enable ANI/DNIS reporting
RingsBeforeAnswer:    2        # collect info between two RINGs
#QualifyCID:        etc/cid        # CID access control list file
CIDNumber:        "NMBR = "    # pattern string for calling number
CallIDPattern:        "NDID = "        # pattern string for called number

RingsBeforeAnswer > 1 is indispensable, if I set it to 1 hylafax canìt
report CID

FaxDispatch:

case "$CALLID1" in
1112341234)     SENDTO=daniele.gallarato@xxxxxxxx; FILETYPE=tif;;
esac
TEMPLATE=it

only a problem (I write it here, maybe good luck assist me another time ;)):

when I receive fax in letter format, they come properly, but if I
receive faxes into A4 format, document (tiff or pdf) are truncated at
the end of the text (so, blank lines are truncated)

is there a way to avoid this and receive complete document?

Thanks
Daniele




Daniele Gallarato wrote:
> Hello all.
> I'm setting up another hylafax installation, it works greatly.
> Calls coming in into a router, that forward them via h323 to my server, where t38modem answer and
> pass the calls to hylafax, and so on...
> Only a little problem:
>
> when we receive faxes, we need to identify calledid number, to route fax via mail, but I can't get
> it  working
> I've tried to reconfigure config.ttyp0, using:
>
> ModemResetCmds:         "AT#CID=10"
> CallIDPattern:          "NDID = "
>
> or
>
> CIDName:		"NDID = "
>
> but it doesn't work
>
> In /var/log/syslog I can see only
>
> ANSWER: FAX CONNECTION  DEVICE '/dev/ttyp0'
>
> and not CID informations....
>
> Any suggestion will be appreciated.
>
> Thanks
> Daniele
>   


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions