[Soci SLIP] hylafax e 011
Lucio Crusca
lucio a sulweb.org
Mar 7 Apr 2009 11:45:31 CEST
On martedė 7 aprile 2009 11:12:07 Massimo Nuvoli wrote:
> Ascolta, non č per caso che č impostato un "prefisso" locale
> internazionale o similare che č "01"????
>
> Di solito sono nel file della configurazione del modem:
>
Facciamo cosė, ecco il file config.ttyS2:
CountryCode: 39
AreaCode: 0121
FAXNumber: +39012137....
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0666
LogFileMode: 0666
DeviceMode: 0666
ModemDialCmd: "ATx3DT0,%s@"
RingsBeforeAnswer: 4
SpeakerVolume: Off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Studio ...."
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "Da %%l|%c|Pag. %%P di %%T"
MaxRecvPages: 25
ModemType: Class2 # use class 2 interface
ModemRate: 19200
ModemFlowControl: xonxoff # default
ModemWaitForConnect: yes # wait for CONNECT on answer
ModemNoFlowCmd: AT&K # disable flow control cmd
ModemHardFlowCmd: AT&K3 # hardware flow control cmd
ModemSoftFlowCmd: AT&K4 # software flow control cmd
ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset
ModemSetupDCDCmd: AT&C1 # DCD follows carrier
ModemSetupAACmd: AT+FCLASS=0;+FAA=1 # enable in class 0
ModemSendFillOrder: LSB2MSB # as expected
ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
Class2RecvDataTrigger: "\022" # a la 2388-B
84,1
>
> E va controllato che ci siano dialrules che bloccano le chiamate
> internazionali...
...e dialrules č in allegato a questo messaggio. Ci vedete qualcosa di strano?
-------------- parte successiva --------------
! $Id: dialrules.europe,v 1.2 2003/02/08 22:58:09 darren Exp $
!
! HylaFAX (tm) Dialing String Processing Rules
! for much of Europe.
!
! From: "Ed Cole" <ed a neu.sgi.com>
!
! This file describes how to process user-specified dialing strings
! to create two items:
!
! CanonicalNumber: a unique string that is derived from all dialing
! strings to the same destination phone number. This string is used
! by the fax server for ``naming'' the destination.
!
! DialString: the string passed to the modem for use in dialing the
! telephone. This string should be void of any characters that might
! confuse the modem.
!
Area=${AreaCode} ! local area code
Country=${CountryCode} ! local country code
IDPrefix=${InternationalPrefix} ! prefix for placing an international call
LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call
!
WS=" " ! our notion of white space
!
! Convert a phone number to a canonical format:
!
! +<country><areacode><rest>
!
! by (possibly) stripping off leading dialing prefixes for
! long distance and/or international dialing.
!
CanonicalNumber := [
%.* = ! strip calling card stuff
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
[^+0-9]+ = ! strip white space etc.
^${IDPrefix} = + ! replace int. dialing code
^${LDPrefix} = +${Country} ! STD call (long distance)
^[^+] = +${Country}${Area}& ! else cononicalize
]
!
! Process a dialing string according to local requirements.
! These rules do only one transformation: they convert in-country
! international calls to long-distance calls.
!
DialString := [
[-${WS}.]+ = ! strip syntactic sugar
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
^${IDPrefix}${Country}${Area} = ! local phone call
^${LDPrefix}${Area} = ! local phone call
^${IDPrefix}${Country} = ${LDPrefix} ! STD call (long distance)
^[+]${Country}${Area} = ! local phone call
^[+]${Country} = ${LDPrefix} ! STD call (long distance)
^[+] = ${IDPrefix} ! international call
]
Maggiori informazioni sulla lista
Soci