[SccpRoutingControl] Sccp routing rule problem

415 views
Skip to first unread message

Khadija Khalfallah

unread,
Jun 5, 2015, 10:04:31 AM6/5/15
to mobicent...@googlegroups.com
HI all,

I have an SBB that sends an SRI for SM via MAP. When deploy and run it:

12:21:40,968 WARN  [SccpRoutingControl] (SLEE-EventRouterExecutor-1-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing
SccpMessage=Sccp Msg [Type= sls=6 incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=0,ssn=8,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=22220}) CalledParty(pc=0,ssn=8,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=20935521}) DataLen=68]


Any Idea?

Please how to specify a SCCP routing rule and what it means "no specified routing rules are passed to calling party address"?

Thank you for help in advance.

Regards,

Ibrahima Gaye

unread,
Jun 5, 2015, 11:25:04 AM6/5/15
to mobicent...@googlegroups.com
Hi,
you can check in the test files :)

// TEST find rule

                // Rule 6
                SccpAddress calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0,
                                GlobalTitle.getInstance(1, "123456"), 0);
                Rule rule = router.findRule(calledParty, false);

                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern6, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("K", rule.getMask());

                // Rule 7
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "1234567890"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern7, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("K", rule.getMask());

                // Rule 1
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "80012039"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern1, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("R/K/R", rule.getMask());

                // Rule 5
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "800120349"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern5, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("R/K/R", rule.getMask());

                // Rule 4
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "801203459"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern4, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("R/K/R/K/R", rule.getMask());

                // Rule 8
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "999123456"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern8, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("R/K", rule.getMask());

                // Rule 3
                calledParty = new SccpAddress(RoutingIndicator.ROUTING_BASED_ON_GLOBAL_TITLE, 0, GlobalTitle.getInstance(1,
                                "919123456"), 0);
                rule = router.findRule(calledParty, false);
                assertEquals(LoadSharingAlgorithm.Undefined, rule.getLoadSharingAlgorithm());
                assertEquals(pattern3, rule.getPattern());
                assertEquals(RuleType.Solitary, rule.getRuleType());
                assertEquals(-1, rule.getSecondaryAddressId());
                assertEquals("K/K/K/K", rule.getMask());


------

Ibrahima GAYE,
Senior Project Management support
mob:

     +223  9  117 1464

     +221 77 564 9358 

My profiles: LinkedIn Skype:ibgayel

www.tadhack.com 

If you received this email in error, please notify us immediately by sending an e-mail or by calling.

 

 



--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Khadija Khalfallah

unread,
Jun 8, 2015, 7:19:11 AM6/8/15
to mobicent...@googlegroups.com
Hi,

Thank you for your reply.

In fact I am new in ss7 and telco word.

After searching, It seems that I should configure a sccp rule whether via ss7 cli commands or ss7 gui interface.

I have tried to do so using ss7-cli shell command line:

telscale(127.0.0.1:8080)>sccp rule create 1 R 71 2 8 0 0 3 123456789 1
No response from server


What is wrong here I am doing?

Thank you.

Regards,




 

--
You received this message because you are subscribed to a topic in the Google Groups "mobicents-public" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobicents-public/qwujAVVgbAQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobicents-publ...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ibrahima Gaye

unread,
Jun 8, 2015, 7:23:00 AM6/8/15
to mobicent...@googlegroups.com
Hi,
please give more details:
which server are you using ?
maybe someone here will have enough time to guide you
Best regards,

Khadija Khalfallah

unread,
Jun 8, 2015, 7:28:10 AM6/8/15
to mobicent...@googlegroups.com
Regards,

Ibrahima Gaye

unread,
Jun 8, 2015, 7:34:02 AM6/8/15
to mobicent...@googlegroups.com
​Hi,

<a id="configuring_the_gateway_simulator_profile"></a>
sctp server create serv1 127.0.0.1 8012 TCP 
sctp server start serv1 
sctp association create ass1 SERVER serv1 127.0.0.1 8011 TCP

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 8 0 1 4 * solitary 1 origination-type localOriginated 
sccp rule create 2 K 82 0 8 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 esme create test test test 127.0.0.1 -1 TRANSCEIVER SERVER esme-ton 1 esme-npi 1 esme-range 6666 
smsc esme start test

On Mon, Jun 8, 2015 at 11:28 AM, Khadija Khalfallah <khadija.k...@tritux.com> wrote:
telscale-slee-6.1.2.GA

James Carpenter

unread,
Jun 8, 2015, 10:12:57 AM6/8/15
to mobicent...@googlegroups.com

Connect to ss7-cli on port 3435?

Sergey Vetyutnev

unread,
Jun 8, 2015, 11:55:02 AM6/8/15
to mobicent...@googlegroups.com
Hello,

