| // 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()); |

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.
--
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.
telscale-slee-6.1.2.GA
telscale(127.0.0.1:8080)
--
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.
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.






--
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.
MAPDialogSms mapDialogSms = this.mapProvider.getMAPServiceSms().createNewDialog(this.getMtFoSMSMAPApplicationContext(), |
this.getServiceCenterSccpAddress(), null, this.getMSCSccpAddress(evt.getLocationInfoWithLMSI().getNetworkNodeNumber()), null); |