RestComm / smscgateway

RestComm SMS Gateway (SMSC) to send/receive SMS from/to Operators Network (GSM)
http://www.restcomm.com/
GNU Affero General Public License v3.0
127 stars 112 forks source link

Update of a Simulator profile config after last updates #223

Closed vetss closed 7 years ago

vetss commented 7 years ago

We need to update SMSC GW Simulator profile configs to fit last achievements :

Assigned networkId areas: 1) SS7 - networlId=0 - address ranges - all except 5555,6666,6667 2) HTTP - networlId=10 - no routing there 3) SMPP - networlId=20,21 - address ranges - 6666 and 6667 4) SIP - networlId=30 - address ranges - 5555

CLI script:

sctp server create serv1 127.0.0.1 8012 sctp server start serv1 sctp association create ass1 SERVER serv1 127.0.0.1 8011

m3ua as create as1 IPSP mode SE ipspType server rc 101 traffic-mode loadsharing network-appearance 102 m3ua asp create asp1 ass1 m3ua as add as1 asp1 m3ua asp start asp1 m3ua route add as1 1 2 3

sccp sap create 1 1 2 2 sccp dest create 1 1 1 1 0 255 255 sccp address create 1 82 1 8 0 1 4 000 sccp address create 2 82 2 8 0 1 4 000 sccp rule create 1 K 82 0 0 0 1 4 solitary 1 origination-type localOriginated sccp rule create 2 K 82 0 0 0 1 4 solitary 2 origination-type remoteOriginated sccp rsp create 1 1 0 0 sccp rss create 1 1 8 0

smsc set scgt 22220 smsc set scssn 8 smsc set hlrssn 8 smsc set mscssn 8 smsc set maxmapv 3

smsc set httpdefaultnetworkid 10 smsc httpuser add user password password networkId 10

smpp esme create test test 127.0.0.1 -1 TRANSCEIVER SERVER password test esme-ton -1 esme-npi -1 esme-range 6666 source-range ^[0-9a-zA-Z] routing-range ^[0-9a-zA-Z] networkid 20 smpp esme create test2 test2 127.0.0.1 -1 TRANSCEIVER SERVER password test esme-ton -1 esme-npi -1 esme-range 6667 source-range ^[0-9a-zA-Z] routing-range ^[0-9a-zA-Z] networkid 21 smpp esme start test smpp esme start test2

smsc sip modify SIP cluster-name SIP host 127.0.0.1 port 5065 routing-ton 1 routingnpi 1 routing-range ^[0-9a-zA-Z]* counters-enabled false charging-enabled false networkid 30

smsc mproc add mproc 1 destdigmask 6666 newnetworkid 20 smsc mproc add mproc 2 destdigmask 6667 newnetworkid 21 smsc mproc add mproc 3 destdigmask 5555 newnetworkid 30 smsc mproc add mproc 4 destdigmask ^(?!6666|6667|5555).* newnetworkid 0

vetss commented 7 years ago

Fixed by: https://github.com/RestComm/smscgateway/commit/d9b34dbc081cf68d62b4149a597a7972ac62ade6