HylaFAX The world's most advanced open source fax server

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

[hylafax-users] ModemDialCmd not working as expected



I have the following line for my ModemDialCmd in config.ttyS0

ModemDialCmd:           ATDT9,1%s

I need to dial 9 to get an outside line.  I have been noticing that all faxes to long distance numbers are failing.  Here is a relevant log file:

----------------------------------------------------------------------------------------------------------------
Feb 26 17:16:41.55: [28396]: SESSION BEGIN 000027574 15182293127146
Feb 26 17:16:41.55: [28396]: HylaFAX (tm) Version 4.3.0
Feb 26 17:16:41.55: [28396]: SEND FAX: JOB 17952 DEST 2293127146 COMMID 000027574 DEVICE '/dev/ttyS0' FROM 'root <faxmaster@xxxxxxxxxxxx>' USER root
Feb 26 17:16:41.55: [28396]: <-- [10:AT+FTBC=0\r]
Feb 26 17:16:41.56: [28396]: --> [2:OK]
Feb 26 17:16:41.56: [28396]: <-- [10:AT+FBOR=0\r]
Feb 26 17:16:41.57: [28396]: --> [2:OK]
Feb 26 17:16: 41.57: [28396]: <-- [13:AT+FPHCTO=30\r]
Feb 26 17:16:41.57: [28396]: --> [2:OK]
Feb 26 17:16:41.57: [28396]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
Feb 26 17:16:41.59: [28396]: --> [2:OK]
Feb 26 17:16: 41.59: [28396]: DIAL 2293127146
Feb 26 17:16:41.59: [28396]: <-- [18:ATDT9,12293127146\r]
Feb 26 17:17:47.72: [28396]: --> [10:NO CARRIER]
Feb 26 17:17:47.72: [28396]: SEND FAILED: JOB 17952 DEST 2293127146 ERR No carrier detected
Feb 26 17:17:47.72: [28396]: <-- [5:ATH0\r]
Feb 26 17:17:47.75: [28396]: --> [2:OK]
Feb 26 17:17:47.75: [28396]: SESSION END
----------------------------------------------------------------------------------------------------------------

It looks as though it is dialing as I would like it to, but I received a phone call today from someone who had phone number of 5182293127, and they said they missed a couple calls from me.  I am in area code 518,
so somehow when the modem dials out, it seems like the "1" is not getting dialed.  Calls within the 518 are code work fine.  Can anyone help me fix my ModemDialCmd to make the long distance numbers work?


Project hosted by iFAX Solutions