Configuring a Cirilium 8000 for GnuGk

[H323gw]
;-------------------------------------------------------------------------------
; IMPORTANT !!!!! This file was generated automatically by
;                  utility for H.323 v1.4 And SIP v2.0
;
; From: Ini file utility_M2K_v2_48_7_3_1.xls
; Date: 7/15/2003
; Time: 11:18:25 AM
; Edited by ali Arman (480) 317-1014
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
;   			General Feature Parameters
;-------------------------------------------------------------------------------

; Set VoIP protocol type. 4 = H.323
MGControlProtocolType = 4

; The version of the Media Gateway
GatewayVersion = 4.20.10.764

;-------------------------------------------------------------------------------
;   			Compression Channel Parameters
;-------------------------------------------------------------------------------

; The first coder used.
CoderName = g729

; The second coder used.
CoderName = g7231

; Is Silence Compression enabled (0 - no, 1 - yes) [default 0]
SCE = 1

; Is Echo Canceling enabled (0 - no, 1 - yes) [default 1]
ECE = 1

; Packets size - How much to multiply packets size [default 1] 
; M = n payloads (n = 1,2 or 3) Number of 20 msec payloads (30 msec for G.723)
M = 3

; 0=User propriety FRF.11 syntax to send/receive fax relay. 
; 1=Use T.38 protocotol to send/receive fax relay [default 1]
UseT38orFRF11 = 1

; Sets the fax transport mode. 0=disable, 1=relay, 2=bypass [default 1]
FaxTransportMode = 1

; [default 0] 0 = Use redundancy packets for protecting T.38 fax relay stream, 
; 1 = Use Forward Error Correction (FEC) algorithm to protect T.38 fax relay 
;     stream.
T38ProtectionMode = 0

; [default 0] 0-2 (T38ProtectionMode = 0)
FaxRelayRedundancyDepth = 2

; Redundancy of T.38 control packets[default=1]
;FaxRelayEnhancedRedundancyDepth = 2

; DTMF gain control. Parameter range is -31 dBm to 0 dBm in 1 dB steps.
; default=-11 dBm
DTMFVolume = -11

; 0 = erase digit from voice stream don't relaye to remote, required for 
;     out-of-band H.245  
; 1 = erase digit from voice stream relay to remote (default) 
; 2 = digits remains in voice stream, 
; 3 = for DTMF relay per RFC 2833.
DTMFTransportType = 0

; 0 = Erase MFs from voice transport, not relayed to remote. 
; 1 = Erase MFs from voice transport, relay to remote (default). 
; 2 = MFs are not erased from voice stream.
MFTransportType = 1

; Voice gain control.Parameter range is  -31 to +31 db. [default =  0 dB] 
VoiceVolume = 1

;  PCM input gain.Parameter range is -31 to +31db.[default = 1 = 0 dB]
InputGain = 1

; [default 70] 0-150 msec Dynamic Jitter Buffer Minimum Delay.
DjBufMinDelay = 70

; [default 7] 0-12 Dynamic jitter buffer frame error/delay optimization.
DjBufOptFactor = 7

; Applicable to FXO and T1/E1 CAS interfaces. 
; 1 = The Gateway disconnects calls when the end tone is detected.
DisconnectOnBusyTone = 1


;-------------------------------------------------------------------------------
;    H323 Parameters
;-------------------------------------------------------------------------------

; Set to 1 to use the Fast Start (fast connect) capability; otherwise, set 
; to 0 (default) for normal. Note that without FS, no in-band tones possible.
IsFastConnectUsed = 1

; Set to 0 for FastStart info to be included in the ALERTING (Default) 
; Set to 1 for FastStart info to be included in the CONNECT
IsFSMediaInfoSendOnConnect = 0

; Fast Start open media on connect: 
; Set to 0 for the receiving side to open voice on an ALERT, before a CONNECT 
; is sent (Default) 
; Set to 1 for the receiving side to open voice only on a CONNECT message.
IsFSOpenMediaOnConnect = 0

; Set to 1 for the Media Gateway to initiate H.245 on Fast Start on 
; send/receive Connect message. 
; Set to 0  for the Media Gateway not to initiate H.245 on Fast Start (default)
OpenH245OnFS = 1

