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] Why doesn't my $CIDNUMBER dispatch work?
* 飞飞 <feifeidai@xxxxxxxxx> [080225 09:46]:
> Hi,guys
> i resolve this problem.
> I eidt the faxrcvd.sh,I think it necessary insert some sentence in order to
> let the $CIDNUMBER and $CINNAME get value.
> I use awk syntax to deal with the log/c$COMMID, crawl the cidnumber and
> cinname ,then give these to the $CIDNUMBER and $CINNAME.
> The Caller-ID routing can work now by the etc/FaxDispatch.
That sounds like a lot of extra work.
You didn't post the *end* of this log file:
> > Feb 24 17:56:21.93: [10205]: SESSION BEGIN 000000112 +8602163528123
> > Feb 24 17:56:21.93: [10205]: HylaFAX (tm) Version 4.2.5
> > Feb 24 17:56:21.93: [10205]: <-- [4:ATA\r]
> > Feb 24 17:56:23.15: [10205]: --> [9:DATE=0224]
> > Feb 24 17:56:23.15: [10205]: --> [9:TIME=1756]
> > Feb 24 17:56:23.15: [10205]: --> [13:NMBR=63528124]
> > Feb 24 17:56:33.59: [10205]: --> [7:CONNECT]
but at the end of it, you should see some lines includeing
Feb 03 22:23:24.53: [ 989]: RECV FAX: bin/faxrcvd "recvq/fax000242997.tif" "boston00" "000269719" "" "NXXNXXXXXX" "NXXNXXXXXX"
HylaFAX 4.2.5 set CIDNUMBER to be the "5th" argument, and CIDNAME to be
the "6th" argument. But these are actually "deprecated", and you should
be using "CALLID1/CALLID2/CALLIDn". And the order" that they appear in
the command line depends on how you've configured faxgetty to look
for/record the CallID information.
Check carefully the hylafax-config man page (look for the CallID* options), and
look in your faxgetty syslog output, and you should see what CallID information
is associated with which <n> of CallID<n>. You should see lines like this in
syslog form FaxGetty:
Jan 21 18:23:58 yugib FaxGetty[6877]: ANSWER: Call ID 1 "613xxxxxxx"
Jan 21 18:23:58 yugib FaxGetty[6877]: ANSWER: Call ID 2 "XXXX XXXXXX"
Jan 21 18:23:58 yugib FaxGetty[6877]: ANSWER: Call ID 3 "613xxxxxxx"
So in faxdispatch, I would use those as:
$CALLID1
$CALLID2
$CALLID3
a.
--
Aidan Van Dyk aidan@xxxxxxxx
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/
____________________ 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*