1)
12:21:40,968 WARN  [SccpRoutingControl] (SLEE-EventRouterExecutor-1-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing
SccpMessage=Sccp Msg [Type= sls=6 incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=0,ssn=8,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=22220}) CalledParty(pc=0,ssn=8,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=20935521}) DataLen=68]


You have not properly configured at least SCCP stack. It is better to read firstly "Chapter 7. Managing TelScale jSS7 Stack" chapter of jss7 stack User Guide and check the example that has been provided by Ibrahim.

2)
telscale(127.0.0.1:8080)>sccp rule create 1 R 71 2 8 0 0 3 123456789 1
No response from server

This should be a bug of JSS7 stack CLI. I think you need to restart CLI part and if it does not help - restart the server.
If you can provide steps how to reproduce this error, please share them.

Ibrahima Gaye

unread,
Jun 8, 2015, 11:58:06 AM6/8/15
to mobicent...@googlegroups.com
telscale(127.0.0.1:8080)​ shouldn't it be port 3435 (default) like James suggested :)

On Mon, Jun 8, 2015 at 3:55 PM, Sergey Vetyutnev <serg.ve...@gmail.com> wrote:
telscale(127.0.0.1:8080)

Khadija Khalfallah

unread,
Jun 8, 2015, 12:46:14 PM6/8/15
to mobicent...@googlegroups.com
Hi,

Thank you all for your answers.

Yes, it is port 3435 not 8080.

I have just one more question concerning ss7 simulator, my sbb send an SRI for SM and waits for a response event. Is the simulator which will reply to the requestwith a response or what should I do to simulate that?

Thank you a lot.

Regards,

--
You received this message because you are subscribed to a topic in the Google Groups "mobicents-public" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobicents-public/qwujAVVgbAQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amit Bhayani

unread,
Jun 8, 2015, 10:14:04 PM6/8/15
to mobicents-public
Yes Simulator will respond to your SRI Query. You can see the flow of messages over wireshark

You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.

Khadija Khalfallah

unread,
Jun 9, 2015, 4:40:03 AM6/9/15
to mobicent...@googlegroups.com
Thank you for your answer.

When I capture messages flow over wirehsark:



Regards,

Ibrahima Gaye

unread,
Jun 9, 2015, 5:51:50 AM6/9/15
to mobicent...@googlegroups.com
Hi,
you have to configure this part of the simulator:
Inline image 1

Khadija Khalfallah

unread,
Jun 9, 2015, 6:54:12 AM6/9/15
to mobicent...@googlegroups.com
Thank you for the response.

In fact, I have already configured it that way:



And when I run my service:



And in wireshark:



What's wrong?

Regards,

Ibrahima Gaye

unread,
Jun 9, 2015, 6:56:19 AM6/9/15
to mobicent...@googlegroups.com
Hi, 
please add a dummy IMSI number (any number)

Khadija Khalfallah

unread,
Jun 9, 2015, 6:56:43 AM6/9/15
to mobicent...@googlegroups.com
Just another thing my sbb listens for event "SEND_ROUTING_INFO_FOR_SM_REQUEST" and traces some log messages when receiving it. But actually, nothing is logged so nothing is  received.

Regards,

Khadija Khalfallah

unread,
Jun 9, 2015, 7:42:30 AM6/9/15
to mobicent...@googlegroups.com

Hi,

Yes, I have added a dummy IMSI numbe. Same result...

Reagrds,

Ibrahima Gaye

unread,
Jun 9, 2015, 7:53:31 AM6/9/15
to mobicent...@googlegroups.com
Hi,
if you have put the PC of the simulator in the VLR field and it's the same result then this goes beyond my knowledge ... maybe someone else can help you.
Good Luck :)

faizan naqvi

unread,
Jun 9, 2015, 8:31:29 AM6/9/15
to mobicent...@googlegroups.com
Which simulator is that? Where do we get it from?

James Carpenter

unread,
Jun 9, 2015, 8:47:50 AM6/9/15
to mobicent...@googlegroups.com

Hi Faizan, please start a new thread for separate questions - it is ss7 simulator by TeleStax (maybe mobicents version too? not sure).

Hi Khadija,

Couple cents from a little forum rummaging:

  • WireShark Trace - Why would source be 0, and destination be 1? Are you sure the request is hitting its destination?
  • This post someone created a simple SBB similar to you and may help as well. In particular, he states:
    • "I want to receive the response event in the same SBB. So I atached SBB to ACI obtained from MAP ACI Factory."
  • Please read this awesome post by Fernando, relates to no response for SRI-SM (never used GTs) and includes error codes specified by Fernando below:
    •  "errors you may get within SMS, according to ETSI/3GPP MAP specification (3GPP TS 29.002), both for MAP’s SRI-forSM andforwardSM (MT SM or MO SM). By far the major cause of error in SMS is what MAP’s spec specifies as error code 27Absent Subscriber."