; Set to 0 for the Media Gateway to offer the first coder from the coder list 
; on receipt of setup. Leave the field at its default of 1 for the Media Gateway
; to choose / match a coder from the full coder list.
SendMultipleCodersInFS = 1

; Set to 1 if you want the gateway to register with a Gatekeeper; 
; Set to 0 if otherwise (default), in which case you must route the calls 
; using the internal routing tables. 
IsGatekeeperUsed = 1

; The IP address of the Gatekeeper
GatekeeperIp = x.x.x.x

; The IP address of the 1st Redundant Gatekeeper 
GatekeeperIp = x.x.x.x

; Set to 1 to allow use of the internal routing table if a Gatekeeper 
; is not found. Default = 0. 
IsGKFallbackUsed = 1

; Set to 1 to use another (redundant) Gatekeeper if the Gatekeeper is 
; not found. Default = 0.
IsRedundantGKUsed = 1

; How much time the client waits if the entire list of GKs is exhausted.
; After this timer, the list is retried. 
TimeBetweenGKsLoops = 60

; Time in seconds that the stack waits until it notifies the application 
; of failure in response. Default = 10.
ResponseTimeOut = 10

; The number of retransmission retries. Default = 3
MaxRetries = 5

; Registering the Media Gateway as a terminal is useful when the Gatekeeper 
; can only work with terminals and not with Media Gateways. 
; 0 = Do not register the Media Gateway as a terminal. (default) 
; 1 = Register as a terminal.
IsTerminal = 0

; The time, in seconds, between registrations to the Gatekeeper - used for 
; keepalive. Applicable only when the field IsTerminal = 1. 
; Otherwise, registration is automatic, according to Gatekeeper request.
RegistrationTime = 10

; Set to 1 to enable the Gatekeeper to remap the destination phone number in an 
; ACF message (if the destination phone number is placed in the 
; dialedDigits field). Default = 0.
CanMapAliases = 0

; Set to 1 for fax use; otherwise, set to 0. 1 = Fax is sent/received using 
; H.323 Annex D, T.38 procedure. 
; Remember to update the "Fax" sheet. Default = 0.
IsFaxUsed = 1

; 1 = Out-Of-Band DTMF messages are used. Default = 0.
; If set to 1, set DTMFTransportType = 0
IsDTMFUsed = 1

; Encoding type of calling phone number in H.225 Setup message. 
; Default = 0 (e.164) 
SourceEncodType = 0

; Encoding type of the destination phone number in H.225 Setup message.
; Default = 0 (e.164).
DestEncodType = 0

; The E.164 Alias defined here will be inserted into RRQ and all other relevant
; messages.
RegistrationPrefix = 40#
RegistrationPrefix = 50#

; The H.323 ID defined here will be inserted into source H323-ID for all other
; relevant messages. Default = doesn't exist.
H323IDString = dip3@intelignet.com

; Media Gateway registration type to the Gatekeeper. 
; 0: register with e.164 prefix as alias (default)
; 1: register with H.323 ID as alias. REQUIRED by Cirilium Gatekeeper if
; Cirilium gatekeeper is in Dynamic Endpoint mode.
GwRegistrType = 2

; 0 = Do not send DTMFs in Q.931 info message. (default)
; 1 = DTMFs will be sent in H225/Q.931 info message. 
Is931MsgUsed = 0

; On this port, the Media Gateway waits/listens out for Setup messages. 
; Default = 1720.
H225ListenPort = 1720

; To this port, the Media Gateway will send Setup messages. Default = 1720.
H225DialPort = 1720

; The Timeout when establishing a H.245 connection. Default = 29.
H245InitTimeOut = 29

; 1 = RTP Multiplier will be taken into consideration for an TCS message. 
; Default = 1.
RTPMultiplierUsed = 0

; Enables passing of Bearer Capability/Transfer Capabilities from ISDN to IP 
; side and vice versa. Applicable only to digital Media Gateways running 
; ISDN protocol.
EnableTransferCap = 0

; Enables overwriting of Progress indicator on messages sent to H.323
; -1: not configured (default)
;  0, 1, 2, 8: Theactual value of PI
ProgressIndicator2IP = -1

