Unable to resolve issue in mproc while routing SMS between two nodes

76 views
Skip to first unread message

baym...@gmail.com

unread,
Oct 27, 2017, 3:11:06 AM10/27/17
to restcomm
Hi all,


I want to set route for SMS flow via SS7 between two SMSCs. My connection is established but i am facing difficulty in writing a correct rule for this type of routing. Here is the rule

1      mproc    
Arriv      destDigMask=1234,  networkIdMask=10,   originNetworkIdMask=10,   newNetworkId=50
 
p.s. i am doing routing on the basis of point code and subsystem. Also, PFA architecture diagram

Thanks for guidance
Selection_018.png

baym...@gmail.com

unread,
Oct 27, 2017, 3:13:53 AM10/27/17
to restcomm
terminal logs of SMSC are:


23:52:13,965 INFO  [MoSbb] (SLEE-EventRouterExecutor-1-thread-1) Received SMS_SUBMIT = SMS-SUBMIT tpdu [dataCodingScheme [TP-Data-Coding-Scheme [Code=0, DataCodingGroup=GeneralGroup, CharacterSet=GSM7]], messageReference=2, destinationAddress [AddressField [typeOfNumber=InternationalNumber, numberingPlanIdentification=ISDNTelephoneNumberingPlan, addressValue=1234]], TP-Protocol-Identifier [Code=0], TP-Validity-Period [Relative hours=72.0]
MSG [TP-User-Data [Msg:[hi ]]]]

23:52:13,972 WARN  [SccpRoutingControl] (SLEE-EventRouterExecutor-1-thread-1) Received SCCPMessage=Sccp Msg [Type=-1 networkId=10 sls=2 incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=2,ssn=8,AI=67,gt=null) CalledParty(pc=1,ssn=8,AI=67,gt=null) DataLen=59] for routing, but no Remote SubSystem = 8 resource defined

23:52:13,985 INFO  [SriSbb] (SLEE-EventRouterExecutor-5-thread-1)
Sending: SendRoutingInfoForSMRequest: isdn=ISDNAddressString[AddressNature=international_number, NumberingPlan=ISDN, Address=1234], serviceCenterAddress=AddressString[AddressNature=international_number, NumberingPlan=ISDN, Address=22221], sm_RP_PRI=true
23:52:13,990 WARN  [SccpRoutingControl] (SLEE-EventRouterExecutor-5-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing

SccpMessage=Sccp Msg [Type=-1 networkId=50 sls=2 incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=0,ssn=8,AI=18,gt=GlobalTitle0100Impl [digits=22221, natureOfAddress=INTERNATIONAL, numberingPlan=ISDN_TELEPHONY, translationType=0, encodingScheme=BCDOddEncodingScheme[type=BCD_ODD, code=1]]) CalledParty(pc=0,ssn=8,AI=18,gt=GlobalTitle0100Impl [digits=1234, natureOfAddress=INTERNATIONAL, numberingPlan=ISDN_TELEPHONY, translationType=0, encodingScheme=BCDEvenEncodingScheme[type=BCD_EVEN, code=2]]) DataLen=66]

23:52:43,994 WARN  [SriSbb] (SLEE-EventRouterExecutor-0-thread-1)
Rx : onInvokeTimeout targetId=1234_1_1_50, InvokeTimeout [invokeId=0, mapDialogWrapper=MAPDialogSmsWrapper [wrappedDialog=MAPDialog: LocalDialogId=4 RemoteDialogId=null MAPDialogState=INITIAL_SENT MAPApplicationContext=MAPApplicationContext [Name=shortMsgGatewayContext, Version=version3, Oid=0, 4, 0, 0, 1, 0, 20, 3, ] TCAPDialogState=InitialSent]]

23:53:13,993 WARN  [SriSbb] (SLEE-EventRouterExecutor-0-thread-1)
Rx :  onDialogTimeout targetId=1234_1_1_50, DialogTimeout [MAPDialogSmsWrapper [wrappedDialog=MAPDialog: LocalDialogId=4 RemoteDialogId=null MAPDialogState=INITIAL_SENT MAPApplicationContext=MAPApplicationContext [Name=shortMsgGatewayContext, Version=version3, Oid=0, 4, 0, 0, 1, 0, 20, 3, ] TCAPDialogState=InitialSent]]

23:53:13,996 INFO  [SriSbb] (SLEE-EventRouterExecutor-0-thread-1) onDeliveryError: errorAction=temporaryFailure, smStatus=HLR_REJECT_AFTER_ROUTING_INFO, targetId=1234_1_1_50, smsSet=SmsSet [destAddrTon=1, destAddrNpi=1, destAddr=1234, networkId=50, destClusterName=null, destSystemId=null, destEsmeId=null, imsi=null, locationInfoWithLMSI=null, correlationId=null, inSystem=0, inSystemDate=null, dueDate=null, dueDelay=0, status=null, type=SMS_FOR_SS7, lastDelivery=null, alertingSupported=false, markedSmsAsDelivered=1, smsCount=1], reason=onDialogTimeout after SRI Request

23:53:14,053 INFO  [SriSbb] (SLEE-EventRouterExecutor-0-thread-1)
Rx :  DialogRelease=DialogRelease [MAPDialogSmsWrapper [wrappedDialog=MAPDialog: LocalDialogId=4 RemoteDialogId=null MAPDialogState=EXPUNGED MAPApplicationContext=MAPApplicationContext [Name=shortMsgGatewayContext, Version=version3, Oid=0, 4, 0, 0, 1, 0, 20, 3, ] TCAPDialogState=Expunged]]

Sergey Vetyutnev

unread,
Nov 6, 2017, 3:42:18 AM11/6/17
to restcomm
Hello,

1) if you want to establish a link SMSC GW - SMSC GW (and you control both SMSCs) then it is much easier to establish SMPP link (instead of SS7) like 
SMSC -- SMPP -- SMSC

2) mproc rule "1 mproc Arriv destDigMask=1234, networkIdMask=10, originNetworkIdMask=10, newNetworkId=50" looks good for me but you need to configure a connection level settings for links to SS7 Simulator and between SMSC GWs
As for now I see that you have problems in configuring of SS7 link (SCCP part), you need to fix it firstly

23:52:13,972 WARN  [SccpRoutingControl] (SLEE-EventRouterExecutor-1-thread-1) Received SCCPMessage=Sccp Msg [Type=-1 networkId=10 sls=2 incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=2,ssn=8,AI=67,gt=null) CalledParty(pc=1,ssn=8,AI=67,gt=null) DataLen=59] for routing, but no Remote SubSystem = 8 resource defined 

Reply all
Reply to author
Forward
0 new messages