Hope it helps,

v/r,
James

jfcarp

unread,
Jun 9, 2015, 10:56:03 AM6/9/15
to mobicent...@googlegroups.com

sbb code examples could help too

Sergey Vetyutnev

unread,
Jun 9, 2015, 11:38:04 AM6/9/15
to mobicent...@googlegroups.com
Hello, 

1)
> Just another thing my sbb listens for event "SEND_ROUTING_INFO_FOR_SM_REQUEST" and traces some log messages when receiving it. But actually, nothing is logged so nothing is  received.
You are saying that "SBB that sends an SRI for SM via MAP", so I think you need to listern for an event for "SEND_ROUTING_INFO_FOR_SM_RESPONSE" that will come from SS7 Simulator / HLR

Khadija Khalfallah

unread,
Jun 9, 2015, 11:42:24 AM6/9/15
to mobicent...@googlegroups.com
Yes Sergey, I'm doing it so. my Sbb sends an SRI for SM adn lsitens for SRI resposne. it listens to the sri request just to trace log messages (I do that for test only).

Regards,
Khadija

Khadija Khalfallah

unread,
Jun 9, 2015, 12:45:56 PM6/9/15
to mobicent...@googlegroups.com
Hi all,

Now the sri 4 sm response is sent and in wireshark:



But in sever output:

17:36:51,522 WARN  [SccpStackImpl-SccpStack] (pool-18-thread-1) Incoming Mtp3 Message for nonlocal dpc=2. But RemoteSpc is not found

And the sbb doesn't receive any sri 4 sm response event.

Is is probably an ss7 stack configuration problem or ss7 simulator configuration problem?

Regards,
Khadija



Khadija Khalfallah

unread,
Jun 9, 2015, 12:46:57 PM6/9/15
to mobicent...@googlegroups.com
I don't understand so well also the source and destination in wireshark capture?

REgards,

Khadija Khalfallah

unread,
Jun 9, 2015, 12:49:32 PM6/9/15
to mobicent...@googlegroups.com
Thanks James. That was helpful for me.

Regards,

--
You received this message because you are subscribed to a topic in the Google Groups "mobicents-public" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobicents-public/qwujAVVgbAQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Khadija Khalfallah

unread,
Jun 9, 2015, 1:01:20 PM6/9/15
to mobicent...@googlegroups.com
Following is  my "SccpStack_sccpresource2" file content:

<?xml version="1.0" encoding="UTF-8" ?>
<remoteSsns>
    <id value="1"/>
    <value remoteSpc="1" remoteSsn="8" remoteSsnFlag="0" markProhibitedWhenSpcResuming="false"/>
</remoteSsns>
<remoteSpcs>
    <id value="1"/>
    <value remoteSpc="1" remoteSpcFlag="0" mask="2"/>
</remoteSpcs>
<concernedSpcs/>


Regards,
Khadija

Khadija Khalfallah

unread,
Jun 11, 2015, 4:06:42 AM6/11/15
to mobicent...@googlegroups.com
Hi all,

Now it is ok after properly configurating my ss7 stack (sccp) .

The sri for sm request is sent ok and I receive a response that my Sbb handles to then sens sms based on information from response.

In simulator I indicated the IMSI but what for the "NetworkNodeNumber" which my Sbb extracts from response to send SMS. In server log when tracing the value getted from event object, I obtain:

 getNetworkNodeNumber : ISDNAddressString[AddressNature=international_number, NumberingPlan=ISDN, Address=]

Address is empty!! Any idea?

Regards,
Khadija

jfcarp

unread,
Jun 12, 2015, 10:59:15 AM6/12/15
to mobicent...@googlegroups.com
Hello,

Hope your development is going well, as your catching on faster than I have been :)


MAPDialogSms mapDialogSms = this.mapProvider.getMAPServiceSms().createNewDialog(this.getMtFoSMSMAPApplicationContext(),
                                this.getServiceCenterSccpAddress(), null, this.getMSCSccpAddress(evt.getLocationInfoWithLMSI().getNetworkNodeNumber()), null);

Sergey Vetyutnev

unread,
Jun 22, 2015, 10:08:29 AM6/22/15
to mobicent...@googlegroups.com
Hello,

sorry for late response,

> In simulator I indicated the IMSI but what for the "NetworkNodeNumber" which my Sbb extracts from response to send SMS. 
> In server log when tracing the value getted from event object, I obtain:

The value for this in SS7 Simulator is "VLR address for auto sendRoutingInfoForSM response"
Reply all
Reply to author
Forward
0 new messages