feat: build input features

This commit is contained in:
zhangsz
2025-03-05 11:13:37 +08:00
parent 7486287e84
commit 1e2b480395
129 changed files with 5044 additions and 0 deletions

10
pkg/ocs/DEBIAN/control Executable file
View File

@@ -0,0 +1,10 @@
Package: ocs
Version: 1.0.1.47-YYYYMMDD
Section: net
Priority: optional
Architecture: amd64
Essential: no
Depends:
Conflicts: ocs
Maintainer: 4GC
Description: 4GC OCS Software

14
pkg/ocs/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
test ! -f /usr/local/ocs/bin/conf/wxc2_sys.conf && cp -rf /usr/local/ocs/bin/conf/default/* /usr/local/ocs/bin/conf
test ! -f /usr/local/agt/etc/tariff/prefix_table.txt && cp -rf /usr/local/ocs/bin/conf/default/prefix_* /usr/local/agt/etc/tariff
subDir="/usr/local/subsManage"
if [ ! -d "$subDir" ]; then
mkdir $subDir
chmod 777 $subDir
fi
systemctl enable ocs
exit 0

6
pkg/ocs/DEBIAN/prerm Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Commands to be run before uninstall of the package
systemctl disable ocs

View File

@@ -0,0 +1,8 @@
#application context name configure file for CAP
total data length=4
#application context name data
No.1:50 02 // gsmSSF to gsmSCF
No.2:51 02 // assist handoff gsmSSF to gsmSCF
No.3:52 02 // gsmSRF to gsmSCF
No.4:128 02 // gsmSRF to gsmSCF

View File

@@ -0,0 +1,34 @@
# operation code configure file for CAP
total data length=30
#operation code
No.1:00 02 5 // initial DP
No.2:16 02 5 // assist request instructions
No.3:17 02 20 // establish temporary connection
No.4:18 04 5 // disconnect forward connection
No.5:19 02 5 // connect to resource
No.6:20 02 5 // connect
No.7:22 04 5 // release call
No.8:23 02 5 // request report BCSM event
No.9:24 02 5 // event report BCSM
No.10:31 04 5 // continue
No.11:33 02 5 // reset timer
No.12:34 02 5 // furnish charging information
No.13:35 02 5 // apply charging
No.14:36 02 5 // apply charging report
No.15:44 02 5 // call information report
No.16:45 02 5 // call information request
No.17:46 02 5 // send charging information
No.18:47 02 60 // play announcement
No.19:48 03 60 // prompt and collect user information
No.20:49 04 5 // specialized resource report
No.21:53 02 5 // cancel
No.22:55 03 5 // activity test
No.23:60 02 5 // initial DPSMS
No.24:61 02 5 // Furnishing charging info.SMS
No.25:62 02 5 // connect DPSMS
No.26:63 02 5 // request SMS event
No.27:64 02 5 // event report SMS
No.28:65 04 5 // continue SMS
No.29:66 04 5 // release DPSMS
No.30:67 02 5 // reset timer DPSMS

215
pkg/ocs/conf/cc_table.conf Normal file
View File

@@ -0,0 +1,215 @@
# Country code table configure file
#List the country code
0086; // China
0001; // Canada & USA
0007; // Kazakhstan & Kirighzia & Kyrgyzstan & Russia & Sakhalin & Tajikistan & Uzbekistan
0020; // Egypt
0027; // South Africa
0030; // Greece
0031; // Netherlands
0036; // Hungary
0039; // Italy
0040; // Bomania
0041; // Switzerland
0042; // Czech Republic & Slovakia
0043; // Austria
0044; // United Kingdom
0045; // Denmark
0046; // Sweden
0047; // Norway
0048; // Poland
0049; // Germany
0051; // Peru
0052; // South Korea
0053; // Cuba
0054; // Argentina
0055; // Brazil
0056; // Chile
0057; // Colombia
0058; // Venezuela
0060; // Malaysia
0061; // Australia
0062; // Indonesia
0063; // Philippines
0064; // New Zealand
0065; // Singapore
0066; // Thailand
0081; // Japan
0084; // Vietnam
0090; // Turkey
0091; // India
0092; // Pakistan
0093; // Afghanistan
0094; // Sri Lanka
0095; // Myanmar (Burma)
0098; // Iran
0212; // Morocco
0213; // Algeria
0216; // Tunisia
0218; // Libya
0220; // Gambia
0221; // Senegal Republic
0222; // Mauritania
0223; // Mali Republic
0224; // Guinea
0225; // Ivory Coast
0226; // Burkina Faso
0227; // Niger
0228; // Togo
0229; // Benin
0230; // Mauritius
0231; // Liberia
0232; // Sierra Leone
0233; // Ghana
0234; // Nigeria
0235; // Chad Republic
0236; // Central Africa Republic
0237; // Cameroon
0239; // Sao Tome
0240; // Equatorial Guinea
0241; // Gabon
0242; // Congo
0243; // Zaire
0244; // Angola
0245; // Guinea Bissau
0246; // Diego Garcia
0247; // Ascension Islands
0248; // Seychelles
0249; // Sudan
0250; // Rwanda
0251; // Ethiopia
0252; // Somalia
0253; // Djibouti
0254; // Kenya
0255; // Tanzania
0256; // Uganda
0257; // Burundi
0258; // Mozambigue
0259; // Zanzibar
0260; // Zambia
0261; // Madagascar
0262; // Reunion Island
0263; // Zimbabwe
0264; // Namibia
0265; // Malawi
0266; // Lesotho
0267; // Botswana
0268; // Swaziland
0269; // Comoros
0290; // St.Helena
0291; // Eritrea
0297; // Aruba
0298; // Faeroe Islands
0299; // Greenland
#2696 // Mayotte Island
0321; // Belgium
0331; // France
0339; // Monaco
0349; // Spain
0350; // Gibraltar
0351; // Portugal
0352; // Luxembourg
0353; // Ireland
0354; // Iceland
0355; // Albania
0356; // Malta
0357; // Cyprus
0358; // Finland
0359; // Bulgaria
0370; // Lithuania
0371; // Latvia
0372; // Estonia
0373; // Moldova
0374; // Armenia
0375; // Belarus
0376; // Andorra
0380; // Ukraine
0381; // Yugoslavia
0385; // Croatia
0386; // Slovenia
0387; // Bosnia Herzegovina
0389; // Macedonia
0395; // San Marino
0396; // Vatican City
0417; // Liechtenstein
0500; // Falkland Islands
0501; // Belize
0502; // Guatemala
0503; // EI Salvador
0504; // Honduras
0505; // Nicaragua
0506; // Costa Rica
0507; // Panama
0508; // St.Pierre
0509; // Haiti
0521; // Mexico Band 1
0522; // Mexico Band 2
0523; // Mexico Band 3
0524; // Mexico Band 4
0525; // Mexico Band 5
0526; // Mexico Band 6
0527; // Mexico Band 7
0528; // Mexico Band 8
0590; // Guadeloupe
0591; // Bolivia
0592; // Ecuador & Guyana
0594; // French Guiana
0595; // Paraguay
0596; // French Antilles
0597; // Suriname
0598; // Uruguay
0599; // Netherlands Antilles
#5399 // Guantanamo Bay
0670; // Saipan
0671; // Guam
0672; // Antarctica(Casey) & Antarctica(Scott) & Christmas/Cocos
0673; // Brunei
0674; // Nauru
0675; // Papau New Guinea
0676; // Tonga
0677; // Solomon Islands
0678; // Vanuatu
0679; // Fiji Islands
0680; // Palau
0681; // Wallis/Futuna
0682; // Cook Island
0683; // Niue Island
0684; // American Samoa
0685; // West Samoa
0686; // Kiribati
0687; // New Caledonia
0688; // Tuvalu Islands
0689; // French Polynesia
0691; // Micronesia
0692; // Marshall Islands
#6723 // Norfolk Island
0787; // Puerto Rico
0809; // Anguilla & Antigua & Bahamas & Barbados & Bermuda......
0850; // North Korea
0852; // Hong Kong
0853; // Macao
0855; // Cambodia
0856; // Laos
0868; // Trinidad/Tobago
0880; // Bangladesh
0886; // Taiwan
0960; // Maldives
0961; // Lebanon
0962; // Jordan
0963; // Syria
0964; // Iraq
0965; // Kuwait
0966; // Saudi Arabia
0967; // Yemen Arab Rep.
0968; // Oman
0971; // United Arab Emirates
0972; // Israel
0973; // Bahrain
0974; // Qatar
0975; // Bhutan
0976; // Mongolia
0977; // Nepal
0994; // Azerbaijan
0995; // Georgia

Binary file not shown.

6
pkg/ocs/conf/debug.conf Normal file
View File

@@ -0,0 +1,6 @@
//Debug Conf File
System Type = CDMA ; // GSM, CDMA , GC_SSW
MMI Switch = OFF ; // ON , OFF

View File

@@ -0,0 +1,25 @@
#Service mode 1:Server 2:Client 3:Server&Client
ServiceMod = 3;
Identity = "test.aio-0.iwv";
Realm = "aio-0.iwv";
Port = 3868;
SecPort = 0;
SCTPStr = 10;
#TLS_Cred = "./cacert.pem",
# "./cakey.pem";
#TLS_CA = "./cacert.pem";
#Connect to peer. e.g ConnectPeer = "peer1.localdomain" { No_TLS; No_FWD; No_IP4; No_IP6; No_TCP; No_SCTP; Prefer_TCP; };
#SCTP
#ConnectPeer = "a.client.com" { Realm = "client.com"; No_TLS; No_FWD; No_TCP; };
#TCP
ConnectPeer = "a.client.com" { Realm = "client.com"; No_FWD; No_TLS; No_SCTP; Prefer_TCP; };
#Log levels 0:anything 1:debug 3:notice 5:error 6:fatal
LogLevel = 3;

20
pkg/ocs/conf/help_page Normal file
View File

@@ -0,0 +1,20 @@
******************
* Module PAGE *
******************
Welcome to DEBUG MONITOR.
Press 's' or 'S' to enter "SUB MODULE SELECTION PAGE".
In "SUB MODULE SELECTION PAGE",
Press 'x' or 'X' to return "HELP PAGE",
Press 'a-p' or 'A-P' to select sub module.
In each sub module, Press '0-9' and 'a-f' to select pages.
There are two methods to use Debug,
1. Serial Port, use PC-to-PC serial line.
2. Telnet, use "telnet dst_host_ip 4965".
$

33
pkg/ocs/conf/iptrans.conf Normal file
View File

@@ -0,0 +1,33 @@
#ipconfig
#port=type,num,interface
#type=UDP/TCP
#num=0-6
#interface=BUFFER/DIRECT
4950=UDP,6,DIRECT
4951=UDP,0,BUFFER
4952=UDP,3,BUFFER
4953=UDP,3,BUFFER
4954=UDP,3,BUFFER
4955=UDP,3,BUFFER
4956=UDP,3,BUFFER
4957=UDP,4,BUFFER
4958=UDP,0,BUFFER
4959=UDP,2,BUFFER
4960=UDP,3,BUFFER
4961=UDP,2,BUFFER
4962=UDP,0,BUFFER
4963=UDP,3,BUFFER
4964=UDP,3,BUFFER
4965=TCP,3,BUFFER
4966=UDP,3,DIRECT
4967=UDP,3,DIRECT
4968=UDP,2,BUFFER
4969=UDP,3,BUFFER
4970=UDP,3,BUFFER
4971=UDP,3,BUFFER
4972=UDP,2,BUFFER
4973=UDP,3,BUFFER
[port transfer]
4966=2727
4967=2427

View File

@@ -0,0 +1,60 @@
# operation code configure file
total data length=62
#operation code/class/timer
No.1:01 01 20 // HandoffMeasurementRequest
No.2:02 01 10 // FacilitiesDirective
No.3:03 01 20 // MobileOnChannel
No.4:04 01 05 // HandoffBack
No.5:05 01 20 // FacilitiesRelease
No.6:06 01 20 // QualificationRequest
No.7:07 01 05 // QualificationDirective
No.8:08 01 05 // Blocking
No.9:09 01 20 // Unblocking
No.10:10 01 20 // ResetCircuit
No.11:11 01 20 // TrunkTest
No.12:12 01 20 // TrunkTestDisconnect
No.13:13 01 20 // RegistrationNotification
No.14:14 01 20 // RegistrationCancellation
No.15:15 01 20 // LocationRequest
No.16:16 01 20 // RoutingRequest
No.17:17 01 20 // FeatureRequest
No.18:18 01 20 // ServiceProfileRequest
No.19:19 01 20 // ServiceProfileDirective
No.20:20 01 20 // UnreliableRoamerDataDirective
No.21:21 01 20 // CallDataREquest
No.22:22 01 20 // MSInactive
No.23:23 01 20 // TransferToNumberRequest
No.24:24 01 20 // RedirectionRequest
No.25:25 01 20 // HandoffToThird
No.26:26 01 20 // FlashRequest
No.27:27 01 60 // AuthenticationDirective
No.28:28 01 20 // AuthenticationRequest
No.29:29 01 20 // BaseStationChallenge
No.30:30 01 20 // AuthenticationFailureReport
No.31:31 01 20 // CountRequest
No.32:32 01 20 // InterSystemPage
No.33:33 01 600 // UnsolicitedResponse
No.34:34 01 60 // BulkDeregistration
No.35:35 01 60 // HandoffMeasurementRequest2
No.36:36 01 60 // FacilitiesDirective2
No.37:37 03 20 // HandoffBack2
No.38:38 01 20 // HandoffToThird2
No.39:39 01 20 // AuthenticationDirectiveForward
No.40:40 01 20 // AuthenticationStatusReport
No.41:41 01 60 // InformationBackward
No.42:42 01 60 // InformationDirective
No.43:43 01 05 // InformationForward
No.44:44 01 05 // InterSystemAnswer
No.45:45 01 05 // InterSystemPage2
No.46:46 01 05 // InterSystemSetup
No.47:47 01 20 // OriginationRequest
No.48:48 01 20 // RandomVariableRequest
No.49:49 01 20 // RedirectionDirective
No.50:50 01 20 // RemoteUserInteractionDirective
No.51:51 01 20 // SMSDeliveryBackward
No.52:52 01 20 // SMSDeliveryForward
No.53:53 01 20 // SMSDeliveryPointToPoint
No.54:54 01 20 // SMSNotification
No.55:55 01 20 // SMSRequest

Binary file not shown.

42
pkg/ocs/conf/map_acn.conf Normal file
View File

@@ -0,0 +1,42 @@
#application context name configure file
total data length=36
#application context name data
No.1:01 03 // network location update
No.2:02 03 // location cancel
No.3:03 03 // roaming number enquiry
No.4:05 03 // location info retrieval
No.5:10 02 // reset context
No.6:11 02 // handover control
No.7:13 03 // equipment management
No.8:14 03 // info retrieval
No.9:15 03 // inter VLR info retrieval
No.10:16 03 // subscriber data management
No.11:17 03 // tracing
No.12:18 03 // network functional SS
No.13:19 02 // network unstructured SS
No.14:20 03 // short message gateway
No.15:21 03 // short message MO relay
No.16:23 03 // short message alert
No.17:24 03 // short message waiting data management
No.18:25 03 // mobile terminating short message relay
No.19:26 03 // imsi retrieval
No.20:27 03 // MS purging
No.21:28 03 // subscriber info enquiry
No.22:29 03 // any time info enquiry
No.23:06 03 // call control transfer
No.24:36 03 // invocation notification
No.25:12 03 // sIWFS allocation
No.26:31 03 // group call control
No.27:32 03 // GPRS location update
No.28:33 03 // GPRS location info retrieval
No.29:34 03 // failure report
No.30:35 03 // GPRS notify
No.31:07 03 // reporting
No.32:08 03 // call completion
No.33:200 03 // security triplets (MAP-H defined by Meng Xiaozhen)
No.34:201 03 // subscriber interrogate (MAP-H defined by Meng Xiaozhen)
No.35:202 03 // HLR subscriber management (MAP-H defined by Meng Xiaozhen)
No.36:203 03 // HLR ping AUC (MAP-H defined by Meng Xiaozhen reserved)
NO.37:09 01 // Send parameter

View File

@@ -0,0 +1,71 @@
# operation code configure file
total data length=67
#operation code
No.1:02 01 20 // update location
No.2:03 01 10 // cancel location
No.3:67 01 20 // purge mobile station
No.4:55 01 05 // send identification
No.5:68 01 20 // prepare handover
No.6:29 03 108000 // send end signal
No.7:33 04 05 // process access signalling
No.8:34 04 05 // forward access signalling
No.9:69 01 20 // prepare subsequent handover
No.10:56 01 20 // send authentication info
No.11:43 01 20 // check IMEI
No.12:07 01 20 // insert subscriber data
No.13:08 01 20 // delete subscriber data
No.14:37 04 20 // reset
No.15:38 04 20 // forward check ss indication
No.16:57 01 20 // restore data
No.17:50 01 20 // active trace mode
No.18:51 01 20 // deactive trace mode
No.19:58 01 20 // send imsi
No.20:22 01 20 // send routing info
No.21:04 01 20 // provide roaming number
No.22:06 01 20 // resume call handling
No.23:31 01 20 // provide SIWFS number
No.24:32 01 20 // SIWFS signalling modify
No.25:73 01 20 // set report state
No.26:74 01 20 // status report
No.27:75 01 60 // remote user free
No.28:10 01 20 // register ss
No.29:11 01 20 // erase ss
No.30:12 01 20 // activate ss
No.31:13 01 20 // deactivate ss
No.32:14 01 20 // interrogate ss
No.33:59 01 600 // process unstructure ss request
No.34:60 01 60 // unstructure ss request
No.35:61 01 60 // unstructure ss notify
No.36:17 01 60 // register password
No.37:18 03 20 // get password
No.38:76 01 20 // register cc entry
No.39:77 01 20 // erase cc entry
No.40:45 01 20 // send routing info for sm
No.41:46 01 60 // mo forward sm
No.42:44 01 60 // mt forward sm
No.43:47 01 05 // report sm delivery status
No.44:63 04 05 // inform service centre
No.45:64 01 05 // alert service center
No.46:66 01 05 // ready for sm
No.47:70 01 20 // provider subscriber info
No.48:71 01 20 // any time interrogation
No.49:72 01 20 // ss invocatin notification
No.50:39 01 20 // prepare group call
No.51:40 03 108000 // send group call end signal
No.52:41 04 05 // process group call signalling
No.53:42 04 05 // forward group call signalling
No.54:23 01 20 // update GPRS location
No.55:24 01 20 // send routing info for GPRS
No.56:25 01 20 // failure report
No.57:26 01 20 // note ms present for GPRS
No.58:200 01 05 // security triplets (MAP-H defined by Meng Xiaozhen)
No.59:201 01 05 // interrogate subscriber (MAP-H defined by Meng Xiaozhen)
No.60:202 01 05 // hlr create subscriber (MAP-H defined by Meng Xiaozhen)
No.61:203 01 05 // hlr delete subscriber (MAP-H defined by Meng Xiaozhen)
No.62:204 01 05 // hlr ping auc (MAP-H defined by Meng Xiaozhen reserved)
No.63:128 01 20 // OPR:DetermineOprUser
No.64:129 01 20 // OPR:VlrLocationUpdate
No.65:130 01 20 // OPR:CreateUserWithMsisdnImei
No.66:131 01 20 // OPR:DeleteOprUser
No.67:132 01 20 // IMDM:VlrEnquiryIMDMStatus

View File

@@ -0,0 +1,2 @@
bind ip=192.168.1.169
shm key shift=8

17
pkg/ocs/conf/menu_page Normal file
View File

@@ -0,0 +1,17 @@
*******************
* MENU PAGE *
*******************
a -- IPTR m -- MNP
b -- MTP3 n -- DEBUG
c -- SCCP o -- AUC
d -- TCAP p -- SMPP
e -- XAPP r -- XUA
f -- MSC s -- BICC
g -- VLR t -- MGC
h -- EIR u -- GCP
i -- HLR v -- 8ECP
j -- SMSC w -- AIF
k -- PPS y -- ISUP
l -- SNMP z -- AAS

17
pkg/ocs/conf/menu_page2 Normal file
View File

@@ -0,0 +1,17 @@
*******************
* MENU PAGE *
*******************
a -- ISDN m -- TCP
b -- IIF n --
c -- UES o --
d -- SSF p --
e -- MRFC r --
f -- SIP s --
g -- PALIM t --
h -- RADIUS u --
i -- RANAP v -- MEGACO
j -- OPR w --
k -- RLS y --
l -- MC z --

View File

@@ -0,0 +1,3 @@
Name Ip0 Ip1
MESH0 155.226.202.78 155.226.202.79
MESH2 155.226.202.30 155.226.202.31

Binary file not shown.

BIN
pkg/ocs/conf/mnpf.conf Normal file

Binary file not shown.

View File

@@ -0,0 +1,29 @@
#MRFC MRFP Config File
[MRFP-0]
id=0
timestamp=1224123275
title=MRFP-0
local_domain=
dest_domain=iwf
dest_ip=172.25.196.30
dest_port=5070
conf_prefix=conf
trans_prefix=iwf
max_conference_user_num=90
max_transcoding_user_num=90
mrfp_type=2
admin_state=0
[MRFP-1]
id=1
timestamp=1329406204
title=MRFP-1
local_domain=172.25.192.51
dest_domain=iwf
dest_ip=172.25.196.30
dest_port=5070
conf_prefix=conf
trans_prefix=iwf
max_conference_user_num=30
max_transcoding_user_num=30
mrfp_type=2
admin_state=1

52
pkg/ocs/conf/mtp3.conf Normal file
View File

@@ -0,0 +1,52 @@
#MTP3 CONFIGURE FILE
[system]
mtp3litePort=8813
[internationalNetworkRouting]
opc=00000c
pclen=1
pctype=1
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[internationalSpareNetworkRouting]
opc=000200
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 0.UPE_85.000110.000000.0002.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[nationalNetworkRouting]
opc=0003E8
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 1.SGSN.0000CC.000000.0001.0200.00000000.000000000202020202030302020303020303020303030303030303030303030302020202]
[ 2.HNBGW.001388.000000.0002.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[nationalSpareNetworkRouting]
opc=00034a
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 0.wxc1.000020.000000.0007.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[linkset]
#[index.title.admin.nw.dpc.loop_flag.opc]
[ 1.SGSN.01.02.0000CC.00.000000]
[ 2.HNBGW.01.02.001388.00.000000]
[link]
#[index.title.admin.type.linkset.slc.hostIP.alterIP.sg.iid.mtp3lite_mode.mtp3lite_remoteIP.inactive.inactive_times]
[ 1.SGSN.01.04.0001.00.7E01A8C0.00000000.0001.00.00.00000000.ff.ff]
[ 2.HNBGW.01.04.0002.00.7E01A8C0.00000000.0002.00.00.00000000.ff.ff]
[signalingGateway]
#[index.admin.server.data_ack.sgIP.clientSourceIP.clientSourcePort]
[ 1.01.01.04.8201A8C0.00000000.0000]
[ 2.01.01.04.8001A8C0.00000000.0000]

BIN
pkg/ocs/conf/oprConf.txt Normal file

Binary file not shown.

BIN
pkg/ocs/conf/ppsConf.txt Normal file

Binary file not shown.

BIN
pkg/ocs/conf/ppsCrdConf.txt Normal file

Binary file not shown.

View File

@@ -0,0 +1,16 @@
[local mobile]
35
67235
0067235
351
5
[local pstn]
2
32
67232
0067232
0116
672116
922
955
977

View File

@@ -0,0 +1,105 @@
0067235,Local Mobile - 00
67235,Local Mobile
5,Local Mobile - Short
0116,VMS - 0
672116,VMS
0067232,Local PSTN - 00
67232,Local PSTN
2,Local PSTN - Short
00,Rest of the World - 00
0061,Australia - 00
0064,New Zealand - 00
955,Fire Station
922,Police1
977,Police2
999,IVR_for_EM
0100,Emergency Number1
911,Emergency Number2
13100,Toll Free Number1
13101,Toll Free Number2
13102,Toll Free Number3
13737,Toll Free Number4
0222,Toll Free Number5
0333,Toll Free Number6
0444,Toll Free Number7
13222,Toll Free Number8
131020,Toll Free Number9
131202,Toll Free Number10
131232,Toll Free Number11
131272,Toll Free Number12
131318,Toll Free Number13
131394,Toll Free Number14
131444,Toll Free Number15
131524,Toll Free Number16
131556,Toll Free Number17
131673,Toll Free Number18
131678,Toll Free Number19
131715,Toll Free Number20
132011,Toll Free Number21
132050,Toll Free Number22
132127,Toll Free Number23
132131,Toll Free Number24
132150,Toll Free Number25
132300,Toll Free Number26
132307,Toll Free Number27
132316,Toll Free Number28
132318,Toll Free Number29
133633,Toll Free Number30
136150,Toll Free Number31
000,Emergency Number3
1300,Toll Free Number32
1311,Toll Free Number33
1322,Toll Free Number34
1324,Toll Free Number35
1327,Toll Free Number36
1328,Toll Free Number37
1329,Toll Free Number38
1332,Toll Free Number39
1333,Toll Free Number40
1362,Toll Free Number41
1363,Toll Free Number42
137,Toll Free Number43
139,Toll Free Number44
1800,Toll Free Number45
0194,NT Technical 1
0190,NT Technical 2
672323904,NT Technical 0194
672323900,NT Technical 0190
23904,NT Technical 0194 Short
23900,NT Technical 0190 Short
00672323904,NT Technical 0194 Long
00672323900,NT Technical 0190 Long
25000,NT Service Code
00447786205094,IPhone Imessage
1800501128,MT Charging Burnt Pine Travel
1800704196,MT Charging Media Gaming Dir
1800850978,MT Charging Rossf NI
1800214603,MT Charging NI Tourist Information Centre
1800854293,MT Charging Vero Insurance
1800140066,MT Charging The Travel Centre
1800123215,MT Charging Fragrance and Flowers
ITF,Inwards Toll
22195,MT Burnt Pine Travel
22887,MT Fragrance and Flowers
23761,MT The Travel Center
23274,MT Vero Insurance
22147,MT NI Tourist Information Center
22192,MT Ross of NI
24301,MT Media and Gaming Dir
22195,MT Burnt Pine Travel
22887,MT Fragrance and Flowers
23761,MT The Travel Center
23274,MT Vero Insurance
22147,Mt NI Tourist Information Center
22192,MT Ross of NI
24301,MT Media and Gaming Dir
22195,MT Burnt Pine Travel
22887,MT Fragrance and Flowers
23761,MT The Travel Center
23274,MT Vero Insurance
22147,MT NI Tourist Information Center
22192,MT Ross of NI
24301,MT Media and Gaming Dir
0067236,Local Mobile 1 - 00
67236,Local Mobile 1
6,Local Mobile 1 - Short

37
pkg/ocs/conf/profile Normal file
View File

@@ -0,0 +1,37 @@
# /etc/profile
# System wide environment and startup programs
# Functions and aliases go in /etc/bashrc
PATH=".:$PATH:/sbin:/usr/sbin:/usr/X11R6/bin:/etc/rc.d/init.d:/usr/local/wxc2/bin"
PATH=/usr/java/jdk1.3/bin:$PATH
ulimit -c 80000
if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
umask 002
else
umask 022
fi
USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
JAVA_COMPILER=javacomp ; export JAVA_COMPILER
LD_LIBRARY_PATH=/usr/local/mysql/lib ; export LD_LIBRARY_PATH
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
done
unset i
PATH=/usr/local/wxc2/bin:$PATH

43
pkg/ocs/conf/sccp.conf Normal file
View File

@@ -0,0 +1,43 @@
#SCCP Config file (R1V0_01)
[Local Node]
#ssn NetID msisdn ip0 ip1 acn_index
4 2 - 192.168.1.126 10.0.0.0 0
6 2 86755800001 192.168.1.126 10.0.0.0 0
7 2 86755800002 192.168.1.126 10.0.0.0 0
8 2 86755800003 192.168.1.126 10.0.0.0 0
9 2 86755800004 192.168.1.126 10.0.0.0 0
10 2 86755800005 192.168.1.126 10.0.0.0 0
11 2 86755800000 192.168.1.126 10.0.0.0 0
19 2 86755800007 192.168.1.126 10.0.0.0 0
20 2 86755800008 192.168.1.126 10.0.0.0 0
22 2 86755800009 192.168.1.126 10.0.0.0 0
23 2 86755800010 192.168.1.126 10.0.0.0 0
32 2 86755800011 192.168.1.126 10.0.0.0 0
33 2 86755800012 192.168.1.126 10.0.0.0 0
142 2 86755800013 192.168.1.126 10.0.0.0 0
146 2 86755800014 192.168.1.126 10.0.0.0 0
147 2 86755800015 192.168.1.126 10.0.0.0 0
149 2 86755800016 192.168.1.126 0.0.0.0 0
153 2 86755800017 192.168.1.126 10.0.0.0 0
254 2 - 192.168.1.126 10.0.0.0 0
[GTT_Table]
#No EN NP TT StartDigits EndDigits NI SPC SSN RI AI S E N Rep ACN_index
0 1 6 - 460990010001001 460990010009999 2 0003E8 6 0 6 0
1 1 1 - 86755900000 86755909999 2 0003E8 6 0 6 0
2 1 1 - 66755920067 66755920067 2 0000cc 0 0 6 0
[RL_SSN]
#NetID DPC SSN
[GTT_ATTRIBUTE]
Idx
0 0000000000000000000000000000000000000000000000000000000000000000
1 0000000000000000000000000000000000000000000000000000000000000000
2 0000000000000000000000000000000000000000000000000000000000000000
[ACN_VERSION]
#No avail 37bytes
0 1 03030303020203030303030202030303030303030303030303030303030303030303030307
1 1 03030303020202020203030202020202020202030303030303030303030303030202020207

57
pkg/ocs/conf/shm.conf Normal file
View File

@@ -0,0 +1,57 @@
#------------------------------Server paramter----------------------------#
#Server Type (0=OMC 1=FUNCTION SERVER)
ServerType=1
#Server ID ( 0=master 1=slave)
ServerID=0
#IP Info (OMC0 OMC1 for omc server, SERVER0 and SERVER1 for function server)
OMC0=172.18.128.1
OMC1=172.18.129.1
SERVER0=172.18.98.1
SERVER1=172.18.99.1
#------------------------------Share Memory List(MAX=10)-------------------#
# ID KEY PERM SIZE USR INTTLP INITRP REALP PERIODP REALIP PERIODICIP
* 11 12000000 436 16384 AUC 4957 4957 4972 4972 239.255.4.1 239.255.4.1
* 12 12040000 436 16384 EIR 4957 4957 4974 4974 239.255.6.1 239.255.6.1
* 13 45000001 436 33985 HLR 4957 4957 4970 4970 239.255.2.1 239.255.2.1
* 24 90000000 436 32768 VLR 4957 4957 4973 4973 239.255.5.1 239.255.5.1
* 5 05020000 436 22528 PPS 4957 4957 4971 4971 239.255.3.1 239.255.3.1
#------------------------DataBase info (only used for OMC MAX=10)- ---------#
# HOSTNAME PASSWORD USER DBNAME
<1> localhost rootaa root HlrDb
<2> localhost rootaa root parameter_db
<3> localhost rootaa root account_db
<4> localhost rootaa root tariff_db
<5> localhost rootaa root refresh_card
<6> localhost rootaa root AUC_Para
<7> localhost rootaa root VlrDb
<8> localhost rootaa root EIR_Para
#-------------------------MIBS Config Files---------------------------------#
PATH:./conf/mibs/
#MIB List
[1] IWV-SMI.txt
[2] WAVEII-SMI.txt
[3] WAVEII-DATASYNC-MIB.txt
[4] WAVEII-AUC-MIB.txt
[5] WAVEII-EIR-MIB.txt
[6] WAVEII-HLR-MIB.txt
[7] WAVEII-MSC-MIB.txt
[8] WAVEII-PPS-MIB.txt
#ProcedureID(>=0)
#ProID=1
#Timeout value <256(Minute) (the Max waiting time for the OMC startup)
WaitTime=1

35
pkg/ocs/conf/smpp.conf Normal file
View File

@@ -0,0 +1,35 @@
#SMPP Config file (V1.0.01)
#Copy this file to ./conf/smpp.conf to set global options
#No lkEn lkType serverType sessionType sysID pwd sysType LGTT RGTT LIP RIP sessionTimer enqTimer inactTimer rspTimer ServiceNum localSSN remoteSSN
0 129 1 1 0 WSMS 123456 GSM - - 172.25.196.78 172.25.196.80 5 10 5 5 98765 0 0
1 129 1 1 0 SMEG 123456 GSM - - 172.25.196.78 172.25.196.80 5 10 5 5 88888 0 0
2 129 1 1 1 SMEG 123456 GSM -- -- 172.25.196.78 172.25.196.80 5 10 5 5 88888 0 0
3 129 0 0 2 PPS 123456 GSM 86755920016 86755920017 0.0.0.0 0.0.0.0 5 10 5 5 333 0 0
4 129 0 1 2 PPS 123456 GSM 86755920017 86755920016 0.0.0.0 0.0.0.0 5 10 5 5 333 0 0
5 129 1 1 2 MMS 123456 GSM -- -- 172.25.196.78 172.25.201.132 5 10 5 5 1111 0 0
6 129 1 1 0 upe 123456 -- -- -- 172.25.196.78 172.25.201.131 10 10 5 5 78787 0 0
7 129 1 1 2 SME_SND 123456 GSM -- -- 172.25.196.78 172.25.201.216 5 10 5 5 1010 0 0
8 129 1 1 2 ESME 123456 GSM -- -- 172.25.196.78 172.25.196.100 5 10 5 5 99999 0 0
9 129 1 1 0 VMS-0 123456 UTRAN -- -- 172.25.196.78 172.25.196.79 5 10 5 5 9200 0 0
10 0 1 1 2 3gr4s 123456 GSM -- -- 172.25.196.78 172.25.201.216 5 10 5 5 77999 0 0
11 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 10 10 5 5 -- 0 0
12 0 0 0 0 -- -- -- -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
13 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
14 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
15 0 0 0 0 11 11 11 11 11 1.1.1.1 1.1.1.1 11 10 11 11 11 11 11
16 0 0 1 2 PPS 123456 GSM 86755920017 86755920016 0.0.0.0 0.0.0.0 5 10 5 5 12 0 0
17 0 0 0 2 PPS 123456 GSM 86755920016 86755920017 0.0.0.0 0.0.0.0 5 10 5 5 12 0 0
18 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
19 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
20 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
21 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
22 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
23 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
24 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
25 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
26 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
27 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
28 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
29 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
30 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
31 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0

24
pkg/ocs/conf/snmp.conf Normal file
View File

@@ -0,0 +1,24 @@
[version-1]
[manager]
engineID=00000063000000A19BE2CAC5
[engine-0]
engineType=2
securityLevel=3
userName=Wxc2LocalUser!
authPassword=Sw1tch3msPass
privacyPassword=Sw1tch3msPriv
engineID=00000063000000A19BE2CAC5
contextName=Sw1tch3msUser!
contextEngineID=00000063000000A19BE2CAC5
[engine-1]
engineType=1
securityLevel=3
userName=AudioCode177!
authPassword=Sw1tch3msPass
privacyPassword=Sw1tch3msPriv
engineID=10000063000000a1ac12c805
contextName=AudioCode177!
contextEngineID=
remoteIp=172.25.196.65

BIN
pkg/ocs/conf/srf.conf Normal file

Binary file not shown.

318
pkg/ocs/conf/syntax_lang0 Normal file
View File

@@ -0,0 +1,318 @@
# English
[Divisor]
1000000:
1000: 29
100: 28
10:
[Residue]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
30: 21
40: 22
50: 23
60: 24
70: 25
80: 26
90: 27
[Zero Space]
0: 36
[Digit]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
[Hour]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 1
22: 20 2
23: 20 3
[Minute]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 1
32: 21 2
33: 21 3
34: 21 4
35: 21 5
36: 21 6
37: 21 7
38: 21 8
39: 21 9
40: 22
41: 22 1
42: 22 2
43: 22 3
44: 22 4
45: 22 5
46: 22 6
47: 22 7
48: 22 8
49: 22 9
50: 23
51: 23 1
52: 23 2
53: 23 3
54: 23 4
55: 23 5
56: 23 6
57: 23 7
58: 23 8
59: 23 9
[Year]
2000: 2 29
2001: 2 29 36 1
2002: 2 29 36 2
2003: 2 29 36 3
2004: 2 29 36 4
2005: 2 29 36 5
2006: 2 29 36 6
2007: 2 29 36 7
2008: 2 29 36 8
2009: 2 29 36 9
2010: 2 29 36 10
2011: 2 29 36 11
2012: 2 29 36 12
2013: 2 29 36 13
2014: 2 29 36 14
2015: 2 29 36 15
2016: 2 29 36 16
2017: 2 29 36 17
2018: 2 29 36 18
2019: 2 29 36 19
[Month]
1: 71
2: 72
3: 73
4: 74
5: 75
6: 76
7: 77
8: 78
9: 79
10: 80
11: 81
12: 82
[Day]
1: 50
2: 51
3: 52
4: 53
5: 54
6: 55
7: 56
8: 57
9: 58
10: 59
11: 60
12: 61
13: 62
14: 63
15: 64
16: 65
17: 66
18: 67
19: 68
20: 69
21: 20 50
22: 20 51
23: 20 52
24: 20 53
25: 20 54
26: 20 55
27: 20 56
28: 20 57
29: 20 58
30: 70
31: 21 50
[Decimal]
0: 31
1: 31 1 33
2: 31 2 33
3: 31 3 33
4: 31 4 33
5: 31 5 33
6: 31 6 33
7: 31 7 33
8: 31 8 33
9: 31 9 33
10: 31 10 33
11: 31 11 33
12: 31 12 33
13: 31 13 33
14: 31 14 33
15: 31 15 33
16: 31 16 33
17: 31 17 33
18: 31 18 33
19: 31 19 33
20: 31 20 33
21: 31 20 1 33
22: 31 20 2 33
23: 31 20 3 33
24: 31 20 4 33
25: 31 20 5 33
26: 31 20 6 33
27: 31 20 7 33
28: 31 20 8 33
29: 31 20 9 33
30: 31 21 33
31: 31 21 1 33
33: 31 21 2 33
33: 31 21 3 33
34: 31 21 4 33
35: 31 21 5 33
36: 31 21 6 33
37: 31 21 7 33
38: 31 21 8 33
39: 31 21 9 33
40: 31 22 33
41: 31 22 1 33
42: 31 22 2 33
43: 31 22 3 33
44: 31 22 4 33
45: 31 22 5 33
46: 31 22 6 33
47: 31 22 7 33
48: 31 22 8 33
49: 31 22 9 33
50: 31 23 33
51: 31 23 1 33
52: 31 23 2 33
53: 31 23 3 33
54: 31 23 4 33
55: 31 23 5 33
56: 31 23 6 33
57: 31 23 7 33
58: 31 23 8 33
59: 31 23 9 33
60: 31 24 33
61: 31 24 1 33
62: 31 24 2 33
63: 31 24 3 33
64: 31 24 4 33
65: 31 24 5 33
66: 31 24 6 33
67: 31 24 7 33
68: 31 24 8 33
69: 31 24 9 33
70: 31 25 33
71: 31 25 1 33
72: 31 25 2 33
73: 31 25 3 33
74: 31 25 4 33
75: 31 25 5 33
76: 31 25 6 33
77: 31 25 7 33
78: 31 25 8 33
79: 31 25 9 33
80: 31 26 33
81: 31 26 1 33
82: 31 26 2 33
83: 31 26 3 33
84: 31 26 4 33
85: 31 26 5 33
86: 31 26 6 33
87: 31 26 7 33
88: 31 26 8 33
89: 31 26 9 33
90: 31 27 33
91: 31 27 1 33
92: 31 27 2 33
93: 31 27 3 33
94: 31 27 4 33
95: 31 27 5 33
96: 31 27 6 33
97: 31 27 7 33
98: 31 27 8 33
99: 31 27 9 33
# YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY
[Date Format]
MM-DD-YYYY
#Minus account:2=Minus;1=0.5 second Silence
[Sign Symbol]
1: 37
2: 88

344
pkg/ocs/conf/syntax_lang1 Normal file
View File

@@ -0,0 +1,344 @@
# French
[Divisor]
1000000:
1000: 29
100: 28
10:
[Residue]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
30: 21
31: 21 36 1
40: 22
41: 22 36 1
50: 23
51: 23 36 1
60: 24
61: 24 36 1
70: 25
71: 24 36 11
72: 24 12
73: 24 13
74: 24 14
75: 24 15
76: 24 16
77: 24 17
78: 24 18
79: 24 19
80: 26
81: 26 36 1
90: 27
91: 26 11
92: 26 12
93: 26 13
94: 26 14
95: 26 15
96: 26 16
97: 26 17
98: 26 18
99: 26 19
100: 28
1000: 29
[Zero Space]
0: 36
[Digit]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
[Hour]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
[Minute]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 36 1
32: 21 2
33: 21 3
34: 21 4
35: 21 5
36: 21 6
37: 21 7
38: 21 8
39: 21 9
40: 22
41: 22 36 1
42: 22 2
43: 22 3
44: 22 4
45: 22 5
46: 22 6
47: 22 7
48: 22 8
49: 22 9
50: 23
51: 23 36 1
52: 23 2
53: 23 3
54: 23 4
55: 23 5
56: 23 6
57: 23 7
58: 23 8
59: 23 9
[Year]
2000: 2 29
2001: 2 29 1
2002: 2 29 2
2003: 2 29 3
2004: 2 29 4
2005: 2 29 5
2006: 2 29 6
2007: 2 29 7
2008: 2 29 8
2009: 2 29 9
2010: 2 29 10
2011: 2 29 11
2012: 2 29 12
2013: 2 29 13
2014: 2 29 14
2015: 2 29 15
2016: 2 29 16
2017: 2 29 17
2018: 2 29 18
2019: 2 29 19
[Month]
1: 71
2: 72
3: 73
4: 74
5: 75
6: 76
7: 77
8: 78
9: 79
10: 80
11: 81
12: 82
[Day]
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 36 1
[Decimal]
0: 31
1: 31 1 33
2: 31 2 33
3: 31 3 33
4: 31 4 33
5: 31 5 33
6: 31 6 33
7: 31 7 33
8: 31 8 33
9: 31 9 33
10: 31 10 33
11: 31 11 33
12: 31 12 33
13: 31 13 33
14: 31 14 33
15: 31 15 33
16: 31 16 33
17: 31 17 33
18: 31 18 33
19: 31 19 33
20: 31 20 33
21: 31 20 36 1 33
22: 31 20 2 33
23: 31 20 3 33
24: 31 20 4 33
25: 31 20 5 33
26: 31 20 6 33
27: 31 20 7 33
28: 31 20 8 33
29: 31 20 9 33
30: 31 21 33
31: 31 21 36 1 33
33: 31 21 2 33
33: 31 21 3 33
34: 31 21 4 33
35: 31 21 5 33
36: 31 21 6 33
37: 31 21 7 33
38: 31 21 8 33
39: 31 21 9 33
40: 31 22 33
41: 31 22 36 1 33
42: 31 22 2 33
43: 31 22 3 33
44: 31 22 4 33
45: 31 22 5 33
46: 31 22 6 33
47: 31 22 7 33
48: 31 22 8 33
49: 31 22 9 33
50: 31 23 33
51: 31 23 36 1 33
52: 31 23 2 33
53: 31 23 3 33
54: 31 23 4 33
55: 31 23 5 33
56: 31 23 6 33
57: 31 23 7 33
58: 31 23 8 33
59: 31 23 9 33
60: 31 24 33
61: 31 24 36 1 33
62: 31 24 2 33
63: 31 24 3 33
64: 31 24 4 33
65: 31 24 5 33
66: 31 24 6 33
67: 31 24 7 33
68: 31 24 8 33
69: 31 24 9 33
70: 31 25 33
71: 31 24 36 11 33
72: 31 24 12 33
73: 31 24 13 33
74: 31 24 14 33
75: 31 24 15 33
76: 31 24 16 33
77: 31 24 17 33
78: 31 24 18 33
79: 31 24 19 33
80: 31 26 33
81: 31 26 36 1 33
82: 31 26 2 33
83: 31 26 3 33
84: 31 26 4 33
85: 31 26 5 33
86: 31 26 6 33
87: 31 26 7 33
88: 31 26 8 33
89: 31 26 9 33
90: 31 27 33
91: 31 26 11 33
92: 31 26 12 33
93: 31 26 13 33
94: 31 26 14 33
95: 31 26 15 33
96: 31 26 16 33
97: 31 26 17 33
98: 31 26 18 33
99: 31 26 19 33
# YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY
[Date Format]
DD-MM-YYYY
#Minus account:2=Minus;1=0.5 second Silence
[Sign Symbol]
1: 37
2: 88

BIN
pkg/ocs/conf/system.ini Normal file

Binary file not shown.

16
pkg/ocs/conf/ussd.conf Normal file
View File

@@ -0,0 +1,16 @@
#HLR USSD Conf File
[HLR USSDC]
Format String="*C3B*S#" //regular expression
[UG-CSI]
#ID srvCode gsmSCFAddr
0 222 9186755920019EEEEE
1 23 9186755920019EEEEE
2 34 9186755920019EEEEE
3 45 9186755920019EEEEE
[USSD EAE]//service number < 9 digits service code <= 4 digits
ID SRVNum ServiceCode

View File

@@ -0,0 +1,3 @@
aio-0=192.168.1.169;
heartbeat no=9
noTimeSync=0

View File

@@ -0,0 +1,4 @@
WXC2 procedure exit log
Time: Tue Nov 2 16:34:48 2004
Now module: MSC

BIN
pkg/ocs/conf/xap_mscid.conf Normal file

Binary file not shown.

Binary file not shown.

11
pkg/ocs/systemd/ocs.service Executable file
View File

@@ -0,0 +1,11 @@
[Service]
Type=idle
WorkingDirectory=/usr/local/ocs/bin
ExecStart=/usr/local/ocs/bin/ocs > /dev/null 2>&1 &
Restart=always
RestartSec=3
StandardOutput=null
[Install]
WantedBy=multi-user.target

10
pkg/scp/DEBIAN/control Executable file
View File

@@ -0,0 +1,10 @@
Package: scp
Version: 2409.6-YYYYMMDD
Section: net
Priority: optional
Architecture: amd64
Essential: no
Depends:
Conflicts: scp
Maintainer: 4GC
Description: 4GC SCP Software

13
pkg/scp/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
test ! -f /usr/local/scp/bin/conf/wxc2_sys.conf && cp -rf /usr/local/scp/bin/conf/default/* /usr/local/scp/bin/conf
subDir="/usr/local/subsManage"
if [ ! -d "$subDir" ]; then
mkdir $subDir
chmod 777 $subDir
fi
systemctl enable scp
exit 0

6
pkg/scp/DEBIAN/prerm Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Commands to be run before uninstall of the package
systemctl disable scp

View File

@@ -0,0 +1,8 @@
#application context name configure file for CAP
total data length=4
#application context name data
No.1:50 02 // gsmSSF to gsmSCF
No.2:51 02 // assist handoff gsmSSF to gsmSCF
No.3:52 02 // gsmSRF to gsmSCF
No.4:128 02 // gsmSRF to gsmSCF

View File

@@ -0,0 +1,34 @@
# operation code configure file for CAP
total data length=30
#operation code
No.1:00 02 5 // initial DP
No.2:16 02 5 // assist request instructions
No.3:17 02 20 // establish temporary connection
No.4:18 04 5 // disconnect forward connection
No.5:19 02 5 // connect to resource
No.6:20 02 5 // connect
No.7:22 04 5 // release call
No.8:23 02 5 // request report BCSM event
No.9:24 02 5 // event report BCSM
No.10:31 04 5 // continue
No.11:33 02 5 // reset timer
No.12:34 02 5 // furnish charging information
No.13:35 02 5 // apply charging
No.14:36 02 5 // apply charging report
No.15:44 02 5 // call information report
No.16:45 02 5 // call information request
No.17:46 02 5 // send charging information
No.18:47 02 60 // play announcement
No.19:48 03 60 // prompt and collect user information
No.20:49 04 5 // specialized resource report
No.21:53 02 5 // cancel
No.22:55 03 5 // activity test
No.23:60 02 5 // initial DPSMS
No.24:61 02 5 // Furnishing charging info.SMS
No.25:62 02 5 // connect DPSMS
No.26:63 02 5 // request SMS event
No.27:64 02 5 // event report SMS
No.28:65 04 5 // continue SMS
No.29:66 04 5 // release DPSMS
No.30:67 02 5 // reset timer DPSMS

215
pkg/scp/conf/cc_table.conf Normal file
View File

@@ -0,0 +1,215 @@
# Country code table configure file
#List the country code
0086; // China
0001; // Canada & USA
0007; // Kazakhstan & Kirighzia & Kyrgyzstan & Russia & Sakhalin & Tajikistan & Uzbekistan
0020; // Egypt
0027; // South Africa
0030; // Greece
0031; // Netherlands
0036; // Hungary
0039; // Italy
0040; // Bomania
0041; // Switzerland
0042; // Czech Republic & Slovakia
0043; // Austria
0044; // United Kingdom
0045; // Denmark
0046; // Sweden
0047; // Norway
0048; // Poland
0049; // Germany
0051; // Peru
0052; // South Korea
0053; // Cuba
0054; // Argentina
0055; // Brazil
0056; // Chile
0057; // Colombia
0058; // Venezuela
0060; // Malaysia
0061; // Australia
0062; // Indonesia
0063; // Philippines
0064; // New Zealand
0065; // Singapore
0066; // Thailand
0081; // Japan
0084; // Vietnam
0090; // Turkey
0091; // India
0092; // Pakistan
0093; // Afghanistan
0094; // Sri Lanka
0095; // Myanmar (Burma)
0098; // Iran
0212; // Morocco
0213; // Algeria
0216; // Tunisia
0218; // Libya
0220; // Gambia
0221; // Senegal Republic
0222; // Mauritania
0223; // Mali Republic
0224; // Guinea
0225; // Ivory Coast
0226; // Burkina Faso
0227; // Niger
0228; // Togo
0229; // Benin
0230; // Mauritius
0231; // Liberia
0232; // Sierra Leone
0233; // Ghana
0234; // Nigeria
0235; // Chad Republic
0236; // Central Africa Republic
0237; // Cameroon
0239; // Sao Tome
0240; // Equatorial Guinea
0241; // Gabon
0242; // Congo
0243; // Zaire
0244; // Angola
0245; // Guinea Bissau
0246; // Diego Garcia
0247; // Ascension Islands
0248; // Seychelles
0249; // Sudan
0250; // Rwanda
0251; // Ethiopia
0252; // Somalia
0253; // Djibouti
0254; // Kenya
0255; // Tanzania
0256; // Uganda
0257; // Burundi
0258; // Mozambigue
0259; // Zanzibar
0260; // Zambia
0261; // Madagascar
0262; // Reunion Island
0263; // Zimbabwe
0264; // Namibia
0265; // Malawi
0266; // Lesotho
0267; // Botswana
0268; // Swaziland
0269; // Comoros
0290; // St.Helena
0291; // Eritrea
0297; // Aruba
0298; // Faeroe Islands
0299; // Greenland
#2696 // Mayotte Island
0321; // Belgium
0331; // France
0339; // Monaco
0349; // Spain
0350; // Gibraltar
0351; // Portugal
0352; // Luxembourg
0353; // Ireland
0354; // Iceland
0355; // Albania
0356; // Malta
0357; // Cyprus
0358; // Finland
0359; // Bulgaria
0370; // Lithuania
0371; // Latvia
0372; // Estonia
0373; // Moldova
0374; // Armenia
0375; // Belarus
0376; // Andorra
0380; // Ukraine
0381; // Yugoslavia
0385; // Croatia
0386; // Slovenia
0387; // Bosnia Herzegovina
0389; // Macedonia
0395; // San Marino
0396; // Vatican City
0417; // Liechtenstein
0500; // Falkland Islands
0501; // Belize
0502; // Guatemala
0503; // EI Salvador
0504; // Honduras
0505; // Nicaragua
0506; // Costa Rica
0507; // Panama
0508; // St.Pierre
0509; // Haiti
0521; // Mexico Band 1
0522; // Mexico Band 2
0523; // Mexico Band 3
0524; // Mexico Band 4
0525; // Mexico Band 5
0526; // Mexico Band 6
0527; // Mexico Band 7
0528; // Mexico Band 8
0590; // Guadeloupe
0591; // Bolivia
0592; // Ecuador & Guyana
0594; // French Guiana
0595; // Paraguay
0596; // French Antilles
0597; // Suriname
0598; // Uruguay
0599; // Netherlands Antilles
#5399 // Guantanamo Bay
0670; // Saipan
0671; // Guam
0672; // Antarctica(Casey) & Antarctica(Scott) & Christmas/Cocos
0673; // Brunei
0674; // Nauru
0675; // Papau New Guinea
0676; // Tonga
0677; // Solomon Islands
0678; // Vanuatu
0679; // Fiji Islands
0680; // Palau
0681; // Wallis/Futuna
0682; // Cook Island
0683; // Niue Island
0684; // American Samoa
0685; // West Samoa
0686; // Kiribati
0687; // New Caledonia
0688; // Tuvalu Islands
0689; // French Polynesia
0691; // Micronesia
0692; // Marshall Islands
#6723 // Norfolk Island
0787; // Puerto Rico
0809; // Anguilla & Antigua & Bahamas & Barbados & Bermuda......
0850; // North Korea
0852; // Hong Kong
0853; // Macao
0855; // Cambodia
0856; // Laos
0868; // Trinidad/Tobago
0880; // Bangladesh
0886; // Taiwan
0960; // Maldives
0961; // Lebanon
0962; // Jordan
0963; // Syria
0964; // Iraq
0965; // Kuwait
0966; // Saudi Arabia
0967; // Yemen Arab Rep.
0968; // Oman
0971; // United Arab Emirates
0972; // Israel
0973; // Bahrain
0974; // Qatar
0975; // Bhutan
0976; // Mongolia
0977; // Nepal
0994; // Azerbaijan
0995; // Georgia

Binary file not shown.

6
pkg/scp/conf/debug.conf Normal file
View File

@@ -0,0 +1,6 @@
//Debug Conf File
System Type = CDMA ; // GSM, CDMA , GC_SSW
MMI Switch = OFF ; // ON , OFF

View File

@@ -0,0 +1,22 @@
#Service mode 1:Server 2:Client 3:Server&Client
ServiceMod = 2;
Identity = "test.aio-0.iwv";
Realm = "aio-0.iwv";
Port = 3868;
ServiceCxtRoVoice = "version1.in@chinatelecom.com"
ServiceCxtRoSms = "version1.in@chinatelecom.com"
RoVoicePort = 29100;
RoSmsPort = 19500;
SecPort = 0;
SCTPStr = 10;
ConnectPeer = "a.client.com" { Realm = "client.com"; No_FWD; No_TLS; No_SCTP; Prefer_TCP; Ro_VOICE; };
ConnectPeer = "b.client.com" { Realm = "client.com"; No_FWD; No_TLS; No_SCTP; Prefer_TCP; Ro_SMS; };
#Log levels 0:anything 1:debug 3:notice 5:error 6:fatal
LogLevel = 3;

20
pkg/scp/conf/help_page Normal file
View File

@@ -0,0 +1,20 @@
******************
* Module PAGE *
******************
Welcome to DEBUG MONITOR.
Press 's' or 'S' to enter "SUB MODULE SELECTION PAGE".
In "SUB MODULE SELECTION PAGE",
Press 'x' or 'X' to return "HELP PAGE",
Press 'a-p' or 'A-P' to select sub module.
In each sub module, Press '0-9' and 'a-f' to select pages.
There are two methods to use Debug,
1. Serial Port, use PC-to-PC serial line.
2. Telnet, use "telnet dst_host_ip 4965".
$

33
pkg/scp/conf/iptrans.conf Normal file
View File

@@ -0,0 +1,33 @@
#ipconfig
#port=type,num,interface
#type=UDP/TCP
#num=0-6
#interface=BUFFER/DIRECT
4950=UDP,6,DIRECT
4951=UDP,0,BUFFER
4952=UDP,3,BUFFER
4953=UDP,3,BUFFER
4954=UDP,3,BUFFER
4955=UDP,3,BUFFER
4956=UDP,3,BUFFER
4957=UDP,4,BUFFER
4958=UDP,0,BUFFER
4959=UDP,2,BUFFER
4960=UDP,3,BUFFER
4961=UDP,2,BUFFER
4962=UDP,0,BUFFER
4963=UDP,3,BUFFER
4964=UDP,3,BUFFER
4965=TCP,3,BUFFER
4966=UDP,3,DIRECT
4967=UDP,3,DIRECT
4968=UDP,2,BUFFER
4969=UDP,3,BUFFER
4970=UDP,3,BUFFER
4971=UDP,3,BUFFER
4972=UDP,2,BUFFER
4973=UDP,3,BUFFER
[port transfer]
4966=2727
4967=2427

View File

@@ -0,0 +1,60 @@
# operation code configure file
total data length=62
#operation code/class/timer
No.1:01 01 20 // HandoffMeasurementRequest
No.2:02 01 10 // FacilitiesDirective
No.3:03 01 20 // MobileOnChannel
No.4:04 01 05 // HandoffBack
No.5:05 01 20 // FacilitiesRelease
No.6:06 01 20 // QualificationRequest
No.7:07 01 05 // QualificationDirective
No.8:08 01 05 // Blocking
No.9:09 01 20 // Unblocking
No.10:10 01 20 // ResetCircuit
No.11:11 01 20 // TrunkTest
No.12:12 01 20 // TrunkTestDisconnect
No.13:13 01 20 // RegistrationNotification
No.14:14 01 20 // RegistrationCancellation
No.15:15 01 20 // LocationRequest
No.16:16 01 20 // RoutingRequest
No.17:17 01 20 // FeatureRequest
No.18:18 01 20 // ServiceProfileRequest
No.19:19 01 20 // ServiceProfileDirective
No.20:20 01 20 // UnreliableRoamerDataDirective
No.21:21 01 20 // CallDataREquest
No.22:22 01 20 // MSInactive
No.23:23 01 20 // TransferToNumberRequest
No.24:24 01 20 // RedirectionRequest
No.25:25 01 20 // HandoffToThird
No.26:26 01 20 // FlashRequest
No.27:27 01 60 // AuthenticationDirective
No.28:28 01 20 // AuthenticationRequest
No.29:29 01 20 // BaseStationChallenge
No.30:30 01 20 // AuthenticationFailureReport
No.31:31 01 20 // CountRequest
No.32:32 01 20 // InterSystemPage
No.33:33 01 600 // UnsolicitedResponse
No.34:34 01 60 // BulkDeregistration
No.35:35 01 60 // HandoffMeasurementRequest2
No.36:36 01 60 // FacilitiesDirective2
No.37:37 03 20 // HandoffBack2
No.38:38 01 20 // HandoffToThird2
No.39:39 01 20 // AuthenticationDirectiveForward
No.40:40 01 20 // AuthenticationStatusReport
No.41:41 01 60 // InformationBackward
No.42:42 01 60 // InformationDirective
No.43:43 01 05 // InformationForward
No.44:44 01 05 // InterSystemAnswer
No.45:45 01 05 // InterSystemPage2
No.46:46 01 05 // InterSystemSetup
No.47:47 01 20 // OriginationRequest
No.48:48 01 20 // RandomVariableRequest
No.49:49 01 20 // RedirectionDirective
No.50:50 01 20 // RemoteUserInteractionDirective
No.51:51 01 20 // SMSDeliveryBackward
No.52:52 01 20 // SMSDeliveryForward
No.53:53 01 20 // SMSDeliveryPointToPoint
No.54:54 01 20 // SMSNotification
No.55:55 01 20 // SMSRequest

Binary file not shown.

42
pkg/scp/conf/map_acn.conf Normal file
View File

@@ -0,0 +1,42 @@
#application context name configure file
total data length=36
#application context name data
No.1:01 03 // network location update
No.2:02 03 // location cancel
No.3:03 03 // roaming number enquiry
No.4:05 03 // location info retrieval
No.5:10 02 // reset context
No.6:11 02 // handover control
No.7:13 03 // equipment management
No.8:14 03 // info retrieval
No.9:15 03 // inter VLR info retrieval
No.10:16 03 // subscriber data management
No.11:17 03 // tracing
No.12:18 03 // network functional SS
No.13:19 02 // network unstructured SS
No.14:20 03 // short message gateway
No.15:21 03 // short message MO relay
No.16:23 03 // short message alert
No.17:24 03 // short message waiting data management
No.18:25 03 // mobile terminating short message relay
No.19:26 03 // imsi retrieval
No.20:27 03 // MS purging
No.21:28 03 // subscriber info enquiry
No.22:29 03 // any time info enquiry
No.23:06 03 // call control transfer
No.24:36 03 // invocation notification
No.25:12 03 // sIWFS allocation
No.26:31 03 // group call control
No.27:32 03 // GPRS location update
No.28:33 03 // GPRS location info retrieval
No.29:34 03 // failure report
No.30:35 03 // GPRS notify
No.31:07 03 // reporting
No.32:08 03 // call completion
No.33:200 03 // security triplets (MAP-H defined by Meng Xiaozhen)
No.34:201 03 // subscriber interrogate (MAP-H defined by Meng Xiaozhen)
No.35:202 03 // HLR subscriber management (MAP-H defined by Meng Xiaozhen)
No.36:203 03 // HLR ping AUC (MAP-H defined by Meng Xiaozhen reserved)
NO.37:09 01 // Send parameter

View File

@@ -0,0 +1,71 @@
# operation code configure file
total data length=67
#operation code
No.1:02 01 20 // update location
No.2:03 01 10 // cancel location
No.3:67 01 20 // purge mobile station
No.4:55 01 05 // send identification
No.5:68 01 20 // prepare handover
No.6:29 03 108000 // send end signal
No.7:33 04 05 // process access signalling
No.8:34 04 05 // forward access signalling
No.9:69 01 20 // prepare subsequent handover
No.10:56 01 20 // send authentication info
No.11:43 01 20 // check IMEI
No.12:07 01 20 // insert subscriber data
No.13:08 01 20 // delete subscriber data
No.14:37 04 20 // reset
No.15:38 04 20 // forward check ss indication
No.16:57 01 20 // restore data
No.17:50 01 20 // active trace mode
No.18:51 01 20 // deactive trace mode
No.19:58 01 20 // send imsi
No.20:22 01 20 // send routing info
No.21:04 01 20 // provide roaming number
No.22:06 01 20 // resume call handling
No.23:31 01 20 // provide SIWFS number
No.24:32 01 20 // SIWFS signalling modify
No.25:73 01 20 // set report state
No.26:74 01 20 // status report
No.27:75 01 60 // remote user free
No.28:10 01 20 // register ss
No.29:11 01 20 // erase ss
No.30:12 01 20 // activate ss
No.31:13 01 20 // deactivate ss
No.32:14 01 20 // interrogate ss
No.33:59 01 600 // process unstructure ss request
No.34:60 01 60 // unstructure ss request
No.35:61 01 60 // unstructure ss notify
No.36:17 01 60 // register password
No.37:18 03 20 // get password
No.38:76 01 20 // register cc entry
No.39:77 01 20 // erase cc entry
No.40:45 01 20 // send routing info for sm
No.41:46 01 60 // mo forward sm
No.42:44 01 60 // mt forward sm
No.43:47 01 05 // report sm delivery status
No.44:63 04 05 // inform service centre
No.45:64 01 05 // alert service center
No.46:66 01 05 // ready for sm
No.47:70 01 20 // provider subscriber info
No.48:71 01 20 // any time interrogation
No.49:72 01 20 // ss invocatin notification
No.50:39 01 20 // prepare group call
No.51:40 03 108000 // send group call end signal
No.52:41 04 05 // process group call signalling
No.53:42 04 05 // forward group call signalling
No.54:23 01 20 // update GPRS location
No.55:24 01 20 // send routing info for GPRS
No.56:25 01 20 // failure report
No.57:26 01 20 // note ms present for GPRS
No.58:200 01 05 // security triplets (MAP-H defined by Meng Xiaozhen)
No.59:201 01 05 // interrogate subscriber (MAP-H defined by Meng Xiaozhen)
No.60:202 01 05 // hlr create subscriber (MAP-H defined by Meng Xiaozhen)
No.61:203 01 05 // hlr delete subscriber (MAP-H defined by Meng Xiaozhen)
No.62:204 01 05 // hlr ping auc (MAP-H defined by Meng Xiaozhen reserved)
No.63:128 01 20 // OPR:DetermineOprUser
No.64:129 01 20 // OPR:VlrLocationUpdate
No.65:130 01 20 // OPR:CreateUserWithMsisdnImei
No.66:131 01 20 // OPR:DeleteOprUser
No.67:132 01 20 // IMDM:VlrEnquiryIMDMStatus

View File

@@ -0,0 +1,2 @@
bind ip=192.168.1.169
shm key shift=8

17
pkg/scp/conf/menu_page Normal file
View File

@@ -0,0 +1,17 @@
*******************
* MENU PAGE *
*******************
a -- IPTR m -- MNP
b -- MTP3 n -- DEBUG
c -- SCCP o -- AUC
d -- TCAP p -- SMPP
e -- XAPP r -- XUA
f -- MSC s -- BICC
g -- VLR t -- MGC
h -- EIR u -- GCP
i -- HLR v -- 8ECP
j -- SMSC w -- AIF
k -- PPS y -- ISUP
l -- SNMP z -- AAS

17
pkg/scp/conf/menu_page2 Normal file
View File

@@ -0,0 +1,17 @@
*******************
* MENU PAGE *
*******************
a -- ISDN m -- TCP
b -- IIF n --
c -- UES o --
d -- SSF p --
e -- MRFC r --
f -- SIP s --
g -- PALIM t --
h -- RADIUS u --
i -- RANAP v -- MEGACO
j -- OPR w --
k -- RLS y --
l -- MC z --

View File

@@ -0,0 +1,3 @@
Name Ip0 Ip1
MESH0 155.226.202.78 155.226.202.79
MESH2 155.226.202.30 155.226.202.31

Binary file not shown.

BIN
pkg/scp/conf/mnpf.conf Normal file

Binary file not shown.

View File

@@ -0,0 +1,29 @@
#MRFC MRFP Config File
[MRFP-0]
id=0
timestamp=1224123275
title=MRFP-0
local_domain=
dest_domain=iwf
dest_ip=172.25.196.30
dest_port=5070
conf_prefix=conf
trans_prefix=iwf
max_conference_user_num=90
max_transcoding_user_num=90
mrfp_type=2
admin_state=0
[MRFP-1]
id=1
timestamp=1329406204
title=MRFP-1
local_domain=172.25.192.51
dest_domain=iwf
dest_ip=172.25.196.30
dest_port=5070
conf_prefix=conf
trans_prefix=iwf
max_conference_user_num=30
max_transcoding_user_num=30
mrfp_type=2
admin_state=1

52
pkg/scp/conf/mtp3.conf Normal file
View File

@@ -0,0 +1,52 @@
#MTP3 CONFIGURE FILE
[system]
mtp3litePort=8813
[internationalNetworkRouting]
opc=00000c
pclen=1
pctype=1
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[internationalSpareNetworkRouting]
opc=000200
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 0.UPE_85.000110.000000.0002.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[nationalNetworkRouting]
opc=0003E8
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 1.SGSN.0000CC.000000.0001.0200.00000000.000000000202020202030302020303020303020303030303030303030303030302020202]
[ 2.HNBGW.001388.000000.0002.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[nationalSpareNetworkRouting]
opc=00034a
pclen=0
pctype=0
localACN=030303030202020202030302020303020303020303030303030303030303030302020202
#[index.title.dpc.opc.normal_ls.alter_ls.m3ua_rc.acn]
[ 0.wxc1.000020.000000.0007.0200.00000000.030303030202020202030302020303020303020303030303030303030303030302020202]
[linkset]
#[index.title.admin.nw.dpc.loop_flag.opc]
[ 1.SGSN.01.02.0000CC.00.000000]
[ 2.HNBGW.01.02.001388.00.000000]
[link]
#[index.title.admin.type.linkset.slc.hostIP.alterIP.sg.iid.mtp3lite_mode.mtp3lite_remoteIP.inactive.inactive_times]
[ 1.SGSN.01.04.0001.00.7E01A8C0.00000000.0001.00.00.00000000.ff.ff]
[ 2.HNBGW.01.04.0002.00.7E01A8C0.00000000.0002.00.00.00000000.ff.ff]
[signalingGateway]
#[index.admin.server.data_ack.sgIP.clientSourceIP.clientSourcePort]
[ 1.01.01.04.8201A8C0.00000000.0000]
[ 2.01.01.04.8001A8C0.00000000.0000]

BIN
pkg/scp/conf/oprConf.txt Normal file

Binary file not shown.

BIN
pkg/scp/conf/ppsConf.txt Normal file

Binary file not shown.

BIN
pkg/scp/conf/ppsCrdConf.txt Normal file

Binary file not shown.

37
pkg/scp/conf/profile Normal file
View File

@@ -0,0 +1,37 @@
# /etc/profile
# System wide environment and startup programs
# Functions and aliases go in /etc/bashrc
PATH=".:$PATH:/sbin:/usr/sbin:/usr/X11R6/bin:/etc/rc.d/init.d:/usr/local/wxc2/bin"
PATH=/usr/java/jdk1.3/bin:$PATH
ulimit -c 80000
if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
umask 002
else
umask 022
fi
USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
JAVA_COMPILER=javacomp ; export JAVA_COMPILER
LD_LIBRARY_PATH=/usr/local/mysql/lib ; export LD_LIBRARY_PATH
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
done
unset i
PATH=/usr/local/wxc2/bin:$PATH

43
pkg/scp/conf/sccp.conf Normal file
View File

@@ -0,0 +1,43 @@
#SCCP Config file (R1V0_01)
[Local Node]
#ssn NetID msisdn ip0 ip1 acn_index
4 2 - 192.168.1.126 10.0.0.0 0
6 2 86755800001 192.168.1.126 10.0.0.0 0
7 2 86755800002 192.168.1.126 10.0.0.0 0
8 2 86755800003 192.168.1.126 10.0.0.0 0
9 2 86755800004 192.168.1.126 10.0.0.0 0
10 2 86755800005 192.168.1.126 10.0.0.0 0
11 2 86755800000 192.168.1.126 10.0.0.0 0
19 2 86755800007 192.168.1.126 10.0.0.0 0
20 2 86755800008 192.168.1.126 10.0.0.0 0
22 2 86755800009 192.168.1.126 10.0.0.0 0
23 2 86755800010 192.168.1.126 10.0.0.0 0
32 2 86755800011 192.168.1.126 10.0.0.0 0
33 2 86755800012 192.168.1.126 10.0.0.0 0
142 2 86755800013 192.168.1.126 10.0.0.0 0
146 2 86755800014 192.168.1.126 10.0.0.0 0
147 2 86755800015 192.168.1.126 10.0.0.0 0
149 2 86755800016 192.168.1.126 0.0.0.0 0
153 2 86755800017 192.168.1.126 10.0.0.0 0
254 2 - 192.168.1.126 10.0.0.0 0
[GTT_Table]
#No EN NP TT StartDigits EndDigits NI SPC SSN RI AI S E N Rep ACN_index
0 1 6 - 460990010001001 460990010009999 2 0003E8 6 0 6 0
1 1 1 - 86755900000 86755909999 2 0003E8 6 0 6 0
2 1 1 - 66755920067 66755920067 2 0000cc 0 0 6 0
[RL_SSN]
#NetID DPC SSN
[GTT_ATTRIBUTE]
Idx
0 0000000000000000000000000000000000000000000000000000000000000000
1 0000000000000000000000000000000000000000000000000000000000000000
2 0000000000000000000000000000000000000000000000000000000000000000
[ACN_VERSION]
#No avail 37bytes
0 1 03030303020203030303030202030303030303030303030303030303030303030303030307
1 1 03030303020202020203030202020202020202030303030303030303030303030202020207

57
pkg/scp/conf/shm.conf Normal file
View File

@@ -0,0 +1,57 @@
#------------------------------Server paramter----------------------------#
#Server Type (0=OMC 1=FUNCTION SERVER)
ServerType=1
#Server ID ( 0=master 1=slave)
ServerID=0
#IP Info (OMC0 OMC1 for omc server, SERVER0 and SERVER1 for function server)
OMC0=172.18.128.1
OMC1=172.18.129.1
SERVER0=172.18.98.1
SERVER1=172.18.99.1
#------------------------------Share Memory List(MAX=10)-------------------#
# ID KEY PERM SIZE USR INTTLP INITRP REALP PERIODP REALIP PERIODICIP
* 11 12000000 436 16384 AUC 4957 4957 4972 4972 239.255.4.1 239.255.4.1
* 12 12040000 436 16384 EIR 4957 4957 4974 4974 239.255.6.1 239.255.6.1
* 13 45000001 436 33985 HLR 4957 4957 4970 4970 239.255.2.1 239.255.2.1
* 24 90000000 436 32768 VLR 4957 4957 4973 4973 239.255.5.1 239.255.5.1
* 5 05020000 436 22528 PPS 4957 4957 4971 4971 239.255.3.1 239.255.3.1
#------------------------DataBase info (only used for OMC MAX=10)- ---------#
# HOSTNAME PASSWORD USER DBNAME
<1> localhost rootaa root HlrDb
<2> localhost rootaa root parameter_db
<3> localhost rootaa root account_db
<4> localhost rootaa root tariff_db
<5> localhost rootaa root refresh_card
<6> localhost rootaa root AUC_Para
<7> localhost rootaa root VlrDb
<8> localhost rootaa root EIR_Para
#-------------------------MIBS Config Files---------------------------------#
PATH:./conf/mibs/
#MIB List
[1] IWV-SMI.txt
[2] WAVEII-SMI.txt
[3] WAVEII-DATASYNC-MIB.txt
[4] WAVEII-AUC-MIB.txt
[5] WAVEII-EIR-MIB.txt
[6] WAVEII-HLR-MIB.txt
[7] WAVEII-MSC-MIB.txt
[8] WAVEII-PPS-MIB.txt
#ProcedureID(>=0)
#ProID=1
#Timeout value <256(Minute) (the Max waiting time for the OMC startup)
WaitTime=1

35
pkg/scp/conf/smpp.conf Normal file
View File

@@ -0,0 +1,35 @@
#SMPP Config file (V1.0.01)
#Copy this file to ./conf/smpp.conf to set global options
#No lkEn lkType serverType sessionType sysID pwd sysType LGTT RGTT LIP RIP sessionTimer enqTimer inactTimer rspTimer ServiceNum localSSN remoteSSN
0 129 1 1 0 WSMS 123456 GSM - - 172.25.196.78 172.25.196.80 5 10 5 5 98765 0 0
1 129 1 1 0 SMEG 123456 GSM - - 172.25.196.78 172.25.196.80 5 10 5 5 88888 0 0
2 129 1 1 1 SMEG 123456 GSM -- -- 172.25.196.78 172.25.196.80 5 10 5 5 88888 0 0
3 129 0 0 2 PPS 123456 GSM 86755920016 86755920017 0.0.0.0 0.0.0.0 5 10 5 5 333 0 0
4 129 0 1 2 PPS 123456 GSM 86755920017 86755920016 0.0.0.0 0.0.0.0 5 10 5 5 333 0 0
5 129 1 1 2 MMS 123456 GSM -- -- 172.25.196.78 172.25.201.132 5 10 5 5 1111 0 0
6 129 1 1 0 upe 123456 -- -- -- 172.25.196.78 172.25.201.131 10 10 5 5 78787 0 0
7 129 1 1 2 SME_SND 123456 GSM -- -- 172.25.196.78 172.25.201.216 5 10 5 5 1010 0 0
8 129 1 1 2 ESME 123456 GSM -- -- 172.25.196.78 172.25.196.100 5 10 5 5 99999 0 0
9 129 1 1 0 VMS-0 123456 UTRAN -- -- 172.25.196.78 172.25.196.79 5 10 5 5 9200 0 0
10 0 1 1 2 3gr4s 123456 GSM -- -- 172.25.196.78 172.25.201.216 5 10 5 5 77999 0 0
11 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 10 10 5 5 -- 0 0
12 0 0 0 0 -- -- -- -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
13 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
14 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
15 0 0 0 0 11 11 11 11 11 1.1.1.1 1.1.1.1 11 10 11 11 11 11 11
16 0 0 1 2 PPS 123456 GSM 86755920017 86755920016 0.0.0.0 0.0.0.0 5 10 5 5 12 0 0
17 0 0 0 2 PPS 123456 GSM 86755920016 86755920017 0.0.0.0 0.0.0.0 5 10 5 5 12 0 0
18 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
19 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
20 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
21 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
22 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
23 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
24 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
25 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
26 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
27 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
28 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
29 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
30 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0
31 0 0 0 0 Test 123456 GSM -- -- 0.0.0.0 0.0.0.0 5 10 5 5 -- 0 0

24
pkg/scp/conf/snmp.conf Normal file
View File

@@ -0,0 +1,24 @@
[version-1]
[manager]
engineID=00000063000000A19BE2CAC5
[engine-0]
engineType=2
securityLevel=3
userName=Wxc2LocalUser!
authPassword=Sw1tch3msPass
privacyPassword=Sw1tch3msPriv
engineID=00000063000000A19BE2CAC5
contextName=Sw1tch3msUser!
contextEngineID=00000063000000A19BE2CAC5
[engine-1]
engineType=1
securityLevel=3
userName=AudioCode177!
authPassword=Sw1tch3msPass
privacyPassword=Sw1tch3msPriv
engineID=10000063000000a1ac12c805
contextName=AudioCode177!
contextEngineID=
remoteIp=172.25.196.65

BIN
pkg/scp/conf/srf.conf Normal file

Binary file not shown.

318
pkg/scp/conf/syntax_lang0 Normal file
View File

@@ -0,0 +1,318 @@
# English
[Divisor]
1000000:
1000: 29
100: 28
10:
[Residue]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
30: 21
40: 22
50: 23
60: 24
70: 25
80: 26
90: 27
[Zero Space]
0: 36
[Digit]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
[Hour]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 1
22: 20 2
23: 20 3
[Minute]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 1
32: 21 2
33: 21 3
34: 21 4
35: 21 5
36: 21 6
37: 21 7
38: 21 8
39: 21 9
40: 22
41: 22 1
42: 22 2
43: 22 3
44: 22 4
45: 22 5
46: 22 6
47: 22 7
48: 22 8
49: 22 9
50: 23
51: 23 1
52: 23 2
53: 23 3
54: 23 4
55: 23 5
56: 23 6
57: 23 7
58: 23 8
59: 23 9
[Year]
2000: 2 29
2001: 2 29 36 1
2002: 2 29 36 2
2003: 2 29 36 3
2004: 2 29 36 4
2005: 2 29 36 5
2006: 2 29 36 6
2007: 2 29 36 7
2008: 2 29 36 8
2009: 2 29 36 9
2010: 2 29 36 10
2011: 2 29 36 11
2012: 2 29 36 12
2013: 2 29 36 13
2014: 2 29 36 14
2015: 2 29 36 15
2016: 2 29 36 16
2017: 2 29 36 17
2018: 2 29 36 18
2019: 2 29 36 19
[Month]
1: 71
2: 72
3: 73
4: 74
5: 75
6: 76
7: 77
8: 78
9: 79
10: 80
11: 81
12: 82
[Day]
1: 50
2: 51
3: 52
4: 53
5: 54
6: 55
7: 56
8: 57
9: 58
10: 59
11: 60
12: 61
13: 62
14: 63
15: 64
16: 65
17: 66
18: 67
19: 68
20: 69
21: 20 50
22: 20 51
23: 20 52
24: 20 53
25: 20 54
26: 20 55
27: 20 56
28: 20 57
29: 20 58
30: 70
31: 21 50
[Decimal]
0: 31
1: 31 1 33
2: 31 2 33
3: 31 3 33
4: 31 4 33
5: 31 5 33
6: 31 6 33
7: 31 7 33
8: 31 8 33
9: 31 9 33
10: 31 10 33
11: 31 11 33
12: 31 12 33
13: 31 13 33
14: 31 14 33
15: 31 15 33
16: 31 16 33
17: 31 17 33
18: 31 18 33
19: 31 19 33
20: 31 20 33
21: 31 20 1 33
22: 31 20 2 33
23: 31 20 3 33
24: 31 20 4 33
25: 31 20 5 33
26: 31 20 6 33
27: 31 20 7 33
28: 31 20 8 33
29: 31 20 9 33
30: 31 21 33
31: 31 21 1 33
33: 31 21 2 33
33: 31 21 3 33
34: 31 21 4 33
35: 31 21 5 33
36: 31 21 6 33
37: 31 21 7 33
38: 31 21 8 33
39: 31 21 9 33
40: 31 22 33
41: 31 22 1 33
42: 31 22 2 33
43: 31 22 3 33
44: 31 22 4 33
45: 31 22 5 33
46: 31 22 6 33
47: 31 22 7 33
48: 31 22 8 33
49: 31 22 9 33
50: 31 23 33
51: 31 23 1 33
52: 31 23 2 33
53: 31 23 3 33
54: 31 23 4 33
55: 31 23 5 33
56: 31 23 6 33
57: 31 23 7 33
58: 31 23 8 33
59: 31 23 9 33
60: 31 24 33
61: 31 24 1 33
62: 31 24 2 33
63: 31 24 3 33
64: 31 24 4 33
65: 31 24 5 33
66: 31 24 6 33
67: 31 24 7 33
68: 31 24 8 33
69: 31 24 9 33
70: 31 25 33
71: 31 25 1 33
72: 31 25 2 33
73: 31 25 3 33
74: 31 25 4 33
75: 31 25 5 33
76: 31 25 6 33
77: 31 25 7 33
78: 31 25 8 33
79: 31 25 9 33
80: 31 26 33
81: 31 26 1 33
82: 31 26 2 33
83: 31 26 3 33
84: 31 26 4 33
85: 31 26 5 33
86: 31 26 6 33
87: 31 26 7 33
88: 31 26 8 33
89: 31 26 9 33
90: 31 27 33
91: 31 27 1 33
92: 31 27 2 33
93: 31 27 3 33
94: 31 27 4 33
95: 31 27 5 33
96: 31 27 6 33
97: 31 27 7 33
98: 31 27 8 33
99: 31 27 9 33
# YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY
[Date Format]
MM-DD-YYYY
#Minus account:2=Minus;1=0.5 second Silence
[Sign Symbol]
1: 37
2: 88

344
pkg/scp/conf/syntax_lang1 Normal file
View File

@@ -0,0 +1,344 @@
# French
[Divisor]
1000000:
1000: 29
100: 28
10:
[Residue]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
30: 21
31: 21 36 1
40: 22
41: 22 36 1
50: 23
51: 23 36 1
60: 24
61: 24 36 1
70: 25
71: 24 36 11
72: 24 12
73: 24 13
74: 24 14
75: 24 15
76: 24 16
77: 24 17
78: 24 18
79: 24 19
80: 26
81: 26 36 1
90: 27
91: 26 11
92: 26 12
93: 26 13
94: 26 14
95: 26 15
96: 26 16
97: 26 17
98: 26 18
99: 26 19
100: 28
1000: 29
[Zero Space]
0: 36
[Digit]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
[Hour]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
[Minute]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 36 1
32: 21 2
33: 21 3
34: 21 4
35: 21 5
36: 21 6
37: 21 7
38: 21 8
39: 21 9
40: 22
41: 22 36 1
42: 22 2
43: 22 3
44: 22 4
45: 22 5
46: 22 6
47: 22 7
48: 22 8
49: 22 9
50: 23
51: 23 36 1
52: 23 2
53: 23 3
54: 23 4
55: 23 5
56: 23 6
57: 23 7
58: 23 8
59: 23 9
[Year]
2000: 2 29
2001: 2 29 1
2002: 2 29 2
2003: 2 29 3
2004: 2 29 4
2005: 2 29 5
2006: 2 29 6
2007: 2 29 7
2008: 2 29 8
2009: 2 29 9
2010: 2 29 10
2011: 2 29 11
2012: 2 29 12
2013: 2 29 13
2014: 2 29 14
2015: 2 29 15
2016: 2 29 16
2017: 2 29 17
2018: 2 29 18
2019: 2 29 19
[Month]
1: 71
2: 72
3: 73
4: 74
5: 75
6: 76
7: 77
8: 78
9: 79
10: 80
11: 81
12: 82
[Day]
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
20: 20
21: 20 36 1
22: 20 2
23: 20 3
24: 20 4
25: 20 5
26: 20 6
27: 20 7
28: 20 8
29: 20 9
30: 21
31: 21 36 1
[Decimal]
0: 31
1: 31 1 33
2: 31 2 33
3: 31 3 33
4: 31 4 33
5: 31 5 33
6: 31 6 33
7: 31 7 33
8: 31 8 33
9: 31 9 33
10: 31 10 33
11: 31 11 33
12: 31 12 33
13: 31 13 33
14: 31 14 33
15: 31 15 33
16: 31 16 33
17: 31 17 33
18: 31 18 33
19: 31 19 33
20: 31 20 33
21: 31 20 36 1 33
22: 31 20 2 33
23: 31 20 3 33
24: 31 20 4 33
25: 31 20 5 33
26: 31 20 6 33
27: 31 20 7 33
28: 31 20 8 33
29: 31 20 9 33
30: 31 21 33
31: 31 21 36 1 33
33: 31 21 2 33
33: 31 21 3 33
34: 31 21 4 33
35: 31 21 5 33
36: 31 21 6 33
37: 31 21 7 33
38: 31 21 8 33
39: 31 21 9 33
40: 31 22 33
41: 31 22 36 1 33
42: 31 22 2 33
43: 31 22 3 33
44: 31 22 4 33
45: 31 22 5 33
46: 31 22 6 33
47: 31 22 7 33
48: 31 22 8 33
49: 31 22 9 33
50: 31 23 33
51: 31 23 36 1 33
52: 31 23 2 33
53: 31 23 3 33
54: 31 23 4 33
55: 31 23 5 33
56: 31 23 6 33
57: 31 23 7 33
58: 31 23 8 33
59: 31 23 9 33
60: 31 24 33
61: 31 24 36 1 33
62: 31 24 2 33
63: 31 24 3 33
64: 31 24 4 33
65: 31 24 5 33
66: 31 24 6 33
67: 31 24 7 33
68: 31 24 8 33
69: 31 24 9 33
70: 31 25 33
71: 31 24 36 11 33
72: 31 24 12 33
73: 31 24 13 33
74: 31 24 14 33
75: 31 24 15 33
76: 31 24 16 33
77: 31 24 17 33
78: 31 24 18 33
79: 31 24 19 33
80: 31 26 33
81: 31 26 36 1 33
82: 31 26 2 33
83: 31 26 3 33
84: 31 26 4 33
85: 31 26 5 33
86: 31 26 6 33
87: 31 26 7 33
88: 31 26 8 33
89: 31 26 9 33
90: 31 27 33
91: 31 26 11 33
92: 31 26 12 33
93: 31 26 13 33
94: 31 26 14 33
95: 31 26 15 33
96: 31 26 16 33
97: 31 26 17 33
98: 31 26 18 33
99: 31 26 19 33
# YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY
[Date Format]
DD-MM-YYYY
#Minus account:2=Minus;1=0.5 second Silence
[Sign Symbol]
1: 37
2: 88

BIN
pkg/scp/conf/system.ini Normal file

Binary file not shown.

16
pkg/scp/conf/ussd.conf Normal file
View File

@@ -0,0 +1,16 @@
#HLR USSD Conf File
[HLR USSDC]
Format String="*C3B*S#" //regular expression
[UG-CSI]
#ID srvCode gsmSCFAddr
0 222 9186755920019EEEEE
1 23 9186755920019EEEEE
2 34 9186755920019EEEEE
3 45 9186755920019EEEEE
[USSD EAE]//service number < 9 digits service code <= 4 digits
ID SRVNum ServiceCode

View File

@@ -0,0 +1,3 @@
aio-0=192.168.1.169;
heartbeat no=9
noTimeSync=0

View File

@@ -0,0 +1,4 @@
WXC2 procedure exit log
Time: Tue Nov 2 16:34:48 2004
Now module: MSC

BIN
pkg/scp/conf/xap_mscid.conf Normal file

Binary file not shown.

Binary file not shown.

11
pkg/scp/systemd/scp.service Executable file
View File

@@ -0,0 +1,11 @@
[Service]
Type=idle
WorkingDirectory=/usr/local/scp/bin
ExecStart=/usr/local/scp/bin/scp > /dev/null 2>&1 &
Restart=always
RestartSec=3
StandardOutput=null
[Install]
WantedBy=multi-user.target

33
pkg/tools/myipcrm Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/sh
ipcrm='To delete ipcrm shm'
#program name
if [ `whoami` != "root" ] ; then
echo "Permission denied!"
exit
fi
ipcsm=`ipcs -m`
echo "$ipcsm"
ipcsm=`ipcs -m|grep '0x'|awk '{print $2}'`
for FILE in $ipcsm; do
ipcrm shm $FILE
done
ipcsm=`ipcs -s`
echo "$ipcsm"
ipcsm=`ipcs -s|grep '0x'|awk '{print $2}'`
for FILE in $ipcsm; do
ipcrm sem $FILE
done
ipcsm=`ipcs -q`
echo "$ipcsm"
ipcsm=`ipcs -q|grep '0x'|awk '{print $2}'`
for FILE in $ipcsm; do
ipcrm msg $FILE
done

10
pkg/ussdgw/DEBIAN/control Executable file
View File

@@ -0,0 +1,10 @@
Package: ussdgw
Version: 2501.22-YYYYMMDD
Section: net
Priority: optional
Architecture: amd64
Essential: no
Depends:
Conflicts: ussdgw
Maintainer: 4GC
Description: 4GC USSD Gateway Software

14
pkg/ussdgw/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
test ! -f /usr/local/ussdgw/bin/conf/wxc2_sys.conf && cp -rf /usr/local/ussdgw/bin/conf/default/* /usr/local/ussdgw/bin/conf
test ! -f /usr/local/ussdgw/bin/conf/yx_ussd.conf && cp -rf /usr/local/ussdgw/bin/conf/default/yx_ussd.conf /usr/local/ussdgw/bin/conf
subDir="/usr/local/subsManage"
if [ ! -d "$subDir" ]; then
mkdir $subDir
chmod 777 $subDir
fi
systemctl enable ussdgw
exit 0

6
pkg/ussdgw/DEBIAN/prerm Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Commands to be run before uninstall of the package
systemctl disable ussdgw

View File

@@ -0,0 +1,8 @@
#application context name configure file for CAP
total data length=4
#application context name data
No.1:50 02 // gsmSSF to gsmSCF
No.2:51 02 // assist handoff gsmSSF to gsmSCF
No.3:52 02 // gsmSRF to gsmSCF
No.4:128 02 // gsmSRF to gsmSCF

View File

@@ -0,0 +1,34 @@
# operation code configure file for CAP
total data length=30
#operation code
No.1:00 02 5 // initial DP
No.2:16 02 5 // assist request instructions
No.3:17 02 20 // establish temporary connection
No.4:18 04 5 // disconnect forward connection
No.5:19 02 5 // connect to resource
No.6:20 02 5 // connect
No.7:22 04 5 // release call
No.8:23 02 5 // request report BCSM event
No.9:24 02 5 // event report BCSM
No.10:31 04 5 // continue
No.11:33 02 5 // reset timer
No.12:34 02 5 // furnish charging information
No.13:35 02 5 // apply charging
No.14:36 02 5 // apply charging report
No.15:44 02 5 // call information report
No.16:45 02 5 // call information request
No.17:46 02 5 // send charging information
No.18:47 02 60 // play announcement
No.19:48 03 60 // prompt and collect user information
No.20:49 04 5 // specialized resource report
No.21:53 02 5 // cancel
No.22:55 03 5 // activity test
No.23:60 02 5 // initial DPSMS
No.24:61 02 5 // Furnishing charging info.SMS
No.25:62 02 5 // connect DPSMS
No.26:63 02 5 // request SMS event
No.27:64 02 5 // event report SMS
No.28:65 04 5 // continue SMS
No.29:66 04 5 // release DPSMS
No.30:67 02 5 // reset timer DPSMS

View File

@@ -0,0 +1,215 @@
# Country code table configure file
#List the country code
0086; // China
0001; // Canada & USA
0007; // Kazakhstan & Kirighzia & Kyrgyzstan & Russia & Sakhalin & Tajikistan & Uzbekistan
0020; // Egypt
0027; // South Africa
0030; // Greece
0031; // Netherlands
0036; // Hungary
0039; // Italy
0040; // Bomania
0041; // Switzerland
0042; // Czech Republic & Slovakia
0043; // Austria
0044; // United Kingdom
0045; // Denmark
0046; // Sweden
0047; // Norway
0048; // Poland
0049; // Germany
0051; // Peru
0052; // South Korea
0053; // Cuba
0054; // Argentina
0055; // Brazil
0056; // Chile
0057; // Colombia
0058; // Venezuela
0060; // Malaysia
0061; // Australia
0062; // Indonesia
0063; // Philippines
0064; // New Zealand
0065; // Singapore
0066; // Thailand
0081; // Japan
0084; // Vietnam
0090; // Turkey
0091; // India
0092; // Pakistan
0093; // Afghanistan
0094; // Sri Lanka
0095; // Myanmar (Burma)
0098; // Iran
0212; // Morocco
0213; // Algeria
0216; // Tunisia
0218; // Libya
0220; // Gambia
0221; // Senegal Republic
0222; // Mauritania
0223; // Mali Republic
0224; // Guinea
0225; // Ivory Coast
0226; // Burkina Faso
0227; // Niger
0228; // Togo
0229; // Benin
0230; // Mauritius
0231; // Liberia
0232; // Sierra Leone
0233; // Ghana
0234; // Nigeria
0235; // Chad Republic
0236; // Central Africa Republic
0237; // Cameroon
0239; // Sao Tome
0240; // Equatorial Guinea
0241; // Gabon
0242; // Congo
0243; // Zaire
0244; // Angola
0245; // Guinea Bissau
0246; // Diego Garcia
0247; // Ascension Islands
0248; // Seychelles
0249; // Sudan
0250; // Rwanda
0251; // Ethiopia
0252; // Somalia
0253; // Djibouti
0254; // Kenya
0255; // Tanzania
0256; // Uganda
0257; // Burundi
0258; // Mozambigue
0259; // Zanzibar
0260; // Zambia
0261; // Madagascar
0262; // Reunion Island
0263; // Zimbabwe
0264; // Namibia
0265; // Malawi
0266; // Lesotho
0267; // Botswana
0268; // Swaziland
0269; // Comoros
0290; // St.Helena
0291; // Eritrea
0297; // Aruba
0298; // Faeroe Islands
0299; // Greenland
#2696 // Mayotte Island
0321; // Belgium
0331; // France
0339; // Monaco
0349; // Spain
0350; // Gibraltar
0351; // Portugal
0352; // Luxembourg
0353; // Ireland
0354; // Iceland
0355; // Albania
0356; // Malta
0357; // Cyprus
0358; // Finland
0359; // Bulgaria
0370; // Lithuania
0371; // Latvia
0372; // Estonia
0373; // Moldova
0374; // Armenia
0375; // Belarus
0376; // Andorra
0380; // Ukraine
0381; // Yugoslavia
0385; // Croatia
0386; // Slovenia
0387; // Bosnia Herzegovina
0389; // Macedonia
0395; // San Marino
0396; // Vatican City
0417; // Liechtenstein
0500; // Falkland Islands
0501; // Belize
0502; // Guatemala
0503; // EI Salvador
0504; // Honduras
0505; // Nicaragua
0506; // Costa Rica
0507; // Panama
0508; // St.Pierre
0509; // Haiti
0521; // Mexico Band 1
0522; // Mexico Band 2
0523; // Mexico Band 3
0524; // Mexico Band 4
0525; // Mexico Band 5
0526; // Mexico Band 6
0527; // Mexico Band 7
0528; // Mexico Band 8
0590; // Guadeloupe
0591; // Bolivia
0592; // Ecuador & Guyana
0594; // French Guiana
0595; // Paraguay
0596; // French Antilles
0597; // Suriname
0598; // Uruguay
0599; // Netherlands Antilles
#5399 // Guantanamo Bay
0670; // Saipan
0671; // Guam
0672; // Antarctica(Casey) & Antarctica(Scott) & Christmas/Cocos
0673; // Brunei
0674; // Nauru
0675; // Papau New Guinea
0676; // Tonga
0677; // Solomon Islands
0678; // Vanuatu
0679; // Fiji Islands
0680; // Palau
0681; // Wallis/Futuna
0682; // Cook Island
0683; // Niue Island
0684; // American Samoa
0685; // West Samoa
0686; // Kiribati
0687; // New Caledonia
0688; // Tuvalu Islands
0689; // French Polynesia
0691; // Micronesia
0692; // Marshall Islands
#6723 // Norfolk Island
0787; // Puerto Rico
0809; // Anguilla & Antigua & Bahamas & Barbados & Bermuda......
0850; // North Korea
0852; // Hong Kong
0853; // Macao
0855; // Cambodia
0856; // Laos
0868; // Trinidad/Tobago
0880; // Bangladesh
0886; // Taiwan
0960; // Maldives
0961; // Lebanon
0962; // Jordan
0963; // Syria
0964; // Iraq
0965; // Kuwait
0966; // Saudi Arabia
0967; // Yemen Arab Rep.
0968; // Oman
0971; // United Arab Emirates
0972; // Israel
0973; // Bahrain
0974; // Qatar
0975; // Bhutan
0976; // Mongolia
0977; // Nepal
0994; // Azerbaijan
0995; // Georgia

Binary file not shown.

View File

@@ -0,0 +1,6 @@
//Debug Conf File
System Type = CDMA ; // GSM, CDMA , GC_SSW
MMI Switch = OFF ; // ON , OFF

View File

@@ -0,0 +1,25 @@
#Service mode 1:Server 2:Client 3:Server&Client
ServiceMod = 3;
Identity = "test.aio-0.iwv";
Realm = "aio-0.iwv";
Port = 3868;
SecPort = 0;
SCTPStr = 10;
#TLS_Cred = "./cacert.pem",
# "./cakey.pem";
#TLS_CA = "./cacert.pem";
#Connect to peer. e.g ConnectPeer = "peer1.localdomain" { No_TLS; No_FWD; No_IP4; No_IP6; No_TCP; No_SCTP; Prefer_TCP; };
#SCTP
#ConnectPeer = "a.client.com" { Realm = "client.com"; No_TLS; No_FWD; No_TCP; };
#TCP
ConnectPeer = "a.client.com" { Realm = "client.com"; No_FWD; No_TLS; No_SCTP; Prefer_TCP; };
#Log levels 0:anything 1:debug 3:notice 5:error 6:fatal
LogLevel = 3;

20
pkg/ussdgw/conf/help_page Normal file
View File

@@ -0,0 +1,20 @@
******************
* Module PAGE *
******************
Welcome to DEBUG MONITOR.
Press 's' or 'S' to enter "SUB MODULE SELECTION PAGE".
In "SUB MODULE SELECTION PAGE",
Press 'x' or 'X' to return "HELP PAGE",
Press 'a-p' or 'A-P' to select sub module.
In each sub module, Press '0-9' and 'a-f' to select pages.
There are two methods to use Debug,
1. Serial Port, use PC-to-PC serial line.
2. Telnet, use "telnet dst_host_ip 4965".
$

View File

@@ -0,0 +1,33 @@
#ipconfig
#port=type,num,interface
#type=UDP/TCP
#num=0-6
#interface=BUFFER/DIRECT
4950=UDP,6,DIRECT
4951=UDP,0,BUFFER
4952=UDP,3,BUFFER
4953=UDP,3,BUFFER
4954=UDP,3,BUFFER
4955=UDP,3,BUFFER
4956=UDP,3,BUFFER
4957=UDP,4,BUFFER
4958=UDP,0,BUFFER
4959=UDP,2,BUFFER
4960=UDP,3,BUFFER
4961=UDP,2,BUFFER
4962=UDP,0,BUFFER
4963=UDP,3,BUFFER
4964=UDP,3,BUFFER
4965=TCP,3,BUFFER
4966=UDP,3,DIRECT
4967=UDP,3,DIRECT
4968=UDP,2,BUFFER
4969=UDP,3,BUFFER
4970=UDP,3,BUFFER
4971=UDP,3,BUFFER
4972=UDP,2,BUFFER
4973=UDP,3,BUFFER
[port transfer]
4966=2727
4967=2427

View File

@@ -0,0 +1,60 @@
# operation code configure file
total data length=62
#operation code/class/timer
No.1:01 01 20 // HandoffMeasurementRequest
No.2:02 01 10 // FacilitiesDirective
No.3:03 01 20 // MobileOnChannel
No.4:04 01 05 // HandoffBack
No.5:05 01 20 // FacilitiesRelease
No.6:06 01 20 // QualificationRequest
No.7:07 01 05 // QualificationDirective
No.8:08 01 05 // Blocking
No.9:09 01 20 // Unblocking
No.10:10 01 20 // ResetCircuit
No.11:11 01 20 // TrunkTest
No.12:12 01 20 // TrunkTestDisconnect
No.13:13 01 20 // RegistrationNotification
No.14:14 01 20 // RegistrationCancellation
No.15:15 01 20 // LocationRequest
No.16:16 01 20 // RoutingRequest
No.17:17 01 20 // FeatureRequest
No.18:18 01 20 // ServiceProfileRequest
No.19:19 01 20 // ServiceProfileDirective
No.20:20 01 20 // UnreliableRoamerDataDirective
No.21:21 01 20 // CallDataREquest
No.22:22 01 20 // MSInactive
No.23:23 01 20 // TransferToNumberRequest
No.24:24 01 20 // RedirectionRequest
No.25:25 01 20 // HandoffToThird
No.26:26 01 20 // FlashRequest
No.27:27 01 60 // AuthenticationDirective
No.28:28 01 20 // AuthenticationRequest
No.29:29 01 20 // BaseStationChallenge
No.30:30 01 20 // AuthenticationFailureReport
No.31:31 01 20 // CountRequest
No.32:32 01 20 // InterSystemPage
No.33:33 01 600 // UnsolicitedResponse
No.34:34 01 60 // BulkDeregistration
No.35:35 01 60 // HandoffMeasurementRequest2
No.36:36 01 60 // FacilitiesDirective2
No.37:37 03 20 // HandoffBack2
No.38:38 01 20 // HandoffToThird2
No.39:39 01 20 // AuthenticationDirectiveForward
No.40:40 01 20 // AuthenticationStatusReport
No.41:41 01 60 // InformationBackward
No.42:42 01 60 // InformationDirective
No.43:43 01 05 // InformationForward
No.44:44 01 05 // InterSystemAnswer
No.45:45 01 05 // InterSystemPage2
No.46:46 01 05 // InterSystemSetup
No.47:47 01 20 // OriginationRequest
No.48:48 01 20 // RandomVariableRequest
No.49:49 01 20 // RedirectionDirective
No.50:50 01 20 // RemoteUserInteractionDirective
No.51:51 01 20 // SMSDeliveryBackward
No.52:52 01 20 // SMSDeliveryForward
No.53:53 01 20 // SMSDeliveryPointToPoint
No.54:54 01 20 // SMSNotification
No.55:55 01 20 // SMSRequest

Binary file not shown.

View File

@@ -0,0 +1,42 @@
#application context name configure file
total data length=36
#application context name data
No.1:01 03 // network location update
No.2:02 03 // location cancel
No.3:03 03 // roaming number enquiry
No.4:05 03 // location info retrieval
No.5:10 02 // reset context
No.6:11 02 // handover control
No.7:13 03 // equipment management
No.8:14 03 // info retrieval
No.9:15 03 // inter VLR info retrieval
No.10:16 03 // subscriber data management
No.11:17 03 // tracing
No.12:18 03 // network functional SS
No.13:19 02 // network unstructured SS
No.14:20 03 // short message gateway
No.15:21 03 // short message MO relay
No.16:23 03 // short message alert
No.17:24 03 // short message waiting data management
No.18:25 03 // mobile terminating short message relay
No.19:26 03 // imsi retrieval
No.20:27 03 // MS purging
No.21:28 03 // subscriber info enquiry
No.22:29 03 // any time info enquiry
No.23:06 03 // call control transfer
No.24:36 03 // invocation notification
No.25:12 03 // sIWFS allocation
No.26:31 03 // group call control
No.27:32 03 // GPRS location update
No.28:33 03 // GPRS location info retrieval
No.29:34 03 // failure report
No.30:35 03 // GPRS notify
No.31:07 03 // reporting
No.32:08 03 // call completion
No.33:200 03 // security triplets (MAP-H defined by Meng Xiaozhen)
No.34:201 03 // subscriber interrogate (MAP-H defined by Meng Xiaozhen)
No.35:202 03 // HLR subscriber management (MAP-H defined by Meng Xiaozhen)
No.36:203 03 // HLR ping AUC (MAP-H defined by Meng Xiaozhen reserved)
NO.37:09 01 // Send parameter

View File

@@ -0,0 +1,71 @@
# operation code configure file
total data length=67
#operation code
No.1:02 01 20 // update location
No.2:03 01 10 // cancel location
No.3:67 01 20 // purge mobile station
No.4:55 01 05 // send identification
No.5:68 01 20 // prepare handover
No.6:29 03 108000 // send end signal
No.7:33 04 05 // process access signalling
No.8:34 04 05 // forward access signalling
No.9:69 01 20 // prepare subsequent handover
No.10:56 01 20 // send authentication info
No.11:43 01 20 // check IMEI
No.12:07 01 20 // insert subscriber data
No.13:08 01 20 // delete subscriber data
No.14:37 04 20 // reset
No.15:38 04 20 // forward check ss indication
No.16:57 01 20 // restore data
No.17:50 01 20 // active trace mode
No.18:51 01 20 // deactive trace mode
No.19:58 01 20 // send imsi
No.20:22 01 20 // send routing info
No.21:04 01 20 // provide roaming number
No.22:06 01 20 // resume call handling
No.23:31 01 20 // provide SIWFS number
No.24:32 01 20 // SIWFS signalling modify
No.25:73 01 20 // set report state
No.26:74 01 20 // status report
No.27:75 01 60 // remote user free
No.28:10 01 20 // register ss
No.29:11 01 20 // erase ss
No.30:12 01 20 // activate ss
No.31:13 01 20 // deactivate ss
No.32:14 01 20 // interrogate ss
No.33:59 01 600 // process unstructure ss request
No.34:60 01 60 // unstructure ss request
No.35:61 01 60 // unstructure ss notify
No.36:17 01 60 // register password
No.37:18 03 20 // get password
No.38:76 01 20 // register cc entry
No.39:77 01 20 // erase cc entry
No.40:45 01 20 // send routing info for sm
No.41:46 01 60 // mo forward sm
No.42:44 01 60 // mt forward sm
No.43:47 01 05 // report sm delivery status
No.44:63 04 05 // inform service centre
No.45:64 01 05 // alert service center
No.46:66 01 05 // ready for sm
No.47:70 01 20 // provider subscriber info
No.48:71 01 20 // any time interrogation
No.49:72 01 20 // ss invocatin notification
No.50:39 01 20 // prepare group call
No.51:40 03 108000 // send group call end signal
No.52:41 04 05 // process group call signalling
No.53:42 04 05 // forward group call signalling
No.54:23 01 20 // update GPRS location
No.55:24 01 20 // send routing info for GPRS
No.56:25 01 20 // failure report
No.57:26 01 20 // note ms present for GPRS
No.58:200 01 05 // security triplets (MAP-H defined by Meng Xiaozhen)
No.59:201 01 05 // interrogate subscriber (MAP-H defined by Meng Xiaozhen)
No.60:202 01 05 // hlr create subscriber (MAP-H defined by Meng Xiaozhen)
No.61:203 01 05 // hlr delete subscriber (MAP-H defined by Meng Xiaozhen)
No.62:204 01 05 // hlr ping auc (MAP-H defined by Meng Xiaozhen reserved)
No.63:128 01 20 // OPR:DetermineOprUser
No.64:129 01 20 // OPR:VlrLocationUpdate
No.65:130 01 20 // OPR:CreateUserWithMsisdnImei
No.66:131 01 20 // OPR:DeleteOprUser
No.67:132 01 20 // IMDM:VlrEnquiryIMDMStatus

Some files were not shown because too many files have changed in this diff Show More