{++} denotes that this command is only available in 'cFos Professional', i.e. when you register 'cFos'. A hash '#' indicates that this command is available with cFos broadband extension only. ----------------------------------------------------------------------- cFos Modem Command Set ----------------------------------------------------------------------- ? Show a small help screen of AT Commands and important S-registers. A Force Answer Bn Select protocol ONLY for outgoing calls 0 X.75 without B3 protocoll, 64000bps ("ISDNC") s22=2048, s26=2, s28=2048 1 V.110 async, 38400bps, 8n1 ("ISDNB") s22=2048, s26=2, s28=2048 2 V.110 async, 19200bps, 8n1 ("ISDNA") s22=2048, s26=2, s28=2048 3 TELES 128kbps Bundle Protocol s22=2048, s26=2, s28=2048 4 X.75, Framelen=256, Win.Size=7 (ELINK mode) s22=framelen, s26=7, s28=256 5 Datex-J (BTX), Framesize=130, Win.Size=7 s22=framelen, s26=7, s28=128 6 same as 5, but switches VT-100 on 7 analogue modem, if possible 8 sync PPP over HDLC (acc. to RFC1662) 9 CompuServe via BTX 10 V.110 async, 9600 bps, 8, n, 1 11 V.110 async, 9600 bps, 7, e, 1 12 V.120 13 X.31 14 Call to remote configure a remote cFos 15 sync PPP over X.31 with more data bit support 'framelen' refers to the framelen set by -b switch on commandline; all values are checked not to exceed the commandline given settings D.. Dial L dial last number S dial stored number (hardcoded, 0=Zaphods BBS) 0..9 digits A..D#* special "digits" Ex select MSN x (like &Ex) !x dito =b select budget b; 0=no budget, a=budget 10 s dial number and flag connection as SPV En Command Echo 0 echo off 1 echo on Hn On/Off Hook control 0 on hook, terminate an active connection 1 off hook, reject an incoming call In Inquiry 0 product identification and CAPI version and manufacturer 2 last call statistics 5 some CAPI infos (number of charging infos and time/date infos) (not CFOSN) 6 some OS-dependant information on cFos 7 PPP statistics * Ln Speaker volume control (only analogue calls, modifies S112) 0 silent 1 normal low 2 normal high 3 maximum * Mn Speaker control (only analogue calls, modifies S112) 0 off 1 on while dialing & negotiation 2 always on 3 same as 1 Qn Quiet mode, result codes display 0 display result codes 1 suppress result code; be Quiet Sr=n Set register r to value n (registers are unsigned 16bit ints) Sr.b=n Set bit b to n Sr,b=n Set bit b to n Sr? Query register r SrH=n Set high byte of register r to value n SrL=n Set low byte of register r to value n Vn Verbal mode 0 numeric result codes 1 verbal result codes Xn Result code options 0 modem looks (i.e. responds) like a standard 9600 bps modem 1 like X0, but enables CONNECT 2 like X1, but enables RINGING 3 like X2, but enables RING 4 like X3, but enables CONNECT[...]/ 5 like X4, but enables ? 6 like X5, but enables / on ERROR, NO CARRIER, NO ANSWER and NO DIALTONE 7 like X6, but enables /COMPR and /V42B message after CONNECT 8 like X7, but enables /PPP message after CONNECT Zn Restore profile from number n (out of the file PROFILE). This will further reregister the application at the CAPI. If no number is given, 0 will be default. Fn \ Kn | Nn | ignored for compatibility O | P | T / ----------------------------------------------------------------------- cFos extended Modem Command Set ----------------------------------------------------------------------- &Ak=nnn Configure the MSN k to number nnn. The AT&L resp. AT&E commands use the numbers set with AT&A for to select incoming calls resp. to set the calling number on outgoing calls. Example: AT&A0=2233445 set 2233445 as MSN 0 AT&A1=1234567 set 1234567 as MSN 1 AT&A2=9876543 set 9876543 as MSN 2 {++} &Bn Number of Channels to use for 'cFos' Channel Bundling, for next dial command &Cn DCD override 0 DCD always high 1 DCD follows connection state: high=connection active, low=no connection active &Dn Status line 0 disable status line (default) 1 display status line, if port is initialized 2 display status line, if carrier is high 3 always display status line &En MSN index: n = '0' ... '9': changes register 18. Default is MSN 0, ie. the MSN specified by AT&A0=... &F Reset to Factory defaults and reset. Does not clear the accumulated charges nor budget data. &G Accumulated costs management 0 Display accumulated costs in currency units 1 Clear accumulated costs 5 Display budget data for all budgets 6 Clear budget data for budget &H This sets the hangup string to "+++". E.g. this enables setting the hangup sequence to "+++ATHE1" for the pcANYWHERE "Hayes compatible modem". Default is = "ATH0", i.e. the hangup-sequence is "+++ATH0". +++ sequence is supported only by cFos/DOS. &I.. Listen to services; changes register 14; takes 'A' (Analog or Audio) and/or 'D' (Data or Digital) as parameter. Use register S44 to select mode for analogue calls. &Kn Enable/Disable inband-negotiation / cFos data compression 0 disable both {++} 1 enable negotiation and cFos data compression 2 enable negotiation without cFos data compression &Lnnn Listen to what MSN's; changes register 13; takes multiple digits or '*' for all. Default is all MSNs. &Mn Select bundling mode. 0 static bundling 1 dynamic bundling &Onnn Outdial Number. This number will be used as prefix for all phone numbers dialed with the ATD command. Default is none. &Qn Select CAPI data compression (V.42bis) 0 disable data compression in CAPI 1 enable data compression in CAPI &Rn Reregister the application if all ports are idle; use &R1 to force reregister (and lockout of all active connections!) &Sn=.. Set string register to hex values. Example: AT&S1=303132 sets the register &S1 to 30 31 32 &Sn='..' Set string register to string Example: AT&S1='012' sets the register &S1 to 30 31 32, i.e. the hex values of '012' &Sn? Query string register &T TRANX: set the clock to the actual time/date (gotten from the last connection attempt). &Vn View profile, screens 0-2 (n=screen #) &Wn Write profile to number n (into a file named PROFILE). If no number is given, it defaults to 0. &Xn n=1, X.31, D-Channel, activate n=2, X.31, B-Channel, activate n=0, X.31 deactivate #Dn Switch RConfig to port n #Kppp Set RConfig password to ppp #Tn Trace buffer control 0 print trace buffer 1 clear buffer 2 print status to buffer #X Optimize S12, S78 for upcoming call, depending on your operating system and version. # *Sr=n Set dword register r to value n # *SrL=n Set low byte (bits 0..7) of dword register r to value n # *SrH=n Set high byte of low word (bits 8..15) of dword register r to value n # *SrX=n Set low word (bits 0..15) of dword register r to value n # *SrY=n Set high word (bits 16..31) of dword register r to value n # *Sr.b=n Set bit b of dword register r to value n # *Sr? Query dword register r ----------------------------------------------------------------------- cFos Modem Register Chart ----------------------------------------------------------------------- Reg# Description Default S0 Auto Answer on (>=1) / off (==0) 0 S1 Ring count 0 S2 S3 ASCII Carriage Return (only used to detect 13 the end of a modem command) S4 ASCII Line Feed (only used in modem command 10 evaluation) S5 ASCII Backspace (only used to detect a 8 backspace in modem command evaluation) S6 Column of callerid display (only if s10.1 == 1, 61 at&d1 or at&d2; used together with s11 (line)) S7 Number of seconds modem waits for a carrier 60 S8 S9 Bit-mapped register: 97 .0 enable any further result code .1 enable CONNECT , otherwise CONNECT 9600 is always returned .2 enable RINGING .3 enable RING followed by , style depends on S10.3 .4 enable /X75.. after CONNECT .5 enable ERROR/ .6 enable NO CARRIER/ and NO CARRIER/CHARGE=.. .7 enable /COMPR and /V42B after CONNECT .8 enable /PPP after CONNECT S10 Bit-mapped register: Default: 0 .0 enable CONNECT.../ID= .1 disable full status line, just display the callerid on the left side .2 display CAPI protocol numbers instead of names .3 display the callerid, requested EAZ (MSN index), CIP on RING, e.g. RING 1234/EAZ1/MSN4711/10, in spite of the default method: RINGID=1234/EAZ1/MSN4711/10 .4 (cFos/DOS only) enable +++ATH0 hangup sequence in BIOS emulator mode (and disable hangup on baudrate change) .5 (obsolete) .6 disable multiple CallerID's .7 display the baudrate specified in register S47 on CONNECT messages .8 reject calls with no CallerID .9 enable 'Audible RING': each RING message activates a small ringer .10 (reserved) .11 1=disable disconnect on port close (cFos/Win & cFos/NT only) .12 (cFos/2) handle DTR like: 0=COM.SYS, 1=SIO on port open/close and set_DCB IOCTL; see READ_OS2.TXT for more details. .13 ignore '?' and 'R' modifiers on incoming cFos Channel Bundling calls. .14 X.31, enable "more data" bit support .15 (obsolete) S11 Status line line number (0 - screen length-1) 0 Note: only displayed if AT&D1 or AT&D2 S12 Nummer of 1/18 sec. to wait before CONNECT 50 message. S13 Serviced MSN Mask 2 Every bit from bit0.. bit9 enables RING on this MSNs 0...9 as specified by AT&A0=nnn...AT&A9=nnn command ex: 0000000010b answer on '1' 0100000000b answer on '8' 0001111111b answer on '0' - '6' 1111111111b answer all calls This register is also modified by the AT&L... command. S14 Serviced SI Mask 0x180 Every bit enables a service 'cFos' listens to .0 videophone .1 telephone .2 a/b-services .3 X.21-services .4 telefax (Group 4) .5 BTX (64 kbits/s) .7 data transmission (64 kbits/s) .8 X.25-services .9 teletex 64 .10 mixed mode .15 BTX (new standard) Changes to this register are mapped to CIP mask registers S107 and S108. S15 obsolete S16 Source Service Indicator 7 1 telefony S17=1: 3.1 kHz 2: analog 3: 7 kHz 2 a/b services S17=1: fax group 2 2: fax group 3 3: analog modem 4: BTX via modem 3 X.21 services S17=4: UC4 5: UC5 6: UC6 12: UC19 (was UC30) 4 fax group 4 5 BTX (64bit/s) 7 data transmission, s. documentation of S17 below 8 X.25 services S17=1: UC8 2: UC9 3: UC10 4: UC11 5: UC13 (was UC30) 6: 19.2 kbit/s 9 teletex 64 10 mixed mode 13 Fernwirken 14 Graphiktelefondienste 15 BTX new standard 16 video telephony S17=1: Audio 3.1 kHz 2: Audio 7 kHz 3: Video Changes to this register are mapped to CIP value, BC, LLC and HLC values in registers S111, &S0..&S2. S17 Source Additional Service Indicator 0 For S16=7, see table at the end of this document for exact coding of S17. Changes to this register also affect S111, &S0..&S2. S18 Source MSN index (character: '0'=48.. '9'=57) '0' Determins which MSN, specified by AT&Ax=nnn command, is used for outgoing calls. This register is also modified by an AT&En command. S19 Inactivity timer: modem disconnects if 0 no traffic in N minutes; 0==disabled; see also S74.7 S20 B-Channel, level 2 protocol 1 1 X.75 SLP Basis Operation Mode, mit Implementation Rules nach T.90 2 Transparent-HDLC mit Bit-Stuffing, Frame-Erkennung und CRC-Check 3 Bittransparent 4 SNA-SDLC 5 X.75 Btx 6 T.30 7 LAPD 8 V.110 mit transparentem B2 protokoll 9 V.110 SNA-SDLC 10 V.110 X.75 SLP nach T.90 Changes to this register affect the protocol registers S100 and above. S21 B-Channel, level 3 protocol 4 1 T70 NL fr Leitungsvermittlung (CSPDN) 2 ISO 8208 (DTE/DTE) 3 Level 3 according to T.90, Appendix II 4 transparent 5 T.30 Changes to this register affect the protocol registers S100 and above. S22 SELECT_B2_PROTOCOL_REQ: Data-length 2048 S23 SELECT_B2_PROTOCOL_REQ: Link-Address-A 3 S24 SELECT_B2_PROTOCOL_REQ: Link-Address-B 1 S25 SELECT_B2_PROTOCOL_REQ: Modulo-Mode 8 S26 SELECT_B2_PROTOCOL_REQ: ISDN Window-Size 7 For PPPoE, use register S98 S27 SELECT_B2_PROTOCOL_REQ: V.110 user rate 64 see table at the end of this document for exact coding of S17 S28 Maximum SEND B2-Framesize 2048 S29 B3-Protocol-Overhead in Bytes 0 b3 == 1 (t70nl): 2 b3 == 2 (iso8208): 3 b3 == 4 (transparent): 0 S30 SELECT_B3_PROTOCOL_REQ: LIC 0 S31 SELECT_B3_PROTOCOL_REQ: HIC 0 S32 SELECT_B3_PROTOCOL_REQ: LTC 1 S33 SELECT_B3_PROTOCOL_REQ: HTC 1 S34 SELECT_B3_PROTOCOL_REQ: LOC 0 S35 SELECT_B3_PROTOCOL_REQ: HOC 0 S36 SELECT_B3_PROTOCOL_REQ: Modulo-Mode 8 S37 SELECT_B3_PROTOCOL_REQ: Window-Size 2 S38 CAPI reject cause used when you ATH1 on an 0 incoming call, 0 = cFos selects. Use 34xx values to reject calls with user defined causes, such as 0x3495 (sometimes 0x349D) for the Fido freepoll feature. This only works with newer CAPI 2.0 drivers. S39 Numbering Type/Plan 0x80 Bit 7 must be 1 Bit 6-4: Type of number 0 unknown 1 international 2 national 3 network specific 4 subscriber number 6 abbreviated number Bit 3-0: Numbering plan 0 unknown 1 ISDN/telefony, E.164/E.163 3 data numbering plan, X.121 4 telex numbering plan, F.69 8 national standard numbering plan 9 private numbering plan S40 Controller 0 If your CAPI services more than one ISDN controller (or more than one ISDN S0-bus), you can select the controller/S0-bus number here. 0=first, 1=second, etc. The -o= parameter changes this register, too. is the number of your COM-port (e.g. 3 for COM3), is the S40 controller byte. Ex: board with 2 S0-busses, you need 4 ports, COM3-6; COM5+6 need S40=1. Set parameters -o5=1 -o6=1 in SETUP or S40=1 in COM5+6 init strings. S41 Info-Mask-low 63 Bit 0 Charging information 1 Date/Time 2 Display 3 User-User info 4 Cause 5 Status of called party Changes to this register also affect registers S109 and S110. S42 obsolete S43 obsolete S44 Audio Mode for incoming calls 0 0 Voice mode 1 Modem mode 2 Fax mode S45 X.25 / X.31 delivery confirmation 0 S46 X.25 / X.31 group/channel 0 S47 Baudrate to return on CONNECT, if S10.7=1; 9600 see S91 S48 Suppress the first RINGs. 0 {++} S49 number of digits of caller id to ignore 0 (from right to left) when called with CCB S50..S59 obsolete S60 Charge limit, main port \ S61 Charge limit, aux. port | S62 Time limit, main port (secs) | S63 Time limit, aux. port (secs) | S64 Lower cps limit | see cFos Channel Bundling S65 Upper cps limit | documentation S66 Charge simulation timer | S67 Pre-off disconnect time | S68 Connect tries | S69 Delay between dyn.CCB tries / S70 Cost of one charging unit (in Cent) S71 Amount of money: charging units * S70 (in Cent) S72 Amount of money: charging units * S70 (in Euro, Dollar, ...) * S73 Suppress CallerID: 0 Bits 0..9 for MSNs 0..9. Example: S73.0=1 suppress caller ID of MSN 0 (set by AT&A0=...) .10 suppress caller ID in &S10 S74 Bit-mapped register: 8193 .0 disconnect on inactivity only when at end of current charge-unit (only works if there are charge units at all) .1 use first digit of phonenumber as MSN index (like ATD!xnnn...) .2 if &S10 not set, use called party+ called party subaddress for match against MSNs in &A0..&A9 .3 use calling party subaddress as called party subaddress .4 match empty called party numbers / called party subaddresses against first MSN / subaddress set in &A0..9 (e.g. useful in order to listen to Globalcalls in Austria). .5 use current MSN for X.25/X.31 .6 used seconds in budget are not rounded up to minutes .7 switch inactivity timers in S19, S85, S86 to second resolution, instead of minutes .8 X.31, also disconnect from packet handler in case of inactivity .9 continue sending Echo-Req (See S83, S84) even if there is no answer right from the start .10 always display session time even if charge infos are beeing received .11 S70 is in 10th of Cent instead of Cents .12 drop outgoing call if call waiting .13 Append disconnect reason to phone number if no successful connect .14 display time to disconnect in charges field S75 Bit-mapped register: 384 .0 PPP async to sync conversion (RFC1662) .1 add LLC header to PPP frame (RFC2364) .4 (reserved) .5 time budget starts with PAP/CHAP login, instead of connection begin .6 (reserved) .7 do not send wake-up PPP frame at session start .8 1=use Host_Uniq Tag in PPPoE sessions .9 block PPP call with same phonenumer during first 10 seconds of an existing PPP connection .10 disable PAP authentication, advertise CHAP instead .11 on inactivity hangup DUN connection for PPP connections, instead of normal disconnect .12 block LCP Identification .13 (reserved) .14 (reserved) S76 protocol selection for incoming calls without service signalling: 0 = use X.75, 1 = use outgoing protocols (default: 0) S77 What to do if the string "01910" is found 0 in the number of an outgoing call: 0 nothing changes (default) 1 act as if ATB5 was set 2 act as if ATB6 was set 3 act as if ATB9 was set S78 Delay between CONNECT message and received 18 first data in 1/18 sec. 0=disabled. S79 Number of channels allowed for incoming CCB 0 on this port 0 all 1 no further auxport (i.e. disable incoming CCB) 2 2 channels, 3=3 channels, ... S80 cFos Traffic Shaping 3 0 off 1 only RX 2 only TX 3 both RX & TX S81 Fax support: Bit-mapped register: 15 .0 enable +FCLASS=0 .1 enable +FCLASS=1 .2 enable +FCLASS=2 .3 enable +FCLASS=2.0 .7 enable +FET: response S82 Fax support: minimum scan time per line, 0 depending on vertical resolution: value normal high 0 0ms 0ms 1 5ms 5ms 2 10ms 5ms 3 10ms 10ms 4 20ms 10ms 5 20ms 20ms 6 40ms 20ms 7 40ms 40ms S83 PPP LCP Echo-Req generation timer in seconds 0 (0 = disabled, 1=just reply, 2 and up=generate an Echo-Req each seconds; see S84) S84 PPP LCP Echo-Req Max-Echo: disconnect after 3 Echo-Req without answer if S83 >= 2; see also S74.9. S85 RX Inactivity timer: modem disconnects if 0 no data received for N minutes; 0 = disabled; see also S74.7 S86 TX Inactivity timer: modem disconnects if 0 no data transmitted for N minutes; 0 = disabled; see also S74.7 S87 Group/Id for call-logging 0 S87H = Group, S87L = ID S88 CTI support 0 1 suspend call on CONNECT string register &S5 is used as park-ID 2 transfer call by hold/disconnect 3 simple ECT, variant 1 4 simple ECT, variant 2 5 full ECT, variant 1 6 full ECT, variant 2 if S88 = 2,3,4,5 or 6, string register &S5 is used as destination number of the originating party. S89 cFos Mini-Firewall: S89L: Firewall protection level 0 = off 1 = trusting: only block dangerous port access 3 = cautious: block access to low ports 4 = paranoid: block access to low ports and block all incoming TCP open Except for "off", only packet types IP, VJ-compressed TCP/IP and VJ-uncompressed TCP/IP are allowed; only ICMP, TCP and UDP are allowed; only special ICMP messages are allowed; IP options are not allowed, source & dest IP addresses are checked. S90 cFos Mini-Firewall: 32 .0 allow packets to/from private networks (RFC1918) .1 allow packets with IP options .2 allow packets to/from other IP addresses than my own .3 allow packets to/from broadcast/multicast addresses .4 allow packets to/from reserved addresses .5 allow fragmented packets S91 High word of baudrate to return on CONNECT 0 if S10.7=1; see S47 S92 Ethernet adapter number, 0=CAPI, 1=first, ..., 0 255=autodetect S93 Budget selector: 0 S93L: Budget number, 0=no budget, supported numbers are 1-10 S93H: 0 = display time budget 1 = display volume budget 2 = display both See also S94, S95, S96, &G5, &G6. S94 Minutes per month for this budget, 0=just count 0 up time instead of displaying the unused time. Setting this register is saved immediately to the budget data of . Be sure to set S93 prior to setting this register. S95 Day in month when the budget is reset. 0 Valid range: 1..31, all other values treated as 1. Setting this register is saved immediately to the budget data of . Be sure to set S93 prior to setting this register. S96 Megabyte (here: 1M = 10^6 = 1000000 byte) 0 per month for this budget (0=just count up volume); volume is data received AND transmitted. Setting this register is saved immediately to the budget data of . Be sure to set S93 prior to setting this register. S98 Send window size for PPPoE 32 S99 MTU to use; only active with PPPoE. If 1492 your TCP/IP stack tries to send larger blocks, cFos will fragment them resp. inform the stack that the blocks where too large. So this is actually a maximum MTU. ----------------------------------------------------------------------- S100 B1 Protocol 0 0 64 kBit/s, HDLC framing (CAPI 2.0 default) 1 64 kBit/s, bit transparent 2 V.110 async, w/ start/stop byte framing 3 V.110 sync, w/ HDLC framing 4 T.30 for FAX group 3 5 64 kBit/s inverted w/ HDLC framing 6 56 kBit/s, bit transparent 7 Modem with full negotiation (B2 prot must be 7) 8 Modem async operation with start/stop byte framing 9 Modem sync operation with HDLC framing # 10 AAL 1 / AAL voice, see also register *S2 # 11 AAL 2 # 12 AAL 3/4 # 13 AAL 5 S101 B2 Protocol 0 0 ISO 7776 (X.75 SLP) (CAPI 2.0 default) 1 Transparent 2 SDLC 3 LAPD, Q.921 for D channel X.25 4 T.30 for FAX group 3 5 Point to Point Protocol (PPP) 6 Transparent (ignoring framing errors of B1) 7 Modem with full negotiation (e.g. V.42bis, MNP5) 8 ISO 7776 (X.75 SLP) with V.42bis 9 V.120 async mode 10 V.120 async mode with V.42bis 11 V.120 bit-transparent mode 12 LAPD in accordance with Q.921 incl. free SAPI selection # 13 Q.2110 S102 B3 Protocol 0 0 Transparent (CAPI 2.0 default) 1 T.90NL w/ compatibility to T.70NL 2 ISO 8208 (X.25 DTE-DTE) 3 X.25 DCE 4 T.30 for FAX group 3 5 T.30 for FAX group 3 extended 6 reserved 7 Modem S103 B1 Protocol Config, Rate 0 S104 B1 Protocol Config, Bits per Char 8 S105 B1 Protocol Config, Parity 0 0=no, 1=odd, 2=even S106 B1 Protocol Config, Stop Bits 0 0=1 stop bit, 1=2 stop bits S107 CIP mask, low 388 .0 don't provide CIP value, all other bits in S107 & S108 must be 0 .1 speech .2 unrestricted digital information .3 restricted digital information .4 3.1 kHz audio .5 7 kHz audio .6 video .7 packet mode .8 56 kBit/s rate adaption .9 unrestr. digital info. w/ tones .10..15 reserved S108 CIP mask, high 0 .0 telephony .1 FAX group 2/3 .2 FAX group 4, class 1 .3 teletex, basic & mixed mode .4 teletex, basic & processable mode .5 teletex, basic mode .6 international interworking f. videotex .7 telex .8 X.400 .9 X.200 .10 7 kHz Telephony .11 video telephony, first connection .12 video telephony, second connection .13..15 reserved S109 Info mask, low 1535 .0 Cause info .1 Date/Time .2 Display .3 User-user info .4 Call progression .5 Facility .6 Charging info .7 Called Party Number .8 Channel Identification .9 Early B3 Connect .10 Redirection Information .11..15 reserved S110 Info mask, high 0 .0..15 reserved S111 CIP value 2 0 no defined profile 1 speech 2 unrestricted digital information 3 restricted digital information 4 3.1 kHz audio 5 7 kHz audio 6 video 7 packet mode 8 56 kBit/s rate adaption 9 unrestr. digital info. w/ tones 10..15 reserved 16 telephony 17 FAX group 2/3 18 FAX group 4, class 1 19 teletex, basic & mixed mode 20 teletex, basic & processable mode 21 teletex, basic mode 22 international interworking f. videotex 23 telex 24 X.400 25 X.200 26 7 kHz Telephony 27 video telephony, first connection 28 video telephony, second connection S112 Modem-Support, speaker mode 0 .0 disable retrain .1 disable ring tone .3..2 guard tone 00 none 01 1800 hz 10 550 hz .5..4 loudspeaker 00 off 01 on while dialing & negotiation 10 always on .7..6 speaker volume 00 silent 01 normal low 10 normal high 11 maximum S113 Modem Support: Max. Connect Rate 0 0=adaptive S114 Leased Line support for outgoing calls 0 S114L: 0 off 1 D64S, first B-channel 2 D64S2, first&second B-channels (128kbps) 3..30 PRI only: use 3-30 B-channels S114H: 0=DTE mode (default), 1=DCE mode S115 Subaddressing 0 Determines how many trailing digits of the phone number specified by ATD command are used as called party subaddress. Setting this register != 0 overrides register &S11. S116 Type of User-User Info 4 (used if &S16 is not empty) 0 user specific 1 OSI layer protocol 2 X.244 3 system management convergence function 4 IA5 digits 7 V.120 rate adaption 8 Q.931 user network control message S117 Phone Number Blocker 0 0 disabled 1 block phone numbers only for HDLC other always block phone numbers You can specify the phone numbers in the [cfos] section in CFOS.INI. dialprefix= specifies an optional dialout prefix for phone switches, dialblock=xxx,yyy,... contains a list of phone number prefixes (e.g. 0190) which are forbidden, dialwarn=xxx,yyy,... contains a list of prefixes, which are warned by a messagebox with 15 sec. timeout and blocked if no user response. This feature may not be available for Win95. S118 PPPoE negotiation timout in msec 0 by setting this register to nonzero values, you specify how long cFos waits for answers from the PPPoE access concentrator (broadband POP). If this register is 0, a default timeout of 3000 msec is used. S119 Number of PPPoE session negotiation tries. 1 Minimum is 1. ----------------------------------------------------------------------- The following registers, marked with '#', are used for cFos broadband extension only. All registers are 32-bit wide. *SnnnX denotes the lower 16-bit word of the register, *SnnnY the higher 16-bit word. # *S0 Forward (caller to called) Peak Cell Rate, 0 the nearest match is also used to determine the CBR for AAL 1 For AAL5 one cell contains 48 bytes, for AAl1, CBR the average cell contains approx. 46,78 bytes (use 171 cells to generate 8kbytes/s voice stream). # *S1 Backward (called to caller) Peak Cell Rate 0 0=use same rate as in *S0 # *S2 AAL 1 subtype 255 0=none 1=voice-band based on 64kbit/s, G.711/G.722 2=circuit transport 3=reserved 4=high-quality audio signal transport 5=video signal transport 255=use AAL for voice, instead of AAL 1 # *S3 AAL 1 Parameters 0 Bit 0..1 0=no src clk freq recovery method 1=Sync. Residual Time Stamp 2=adaptive clock method Bit 2..3 0=no error correction 1=forward EC for loss sens. sig. trans. 2=forward EC for delay sens. sign. trans. Bit 4 convergence sublayer protocol 0=Source clock frequency recovery method 1=Structured data transfer method *S3Y 0=no partially filled cells 1-47 number of bytes used for payload # *S4 Bearer Class 3 1=Class A, connection oriented, end-to-end timing ie. constant bit rate (CBR) 3=Class C, connection oriented, 5=Frame relaying bearer class 16=Class X, connection oriented, user defined # *S5 Bearer Values 10 Class C/X Traffic contract Bit 0..4 0=unspecified bit rate (UBR), non real-time, use with Class C, for UBR+ also set registers *S11/*S12 5=constant bit rate (CBR), real-time, same as Class A, use with Class X 9=variable bit rate (VBR), real-time, use with Class C or X, you may also set registers *S11..*S14 10=variable bit rate (VBR), non real-time, use with Class C or X, you may also set registers *S11..*S14 12=available bit rate (ABR), non real-time, use with Class X, also set registers *S11/*S12 Bit 5 0=not susceptible to clipping 1=susceptible to clipping Bit 6 0=point-to-point 1=point-to-multiploint # *S6 Maximum end-to-end transit delay in msec. 0 0=any delay acceptable # *S7 max. nunber of Q.2110 retransmissions 4 # *S8 ATM channel allocation 0 *S8X: 0=SVC, dialed numbers 1=SVC, use connection identifier 2=PVC, use VPI/VCI allocation *S8 bits: Bit 16 0=DTE mode (default), 1=DCE mode Bit 17 0=VP-associated signalling 1=explicit indication of VCPI Bit 18 0=exclusive VPCI, exclusive VCI 1=exclusive VPCI, any VCI Bits 17 & 18 are used only if *S8X=1 # *S9 VP(C)I/VCI, used with *S8X=1 or 2 0 *S9X=VPCI (16bit) for *S8=1 *S9X=VPI (16bit) for *S8=2 *S9Y=VCI (16bit) # *S10 Broadband Listen Mask 65537 Bit 0 if set, Bit 2..6 will also reflect ISDN settings: ISDN voice includes AAL voice & AAL 1 ISDN video includes AAL 1 ISDN data includes AAL 5 Bit 1 any AAL match Bit 2 AAL for voice Bit 3 AAL 1 Bit 4 AAL 2 Bit 5 AAL 3/4 Bit 6 AAL 5 Bit 7..15 reserved Bit 16 any bit rate match Bit 17 Constant Bit Rate Bit 18 Variable Bit Rate, real time Bit 19 Variable Bit Rate, non real time Bit 20 Unspecified Bit Rate Bit 21 Available Bit Rate Bit 22..31 reserved # *S11 Forward (caller to called) Sustainable Cell Rate 0 for VBR and also Minimum Cell Rate for available bit rate (ABR) and UBR+ traffic contracts 0=don't use for VBR and UBR traffic contracts # *S12 Backward (called to caller) Sustainable Cell Rate 0 for VBR and also Minimum Cell Rate for available bit rate (ABR) and UBR+ traffic contracts 0=use same rate as in *S11 *S13 Forward Maximum Burst Size in Cells for VBR, 0 used in combination with register *S11 *S14 Backward Maximum Burst Size in Cells for VBR, 0 used in combination with register *S12 0=use same rate as in *S13 ----------------------------------------------------------------------- cFos Modem String Register Chart ----------------------------------------------------------------------- Set string registers to string values like this: AT&S3="Message" Set them to hex values like this: AT&S3=4D657373616765 Both examples write the same data to the string register &S3. &S0 Bearer Capability, BC string register of 14 bytes &S1 Low Level Compatibility, LLC string register of 17 bytes &S2 High Level Compatibility, HLC string register of 5 bytes &S3 X.31 Call User Data string register of 16 bytes The user data consists of 4 bytes 'protocol identifier' and 12 bytes of the users choice. The protocol identifier can have the following values: 01 00 00 00 Async. CCITT 10 00 00 00 X.3 comp. request C2 00 00 xx SNA PSH, short hold mode off: xx=f0, otherwise 0 C3 00 00 xx SNA QLLC short hold mode off: xx=f0, otherwise 0 CC 00 00 00 TCP/IP F1 00 00 00 NetMACS alert F2 00 00 00 NetMACS acc. F3 00 00 00 NetMACS 2.X alert &S4 Autologin data block string register of 100 bytes &S5 CTI support string register of 10 bytes &S6 PAP username to be replaced by &S7 string register of 48 bytes &S7 replacement PAP username if &S6 is matched or to be added if &S6 is empty. If &S7 starts with a '@', it will only be appended, if the PAP username does not yet conatin a '@'. string register of 48 bytes # &S8 Broadband High Layer Information string register of 9 bytes # &S9 Additional Layer 3 Protocol Information string register of 8 bytes if used ISO/IEC TR 9577 is signaled as layer 3 protocol &S10 Local phone number used in cases where no MSNs are available and must be simulated by subaddresses, like the Telekom ATM network. When this string register is not empty, cFos will use it as outgoing MSN/calling party number. MSN settings in registers &A0..9 will be treated as calling party subaddresses. For incoming calls cFos will match the called party number against this register and the called party subaddress against MSN registers &A0..9. String register of 30 bytes &S11 Called Party Subaddress Coding according to ETS 300-102 or Q.2931. If bit 7 of the first byte is 0, cFos uses type 'user-specified' or 'user-specified ATM endsystem' as subaddress type. The odd/even indicator is set to even. Also used as dial-up phone number for X.31, Case B. String register of 30 bytes &S12 Calling Party Subaddress, coding like &S11. String register of 30 bytes &S13 PAP password. If set, &S7 will replace the username and &S13 will replace the password unconditionally (i.e. without checking username against &S6). &S14 PPPoE Service-Name, String register of 48 bytes &S15 PPPoE AC-Name, String register of 48 bytes &S16 User-User Info transmitted in active calls, String register of 128 bytes, see also register S116 ----------------------------------------------------------------------- Some cFos Fax Commands ----------------------------------------------------------------------- +FCLASS=n Set Fax class. Supported values for n are 0, 2 and 2.0. +FLID=x Set local Fax ID, Class 2 +FLI=x Set local Fax ID, Class 2.0 +FAA=n 1=auto answer, 0=manual answer +FK Terminate session +FBO=n Phase C bit order, 0=direct, 1=reversed, Class 2.0 +FBOR=n Phase C bit order, 0=direct, 1=reversed, Class 2 ----------------------------------------------------------------------- cFos Numerical Result Codes ----------------------------------------------------------------------- 0 OK 1 CONNECT 2 RING 3 NO CARRIER 4 ERROR 5 ( not used ) 6 NO DIALTONE 7 BUSY 8 NO ANSWER 9 ( not used ) 10 ( not used ) 11 RINGING ----------------------------------------------------------------------- cFos Disconnect Reason numerical Result Codes ----------------------------------------------------------------------- 0 None 1 By remote 2 DTR drop 3 Disconnect B3 timeout 4 Disconnect D timeout 5 CAPI reset 6 Connect timeout 7 Inactivity timeout 8 Appendage reset 9 Dynamic CCB 10 Connect aborted 11 +++ Sequence 12 ATH command 13 Time/Charge Limit 14 CAPI error 15 Baud-Rate 16 Pwd mismatch 17 Low DTR 18 Port close 19 Remote config 20 Unsupported Host 21 Status window 22 Fax cancelled 23 No response to Echo-Req 24 Host congested ----------------------------------------------------------------------- Format of V.110 User Rate (S27) and Additional Service Indicator (S17) ----------------------------------------------------------------------- Bit 76 01 Erweiterung der asynchr. Uebertragung Bit 5 Bit 4 Bit 3 0 8 Datenbits 0 1 Stopbit 0 no parity 1 7 Datenbits 1 2 Stopbits 1 even parity Bit 210 000 38400 bit/s 11 Asynchr. Uebertragung mit Bitratenadaption nach CCITT V.110 Bit 5 Bit 4 Bit 3 0 8 Datenbits 0 1 Stopbit 0 no parity 1 7 Datenbits 1 2 Stopbits 1 even parity Bit 210 User Rate in bit/s 000 1200 001 1200/75 010 75/1200 011 2400 100 4800 101 9600 110 14400 111 19200 10 Synchrone Uebertragung mit Bitratenadaption nach CCITT V.110 (ist in unseren Breiten so gut wie nicht gebraeuchlich) Bit 54 10 never change Bit 3210 User Rate in bit/s 0000 1200 0001 1200/75 0010 75/1200 0011 2400 0100 4800 0101 9600 0110 14400 V.32bis 0111 19200 1000 48000 1001 56000 1010 56000 USA 1111 in band negatiation