HylaFAX The world's most advanced open source fax server

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

[hylafax-users] capi4hylafax reponds to non official DDIs



Hi @ all,

I'm using SuSE 10.1 (i586) with
- hylafax-client-4.2.5-14
- capi4hylafax-4.2.5-14
- hylafax-4.2.5-14

the problem I have is also discussed and related to:
http://lists.melware.net/pipermail/chan-capi-users/2007-September/000736.php

CAPI4hylafax answers calls-ins for 3 digit DDIs whereas 2 digits are
allowed.

First of all: the config.faxCAPI11 head

> SpoolDir:               /var/spool/fax
> FaxRcvdCmd:             /var/spool/fax/bin/faxrcvd
> PollRcvdCmd:            /var/spool/fax/bin/pollrcvd
> 
> #not longer as uucp cause of wrong permissions that stop delivery ;/
> FaxReceiveUser:         root
> FaxReceiveGroup:        dialout
> 
> LogFile:                /var/log/capifax
> LogFile:                /var/spool/fax/log/capi4hylafax
> 
> LogTraceLevel:          4
> 
> LogFileMode:            0600
> 
> 
> # Controller 1, B-Channel 1
> { HylafaxDeviceName:          faxCAPI11
>     RecvFileMode:               0600
>     FAXNumber:                  +49.30.12321.01
>     LocalIdentifier:            "interexa AG"
>     MaxConcurrentRecvs:         1
>     OutgoingController:         1
>     OutgoingMSN:                1232101
>     SuppressMSN:                0
>     NumberPrefix:               
>     UseISDNFaxService:          0
>     RingingDuration:            0
>     { Controller:             1
>         AcceptSpeech:           1
>         UseDDI:                 1
>         DDIOffset:              12321
> #        DDILength:              2
>         IncomingDDIs:           01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
>         IncomingMSNs:           
>         AcceptGlobalCall:       0 } }
> 
> # Controller 1, B-Channel 2
> { HylafaxDeviceName:          faxCAPI12
> ####### and SO ON # TRUNKATED by marcel #######

startup tells me:

> Sep 27 11:56:49.77: [17816]: c2faxrecv - INFO: 
> C4H-Version 01.03.00 (32Bit).
> 
> Sep 27 11:56:49.77: [17816]: c2faxrecv - INFO: The SpoolDirectory is /var/spool/fax.
> Sep 27 11:56:49.77: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI11" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.77: [17816]: c2faxrecv - INFO: Controller=1 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.78: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI12" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.78: [17816]: c2faxrecv - INFO: Controller=1 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI21" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: Controller=2 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI22" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: Controller=2 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI31" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: Controller=3 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: 
> Device "faxCAPI32" uses 1 receive thread(s) with the following config:
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: Controller=3 : DDIOffset=12321 : IncomingDDIs=01,03,08,12,14,16,18,20,23,25,27,29,30,32,34,36,41,43,45,46,52,54,57,59,61,63,65,69,76,78
> Sep 27 11:56:49.83: [17816]: c2faxrecv - INFO: 
> Started in Hylafax mode and waiting on incoming calls.

so a call-in on DDI 01 works fine (asterisk ignores this DDI), DDI 02
doesn't work, whereas e.g. 056 will be accepted in failure. (see next)

> Sep 27 11:57:28.48: [ 2512]: c2faxrecv - INFO: SESSION BEGIN 000000907 +49.30.12321.01
> Sep 27 11:57:28.49: [ 2512]: c2faxrecv - INFO: Incoming speech call on controller 1 from 176210XXXXX to 056.
> Sep 27 11:57:28.49: [25376]: c2faxrecv - INFO: SESSION BEGIN 000000908 +49.30.12321.01
> Sep 27 11:57:28.49: [25376]: c2faxrecv - INFO: Incoming speech call on controller 1 from 176210XXXXX to 056.
> Sep 27 11:57:28.49: [25376]: c2faxrecv - INFO: Connection is droped with reason 0x3304 (Another application got that call).
> Sep 27 11:57:28.49: [25376]: c2faxrecv - INFO: SESSION END
> Sep 27 11:57:30.91: [ 2512]: c2faxrecv - INFO: Connection is droped with reason 0x3490 (Normal call clearing).
> Sep 27 11:57:30.91: [ 2512]: c2faxrecv - INFO: SESSION END

Cause of some customers still dials a wrong / invalid and too long DDI,
I want to redirect the call to a "The number you've dialed is invalid,
please try again" message for the callee

Any ideas how to fix this?

With kind regards,
~Marcel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Project hosted by iFAX Solutions