; 0 = the gateway will not play the ringback tone to IP [default]; 
; 1 = the gateway will  play the ringback tone to IP.
PlayRBTone2IP = 0

; 1 = Apply Q.931 Multiplexing. Default = 0 (disabled).
EnableQ931Multiplexing = 0

; Enables H.450.4 hold/retreive  [default=0]
EnableHold = 0

; Enables H.450.2 transfer  [default=0]
EnableTransfer = 0

; Enables H.450.3 forward. Default = 0.  
EnableForward = 0

; Enables H.450.6 call waiting[default 0]
EnableCallWaiting = 0

; Number of call waiting indications to be played to the user
NumberOfWaitingIndications = 2

; Timeout in seconds between one call waiting indication to another
TimeBetweenWaitingIndications = 10

;Added sep 26 by Gary McPherson  Gatekeeper ID
GatekeeperID = gkprjo102

;Added sep 30 by Gary McPherson h245 tunneling.
IsTunnelingUsed = 1


;-------------------------------------------------------------------------------
;   PSTN Interface & Protocol Parameters
;-------------------------------------------------------------------------------
; 1 = Enables the Media Gateway on detection of LAN, RRQ problems to take out 
;     digital trunks out-of-service, or play reorder tone instead of dial tone
;     on analog Media Gateways[default = 0]
EnableBusyOut = 0

; Sets the PSTN protocol to be used for this trunk.
;  1: E1 Euro (ETSI) ISDN, 2: T1 CAS, 3: T1 RAW CAS, 4: T1 Transparent, 
;  5: E1 Transparent 62, 6: E1 Transparent 60, 7: E1 MFR2, 8: E1 CAS R2, 
;  9: E1 RAW CAS, 10: T1 PRI NI2, 11: T1 PRI 4ESS, 12: T1 PRI 5ESS 9, 
; 13: T1 PRI 5ESS 10, 14: T1 PRI DMS100, 15: J1 Transparent, 16: T1 PRI NTT
; 17: E1 PRI Australian, 18: E1 PRI HongKong Telecom, 19: E1 PRI Korean Telecom
ProtocolType = 7

; 1: A-law is for E1 spans 
; 3: u-Law for T1 spans
PCMLawSelect = 1

; Selects the ISDN termination mode. (NOT applicable for CAS) (Default = 0).
; 0: User
; 1: Network 
TerminationSide = 0

; Selects the source of the clock (internal or recovered clock from E1/T1 line)
; (Default = 0)
ClockMaster = 0

; Selects the T1 Framing Method to be used for this trunk. (Default 0).
; 0: ESF (E1 or T1)
; 1: SF (T1)
FramingMethod = 0

; Selects the line code method to be used for this trunk. (Default = 0).
; 0: B8ZS
; 1: AMI
; 2: HDB3 (E1 only)
LineCode = 2

; When the PBX is recovering the Clock from the User, TDMBusClockSource = 1 
; should be used.
TDMBusClockSource = 4

; This parameter is relevant only if TDMBusClockSource = 4
PSTNAutoClockEnable = 0

; Defines the mode of Bchannel negotiation (default=1)
; 0: Preferred
; 1: Exclusive
; 2: Any
BchannelNegotiation = 0

; 0 = non NFAS trunk (default)
; 1 to 4 = NFAS group numberIndicates the NFAS group number for the selected 
; trunk. The trunks that belong to same NFAS group will have the same number.
; With ISDN Non-Facility Associated Signaling you can use single D-channel to 
; control multiple PRI interfaces.Applicable only for T1 ISDN protocols. 
; The "NFAS member" of each trunk in NFAS group is the Trunk ID (0 to 7).
NFASGroupNumber = 0

; D-channel configuration parameter defines primary, backup (optional) and 
; B-channels only trunks. Primary trunk contains D-channel that is used for 
; signaling.Backup trunk contains backup D-channel that will be used if the 
; primary D-channel fails. The other NFAS trunks contain only 24 B-channels, 
; without signaling D-channel.Applicable only for T1 ISDN protocols. Backup 
; trunk is not supported for DMS PRI variants
DchConfig = 0

