Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] CID REJECTED...
At 05:47 PM 4/15/01 +1000, Campbell McKilligan wrote:
>Can someone help with this? Fax receives fine when qualifyCID is
>commented out. With qualifyCID as shown and etc/cid allowing all
>numbers calls are always rejected... any clues?
>[campbell@chandler etc]# cat cid
>^.*$ # allow all
>Apr 11 03:57:39 chandler FaxGetty[776]: --> [4:RING]
>Apr 11 03:57:39 chandler FaxGetty[776]: --> [11:DATE = 0410]
>Apr 11 03:57:39 chandler FaxGetty[776]: --> [11:TIME = 1818]
>Apr 11 03:57:39 chandler FaxGetty[776]: --> [17:NMBR = 0298723980]
>Apr 11 03:57:42 chandler FaxGetty[776]: --> [4:RING]
>Apr 11 03:57:42 chandler FaxGetty[776]: ANSWER: CID NUMBER "0298723980"
>NAME ""
>Apr 11 03:57:48 chandler FaxGetty[776]: --> [4:RING]
>Apr 11 03:57:48 chandler FaxGetty[776]: STATE CHANGE: LISTENING ->
>ANSWERING
>Apr 11 03:57:48 chandler FaxGetty[776]: ANSWER: CID REJECTED
>Apr 11 03:57:48 chandler FaxGetty[776]: <-- [5:ATH0\r]
>Apr 11 03:57:48 chandler FaxGetty[776]: -->
>[2:OK]
I don't have caller-ID here, so I'm basing everything I say here on my
knowledge and experience with TSID. A couple of things...
First, you ought to try placing "^0298723980$" in the cid file to see what
happens. If it rejects that, then there may be something seriously wrong
with CID handling in HylaFAX. Is anyone out there using CID rejection out
there? Can you comment about its functionality?
Lastly, I don't think that this is the problem, necessarily, but perhaps
it's worth mentioning for future things. TSI handling suffered from a
problem where null tsi could not be matched, so every call with null tsi
would be rejected (which is a significant number, unfortunately). There is
a patch for this at
http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=100
which has been committed to CVS and will be present in the upcoming beta4
release. If HylaFAX uses the same function to match CID as it does to
match TSI, then this may be a future factor... perhaps. Too bad there's
not a cidtest utility.
Lee.
Here's a demo of null-TSI matching, before and after the patch...
-- before... --
[root@providence deanox]# /usr/local/sbin/tsitest ./tsi
ready>
input = ""
[check ^.*$]
[check ^$]
reject (no pattern match)
ready>
-- after... --
[root@server deanox]# /usr/sbin/tsitest ./tsi
ready>
input = ""
[check ^.*$]
accept (matched by ^.*$)
ready>
-- after if you want to reject null-tsi --
[root@server deanox]# /usr/sbin/tsitest ./tsi
ready>
input = ""
[check ^$]
reject (matched by ^$)
ready>
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null