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/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

View File

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

17
pkg/ussdgw/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

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/ussdgw/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/ussdgw/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/ussdgw/conf/oprConf.txt Normal file

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

37
pkg/ussdgw/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/ussdgw/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/ussdgw/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/ussdgw/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/ussdgw/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/ussdgw/conf/srf.conf Normal file

Binary file not shown.

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

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/ussdgw/conf/system.ini Normal file

Binary file not shown.

16
pkg/ussdgw/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

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,114 @@
#daily report, 0: disable; 1: enable;
dailyreport=0
#bundle
bundle11=253004
bundle12=253005
bundle13=252003
bundle14=254003
bundle15=252004
bundle16=253008
bundle17=0
bundle18=0
#data, data1*: 24Hrs-K2/5/10, data2*: 7Days-K5/10/20/50, data3*: 30Days-K50/100/200
data11=206034
data12=206035
data13=206036
data21=206037
data22=206038
data23=206039
data24=206040
data31=206041
data32=206057
data33=206058
#voice, voice1*: 1Day-K2/5/10, voice2*: 7Days-K5/10/20/50, voice3*: 30Days-K50/100/200/250
voice11=206014
voice12=206016
voice13=206018
voice21=206022
voice22=206024
voice23=206026
voice24=206028
voice31=206030
voice32=206031
voice33=206032
voice34=206033
#Mifi add-on, mifi1*: K50/100/200/500/700/1000
mifi11=210007
mifi12=210008
mifi13=210009
mifi14=210010
mifi15=210011
mifi16=210012
mifi17=210013
#amaFive
ama01=243002
ama02=243001
ama03=242002
#diba 5x
diba01=253005
diba02=258006
diba03=253006
diba04=258007
diba05=253007
diba06=258008
diba07=253008
diba08=258009
diba01str=You have selected DIBA for K3, you will receive 100 allnet Minutes, 100SMS and 100MB- valid for 3 days
diba02str=You have selected DIBA for K7, you will receive 250 allnet Minutes, 250SMS and 250MB- valid for 7 days
diba03str=You have selected DIBA for K15, you will receive 500 allnet Minutes, 500SMS and 500MB- valid for 15 days
diba04str=You have selected DIBA for K30, you will receive 1000 allnet Minutes, 1000SMS and 1000MB
#menu
#0main=Welcome to the Ultimate DATA experience - zedmobile!\n1. UNLIMITED zedmobile calls and Data @ an Unbelievable K20 for 30 days\n2. zedDATA\n3. zedVOICE\n4. zedMIFI & Router\n5. Buy for Other\n6. Balance Check
0main=0. AMA5 SUMMER|1. Unlimited Data|2. Flexa Data|3. Flexa Voice|4. Flexa Home|5. Buy for Other|6. Balance Check|7. Recharge Airtime
1k20=Get unlimited data and zedmobile calls:|1. Once off|2. Auto renewal|3. Cancel auto renewal|0. To return to main menu
2data=1. 24 Hrs|2. 7 days|3. 30 days|0. To return to main menu
3voice=1. Daily|2. Weekly|3. Monthly|0. To return to main menu
#4mifi=1. K50 = 6 GB for 30 days\n2. K100 = 15GB for 30 days\n3. K200 = 40GB for 30 days\n4. K500 = 65GB +5GBDaily for 30 days + Unlimited netflix\n5. K700 = 80 GB + 6 GB daily for 30 days + Unlimited Netflix + Youtube\n6. K1000 = 100 GB +8Gb Daily + Unlimited netflix + Youtube\n0. To return to main menu
4mifi=1. 6GB-30 days|2. 15GB-30 days|3. 40GB-30 days|4. 65GB-5GB Daily-30 days|5. 80GB-6GB Daily-30 days|6. 100GB-8GB|0. To To return to main menu
5buy4Other=Share the ULTIMATE DATA experience - zedmobile!|Kindly enter the number you wish to share a zedmobile bundle with.(098X xxxxxx)
6balanceCheck=Dear Customer, your balance is processed. You will receive a confirmation message shortly
7ama=1. K5 Unlimited weekend calling|2. K10 5GB Till midnight|3. K5 Unlimited zedmobile Calls|0. To return to main menu
8unlimited=Get Unlimited Data|1. K20 Unlimited-24hrs|2. K50 Unlimited-3 Days|3. K100 Unlimited-7 Days
9airtime=1. Buy for self|2. Buy for other
10data24Hrs=1. K2= 100 MB for 24Hrs|2. K5= 350 MB for 24Hrs|3. K10= 1.5 GB for 24Hrs|0. To return to main menu
11data7days=1. K5= 500 MB for 7 days|2. K10= 1 GB for 7 days|3. K20= 2 GB for 7 days|4. K50= 7.5 GB for 7 days|0. To return to main menu
12data30days=1. 5 GB for 30 days|2. 10 GB for 30 days|3. 30 GB for 30 days|0. To return to main menu
13voiceDaily=1. 8 min allnet + 20MB + 50 SMS|2. 26 min allnet + 40MB + 100 SMS|3. 40 Min allnet + 70MB + 100 SMS|0. To return to main menu
14voiceWeekly=1. 17Min allnet+100MB+50SMS|2. 45Min allnet+300MB+100SMS|3. 120Min allnet+400MB+100SMS|4. 350Min allnet+500MB+100SMS|0. To return to main menu
15voiceMonthly=1. 200 min allnet+1GB+500SMS|2. 725 min allnet+3GB+500SMS|3. 1750 min allnet+5GB+500SMS|4. 800 min allnet+15GB+500SMS|0. To return to main menu
17otherMenu=1. ZedLife na K20|2. zedDATA|3. zedVoice|4. zedMIFI & Router|0. To return to main menu
18thirdParty=1. Airtel|2. MTN|3. ZamTel
19enterPhone=Enter your %s mobile number
20payMethod=1. Main account|2. ZedMobile money
21Paid=Your transaction is being processed. You will receive a confirmation SMS soon.\n1. Download zedLife App and dont miss out on anything.\n0. To return to the main menu
22enterPin=Enter pin to confirm
23complete=Thank you. You will soon receive the link via text message.
24cancelrenewal=Are you certain about canceling auto renewal?|1. No|2. Yes|0. To return to main menu
25enteramount=Enter Amount
26airtimeno=Enter mobile number
27dibaama=1. DIBA 5X|2. Recharge Promo|3. AMA 5 Summer|0. To return to main menu
28diba=1. DIBA 20X5- K3|2. DIBA 50X5 -K7|3. DIBA 100X5 -K15|4. DIBA 200X5 - K30
29momopin=Enter your PIN on %s to complete your transaction.|1. Download zedLife App|0. To return to the main menu
30promo=1. Opt-in|2. Query Bonus|3. Transfer Gift|0. To return to the main menu
31querypoint=You have K%d in your gift wallet.
32curpoint=You have K%d in your gift wallet.|Enter Zed Mobile Number that you want to send the gift to.
33point2num=Enter amont that you want to transfer to <098#######>
34offerchange=You have successfully joined the 5x Recharge Promotion! Recharge now and win 5x bonus
35pointtrans=You have successfully transferred K%d gift to <098######>
36pointlow=You have no enough gift to transfer
channel00=333:http://172.18.1.1:8080/thirdparty/charge
channel01=
channel02=
channel03=
channel04=
channel05=
channel06=
channel07=
channel08=
channel09=
channel10=
channel11=
channel12=
channel13=
channel14=
channel15=

View File

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