; 0 = non NFAS trunk (default), 1 to 4 = NFAS group number. Indicates the NFAS
; group number for the selected trunk. The trunks that belong to same NFAS group
; will have the same number. With ISDN Non-Facility Associated Signaling you can
; use single D-channel to control multiple PRI interfaces. Applicable only for 
; T1 ISDN protocols. The "NFAS member" of each trunk in NFAS group is the 
; Trunk ID (0 to 7).
NFASGroupNumber_1 = 0

; D-channel configuration parameter defines primary, backup (optional) and 
; B-channels only trunks. Primary trunk contains D-channel that is used for 
; signaling. Backup trunk contains backup D-channel that will be used if the 
; primary D-channel fails. The other NFAS trunks contain only 24 B-channels, 
; without signaling D-channel. Applicable only for T1 ISDN protocols. Backup 
; trunk is not supported for DMS PRI variants.
DchConfig_1 = 0

; 0 = Send Channel ID only if mandatory (default).  
; 1= Send Channel ID in first response;  
; 2 = Send Channel ID in Call Proceeding.
ISDNInCallsBehavior = 0

; 0 = Connect Ack is not sent as a response to connect (default);  
; 1 = Connect Ack is sent as a response to received connect. Applicable only to
; Euro ISDN, user side outgoing call.
ISDNIBehavior = 0

; Define default cause code for ISDN Q.931 Release Complete to be sent to PSTN
; in case of IP related issues. Default = 34, see below for other options.
;
; 2: No route to specified transit network
; 3: No route to destination
; 4: Send special information tone
;16: Normal clearing
;17: User busy
;18: No user responding
;19: No answer from user (user alerted)
;21: Call rejected
;23: Redirect to new destination
;27: Destination out of order
;29: Facility rejected
;31: Normal - unspecified 
;34: No circuit / channel available
;38: Network out of order
;42: Switching equipment congestion
;47: Resources unavailable, unspecified

DefaultReleaseCause = 34

; Default call progress tone timer for CAS interfaces
; Reorder tone is played to PSTN following a call failure, upon expiration of the 
; timer (in seconds). Not used for ISDN interfaces.
; TimeForReorderTone = 10

; R2 MF Calling Party's category. The parameter provides information about the 
; calling party, such as national or international call, operator or subscriber 
; and subscriber priority. 
; Range: 1 - 15, defining one of the R2 MF tones (default = 1)
R2Category = 1

; Enables overwriting of Progress indicator on messages sent to ISDN trunk
; -1: not configured (default)
;  0, 1, 2, 8: Theactual value of PI
ProgressIndicator2ISDN = -1

; 0 = the gateway will not play a ringback tone to Telco; 
; 1 = the gateway will play a local ringback tone to Telco. 
; 2 = the ISDN gateway will not play the ringback tone to Telco, and the 
;     ISDN PI value will be mapped from received H.225 messages.[default 2]
PlayRBTone2TEL = 2

; The Progress Tones filename.
CallProgressTonesFileName = 'usa_tones_03.dat'

; Default = 1. 1 = Burn the Progress Tones file. 
BurnCallProgressTonesFile = 1

; The name of the file containing a specific CAS protocol definition
;CASfileName = 'E_M_WinkTable.dat'
;this line was added by Gary McPherson for Brazilian R2
CASfileName = 'R2_Brazil_NoAni.dat'


; 1 = To burn the CAS definition file (default = 0)
BurnCASfile = 1


;-------------------------------------------------------------------------------
;    Dial Plan and Call Routing Parameters
;-------------------------------------------------------------------------------

; When set to 0, the individual channels need to be assigned phone numbers 
; (extentions) for internal call routing to work; AND an incoming ip-to-pstn 
; call's DNIS needs therefore to contain at least the channel's extention number.
; When set to 1, a terminating gateway will pick the first free channel.
; For originating gateways, this parameter has no relevance, other than ANI.

IsUseFreeChannel = 1


; Phone numbers for endpoints (channels)
;-------------------------------------------------------------------------------
; Must use if IsUseFreeChannel = 0
; Do not use if Trunk Grouping is in use.
ChannelList = 0,30,8001


; Number Translation and Manipulation Parameters
;-------------------------------------------------------------------------------

