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] JobControlCmd not executed
Hi Aidan,
tnx for your answer
Here is the log of faxq start, I don't see JobControlCmd being set...
Jul 16 19:57:21 faxgw FaxQueuer[22110]: servertracing = 0xFFFFF (line 1)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: logfacility = daemon (line 2)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: countrycode = 39 (line 3)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: areacode = 011 (line 4)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: longdistanceprefix = 0 (line 5)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: internationalprefix = 00 (line 6)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define AreaCode = "011"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define CountryCode = "39"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define LongDistancePrefix = "0"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define InternationalPrefix = "00"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define Area = "011"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define Country = "39"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define IDPrefix = "00"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define LDPrefix = "0"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Define WS = " ^I"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: CanonicalNumber := [
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "%.*" = ""
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[abcABC]" = "2"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[defDEF]" = "3"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[ghiGHI]" = "4"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[jklJKL]" = "5"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[mnoMNO]" = "6"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[prsPRS]" = "7"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[tuvTUV]" = "8"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[wxyWXY]" = "9"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[^+0-9]+" = ""
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "^00" = "+"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "^0" = "+39"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "^[^+]" = "+39011&"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: ]
Jul 16 19:57:21 faxgw FaxQueuer[22110]: DialString := [
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[- ^I.]+" = ""
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[abcABC]" = "2"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[defDEF]" = "3"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[ghiGHI]" = "4"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[jklJKL]" = "5"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[mnoMNO]" = "6"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[prsPRS]" = "7"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[tuvTUV]" = "8"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "[wxyWXY]" = "9"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "^[+]39" = "0"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: "^[+]" = "00"
Jul 16 19:57:21 faxgw FaxQueuer[22110]: ]
Jul 16 19:57:21 faxgw FaxQueuer[22110]: dialstringrules = etc/dialrules
(line 7)
Jul 16 19:57:21 faxgw FaxQueuer[22110]: HylaFAX (tm) Version 4.3.1
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Copyright (c) 1990-1996 Sam Leffler
Jul 16 19:57:21 faxgw FaxQueuer[22110]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.
Here is the log of a fax submission:
Jul 16 20:02:10 faxgw HylaFAX[22242]: Filesystem has SysV-style file
creation semantics.
Jul 16 20:02:10 faxgw HylaFAX[22242]: What we have here is a PDF file
Jul 16 20:02:10 faxgw FaxQueuer[22110]: SUBMIT JOB 67
Jul 16 20:02:13 faxgw FaxQueuer[22110]: JOB 67: bad exit status 0xff00
from sub-fork
Jul 16 20:02:14 faxgw FaxGetty[22147]: LOCKWAIT
Jul 16 20:02:19 faxgw FaxSend[22247]: MODEM EICON TECHNOLOGY CORP. DIVA
Unix ISDN Modem/Version 1.0
Jul 16 20:02:19 faxgw FaxSend[22247]: SEND FAX: JOB 67 DEST XXXXXXX
COMMID 000000161 DEVICE '/dev/ttyds02' FROM 'edoardo
<eserra@xxxxxxxxxx>' USER root
Jul 16 20:02:30 faxgw FaxSend[22247]: SEND FAILED: JOB 67 DEST XXXXXXX
ERR No answer (T.30 T1 timeout)
(don't worry about fax failure, I called my mobile phone for test)
I see that JOB 67: bad exit status 0xff00 from sub-fork, could it be
related ?
Tnx for help
Regards
Edoardo
Aidan Van Dyk ha scritto:
> * Edoardo Serra <eserra@xxxxxxxxxx> [080716 12:36]:
>> Hi all,
>> I'm using Hylafax 4.3.1 on a debian etch with an Eicon Diva ISDN board
>>
>> I need to set the outbound callerid on a per-fax basis, I tryed +iOXXXX
>> AT command and it works perfectly
>>
>> I'm trying to setup a jobcontrol script to specify a string like
>> ModemDialCmd: "ATS0=255;+iO0110674703;DT%s" on a per-job basis but I
>> cannot get it working.
>>
>> It seems to me that jobcontrol script is never executed
>>
>> Here is my /var/spool/hylafax/etc/config
>> LogFacility: daemon
>> CountryCode: 39
>> AreaCode: 011
>> LongDistancePrefix: 0
>> InternationalPrefix: 00
>> DialStringRules: etc/dialrules
>> ServerTracing: 1
>> MaxConcurrentCalls: 100
>> JobControlCmd: bin/jobcontrol
>
> This looks good. Can you set this too as the very first line of the
> file, and then show us the logs of faxq configs being set?
> ServerTracing: 0xFFFFF
>
>> Here is my /var/spool/hylafax/bin/jobcontrol
>>
>> echo "ATS0=255;+iO0110674703;DT%s"
>> touch /tmp/hywbr
>>
>> /tmp/hywbr is not created, I'm using that to see if the script was ever
>> executed
>>
>> As you can see from ls output, jobcontrol is executable from uucp
>>
>> # ls -l /var/spool/hylafax/bin/jobcontrol
>> -rwxr-xr-x 1 root root 130 2008-07-16 15:42
>> /var/spool/hylafax/bin/jobcontrol
>
> That looks good too.
>
> With the above servertracing settings, can you show us some of the faxq
> syslog output? Generally /var/log/daemon.log in debian.
>
> a.
>
____________________ 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*