; Number modification mode of ip-to-pstn calls: 
; 0 = first route the call then perform the manipulation on the destination 
;     phone number (default). 
; 1 = first perform the manipulation on the destination phone number, then 
;     route the call.
RouteModeIp2Tel = 0

; Number modification mode of pstn-to-ip calls: 
; 0 = first route the call then perform the manipulation on the destination 
;     phone number (default); 
; 1 = first perform the manipulation on the destination phone number, then 
;     route the call.
RouteModeTel2Ip = 0

; Up to three NumberMap statements each direction. !!ordered list!!
; Usage: NumberMapTel2IP = a,b,c,d
;
; a : Match prefix (* is allowed as wildcard)
; b : number of digits to be deleted from left
; c : digit string to be inserted as prefix after deletion, or 'none' 
; d : (optional) number of original digits left in the resulting string, 
;     counting from right. Zero deletes all digits in the original string.
;
; See below for examples
;-------------------------------------------------------------------------------
; Destination Phone Number Manipulation Rules for calls to IP

; Prefix of 4 digits will be deleted from phone numbers that starts with 9723
;NumberMapTEL2IP = 9723,4,None

; Prefix of 3 digits will be deleted from phone numbers that starts with 972
; and 0 will be added at the beginning
;NumberMapTEL2IP = 972,3,0

; Only 4 last digits will remain from phone numbers with prefix 03.
;NumberMapTEL2IP = 03,0,None,4

; Phone numbers that start with 4 and whose length is 4 will have 03539 added.
;NumberMapTEL2IP = 4XXX,0,03539
;NumberMapTEL2IP = 972,3,0,$$,0,0
;NumberMapTEL2IP = 972,3,0,$$,$$,0
NumberMapTEL2IP = 2125824987,0,10#
NumberMapTEL2IP = 2137234987,0,10#
NumberMapTEL2IP = 2137234988,0,30#
NumberMapTEL2IP = 2125824988,0,30#



;-------------------------------------------------------------------------------
; Destination Phone Number Manipulation Rules for calls to PSTN

; Prefix of 4 digits will be deleted from phone numbers that start with 9723.
;NumberMapIP2TEL = 9723,4,None

; Prefix of 3 digits will be deleted from phone numbers that start with 40# glm.
NumberMapIP2TEL = 40,3,None
NumberMapIP2TEL = 50,3,None

; Prefix of 3 digits will be deleted from phone numbers that start with 972, and
; 0 will be added at the beginning.
;NumberMapIP2TEL = 972,3,0

; Only the last 4 digits will remain from phone numbers with prefix 03.
;NumberMapIP2TEL = 03,0,None,4

; Phone numbers that start with 4 and whose length is 4, will have 03539 added. 
;NumberMapIP2TEL = 4XXX,0,03539

;-------------------------------------------------------------------------------
; Source Phone Number Manipulation Rules for calls to IP

; Prefix of 4 digits will be deleted from phone numbers that start with 9723.
;SourceNumberMapTEL2IP = 9723,4,None

; Prefix of 3 digits will be deleted from phone numbers that start with 972 
; and 0 will be added at the beginning
;SourceNumberMapTEL2IP = 972,3,0

; Only 4 last digits will be remaind from phone number with prefix of 03.
;SourceNumberMapTEL2IP = 03,0,None,4

; To phone numbers that starts with 4 and its length is 4 will be added 03539
;SourceNumberMapTEL2IP = 4XXX,0,03539

;-------------------------------------------------------------------------------
; Source Phone Number Manipulation Rules for calls to PSTN

; Prefix of 4 digits will be deleted from phone numbers that starts with 9723
;SourceNumberMapIP2TEL = 9723,4,None

; Prefix of 3 digits will be deleted from phone numbers that starts with 972 
; and 0 will be added at the beginning
;SourceNumberMapIP2TEL = 972,3,0

; Only 4 last digits will be remaind from phone number with prefix of 03.
;SourceNumberMapIP2TEL = 03,0,None,4

; To phone numbers that starts with 4 and its length is 4 will be added 03539
;SourceNumberMapIP2TEL = 4XXX,0,03539

; To phone numbers that starts with 40# and its length is 3 40# will be deleted
;SourceNumberMapIP2TEL = 30#,3,None

; Trunk Group Configuration Table
;-------------------------------------------------------------------------------
TrunkGroup_1 = 0/1-10,40
TrunkGroup_2 = 0/11-20,50
;Below definitions is dummy - just to complete the E1 span
TrunkGroup_3 = 0/21-30,70



; TrunkGroup Routing Table
;-------------------------------------------------------------------------------

PSTNPrefix = 40#,1
PSTNPrefix = 50#,2
;PSTNPrefix = 03,2
;PSTNPrefix = 04,3

; Prefix Routing Table
;-------------------------------------------------------------------------------
; not used with GK
Prefix = 21,a.a.a.a
;Prefix = 4321,10.2.10.1

; Secures incoming calls from IP. Rejects calls from IP addresses not defined 
; in prefix routing table above. (Default = 0).
SecureCallsFromIP = 0

; When the gateway is on theorigination side of the call, set this to 1 to 
; add Trunk Group ID at the beginning of the destination phone number.
AddTrunkGroupAsPrefix = 0

; To enable special digits "*" or "#" to be dialed, configure 1. Default = 0.
IsSpecialDigits = 1

; Source and Destination numbering type. Default = 0.
; 0: Unknown, 1:International number, 2: National Number, 3: Network specific 
; number, 4: Subscribe number, 6: Abbreviated number, 7: reserved
SourceNumberType = 0
DestNumberType = 0

; Source numbering plan. Default = 0.
; 0: Unknown, 1: ISDN/Telephony numbering plan, 3: Data numbering plan, 
; 4: Telex numbering plan, 8: National Standard numbering plan, 9: Private 
; numbering plan, 15: reserved
SourceNumberPlan = 0
DestNumberPlan = 0


;-------------------------------------------------------------------------------
;    LAN / IP Parameters
;-------------------------------------------------------------------------------

; Set to 0 when working with 10 Base-T hubs. (Default = 4, Auto-negotiation).
EthernetPhyConfiguration = 0


; 0-7, Sets the value of the IP precedence field in the IP header for all 
; the packets to be generated from this gateway. [Default 0]
IPPrecedence = 5

; 0,1,2,4,8, Sets the value of the IP Type Of Service field in the IP header 
; for all the IP packets to be generated from this gateway. [Default 0]
IPTOS = 0

; 1 = Enable (the Media Gateway will send a DHCP request to configure its 
;     IP address and other network parameters). 
; 0 = Disable (default).
DHCPEnable = 0

; Number of BootP retries. 
; 1 = Single BootP retry. 
; 2 = Two BootP retries (3 seconds). 
; 3 = Three BootP retries (default, 6 seconds). 
; 4 = Ten BootP retries (30 seconds). 
; 5 = Twenty BootP retries (60 seconds). 
; 6 = Forty BootP retries (120 seconds). 
; 7 = One hundred BootP retries (300 seconds). 
; 15 = Infinite number of BootP retries.
BootPRetries = 3


;-------------------------------------------------------------------------------
;     Management and Diagnostic Parameters
;-------------------------------------------------------------------------------

; When Syslog is enabled, the port must be 514 [Default = 1]
EnableSyslog = 1

; The IP address of the LogServer (when LogOutputType is SYSLOG)
SysLogServerIP =y.y.y.y


; format of log messages (0-name, 1-time, 2-name & time, 3-syslog) [Default 0]
;LoggerFormat = 3

;Keys for sysLog info detail

GWLoggerFlags = lgr_flow,D2
GWLoggerFlags = lgr_psbrdif,D2
GWLoggerFlags = lgr_stack,D2

; Enables the Media Gateway to send CDR report to configured output.
EnableCDR = 0

WebLogoText = Cirilium 8000
UseLogoInweb = 1

; Resetting the Web Password to a default one [No Value]
; ResetWebPassword

; Enables \ Disables Web Management [Default 0]
DisableWebTask = 0

; Enables/Disables changing parameters from web browser [Default 0]
DisableWebConfig = 0

; Enables/Disables changing parameters by SNMP manager [Default 0]
DisableSNMP = 0

; SNMP manager IP
SNMPManagerIP = 10.2.10.1

; HTTP port used for Web management (default = 80)
HTTPport = 80



Last updated: 03. May 2011
Page maintained by Jan Willamowius