protected ISDNAddressString getNetworkNodeNumber(int networkId) { if (networkId == 0) { if (this.networkNodeNumber == null) { this.networkNodeNumber = this.mapParameterFactory.createISDNAddressString(AddressNature.international_number, org.mobicents.protocols.ss7.map.api.primitives.NumberingPlan.ISDN, smscPropertiesManagement.getServiceCenterGt()); } return this.networkNodeNumber; } else { return this.mapParameterFactory.createISDNAddressString(AddressNature.international_number, org.mobicents.protocols.ss7.map.api.primitives.NumberingPlan.ISDN, smscPropertiesManagement.getServiceCenterGt(networkId)); } } }
protected ISDNAddressString getCalledPartyISDNAddressString(String destinationAddress, int ton, int npi) { return this.mapParameterFactory.createISDNAddressString(AddressNature.getInstance(ton), org.mobicents.protocols.ss7.map.api.primitives.NumberingPlan.getInstance(npi), destinationAddress); }
ISDNAddressString msisdn = this.mapProvider.getMAPParameterFactory().createISDNAddressString( AddressNature.international_number, NumberingPlan.ISDN, "31628838002");
ISDNAddressString networkNodeNumber; if (smscAddressForCountryCode != null) { networkNodeNumber = this.mapParameterFactory.createISDNAddressString(AddressNature.international_number, NumberingPlan.ISDN, smscAddressForCountryCode); } else {
public void onSubscriberLocationReportRequest(SubscriberLocationReportRequest subscriberLocationReportRequestIndication) { logger.debug("onSubscriberLocationReportRequest"); if (!isStarted) return; MAPDialogLsm curDialog = subscriberLocationReportRequestIndication.getMAPDialog(); String networkNodeNumberAddress = subscriberLocationReportRequestIndication.getLCSLocationInfo().getNetworkNodeNumber().getAddress(); this.testerHost.sendNotif(SOURCE_NAME, "Rcvd: SubscriberLocationReportRequest", createSLRReqData(curDialog.getLocalDialogId(),networkNodeNumberAddress), Level.INFO); MAPParameterFactory mapParameterFactory = this.mapProvider.getMAPParameterFactory(); ISDNAddressString naEsrd = mapParameterFactory.createISDNAddressString( AddressNature.getInstance(getAddressNature().intValue()), NumberingPlan.getInstance(getNumberingPlanType().intValue()), getNaESRDAddress()); try { curDialog.addSubscriberLocationReportResponse(subscriberLocationReportRequestIndication.getInvokeId(), naEsrd, null, null); logger.debug("set addSubscriberLocationReportResponse"); curDialog.send(); logger.debug("addSubscriberLocationReportResponse sent"); this.testerHost.sendNotif(SOURCE_NAME, "Sent: SubscriberLocationReportResponse", createSLRResData(curDialog.getLocalDialogId(),getNaESRDAddress() ), Level.INFO); } catch (MAPException e) { logger.debug("Failed building response "+e.toString()); } }
ISDNAddressString msisdn = this.mapProvider.getMAPParameterFactory().createISDNAddressString( AddressNature.international_number, NumberingPlan.ISDN, "31628838002");
ISDNAddressString msisdn = this.mapProvider.getMAPParameterFactory().createISDNAddressString( AddressNature.international_number, NumberingPlan.ISDN, "31628838002");
ISDNAddressString networkNodeNumber = mapParameterFactory.createISDNAddressString( AddressNature.getInstance(getAddressNature().intValue()), NumberingPlan.getInstance(getNumberingPlanType().intValue()),
ISDNAddressString mlcNumber = mapParameterFactory.createISDNAddressString(
ISDNAddressString naEsrd = mapParameterFactory.createISDNAddressString( AddressNature.getInstance(getAddressNature().intValue()), NumberingPlan.getInstance(getNumberingPlanType().intValue()),
null, null, null, null); LCSEvent lcsEvent = this.testerHost.getConfigurationData().getTestMapLcsClientConfigurationData().getLCSEvent(); ISDNAddressString networkNodeNumber = mapParameterFactory.createISDNAddressString( this.testerHost.getConfigurationData().getTestMapLcsClientConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestMapLcsClientConfigurationData().getNumberingPlanType(), ISDNAddressString msisdn = mapParameterFactory.createISDNAddressString( this.testerHost.getConfigurationData().getTestMapLcsClientConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestMapLcsClientConfigurationData().getNumberingPlanType(),
null, null, null, null); LCSEvent lcsEvent = this.testerHost.getConfigurationData().getTestMapLcsServerConfigurationData().getLCSEvent(); ISDNAddressString networkNodeNumber = mapParameterFactory.createISDNAddressString( this.testerHost.getConfigurationData().getTestMapLcsServerConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestMapLcsServerConfigurationData().getNumberingPlanType(), ISDNAddressString msisdn = mapParameterFactory.createISDNAddressString( this.testerHost.getConfigurationData().getTestMapLcsServerConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestMapLcsServerConfigurationData().getNumberingPlanType(),
if (this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddress() != null && !this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddress().equals("")) { msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddressNature(), this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnNumberingPlan(),
ISDNAddressString msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestSmsClientConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestSmsClientConfigurationData().getNumberingPlan(), destIsdnNumber);
ISDNAddressString networkNodeNumber = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestUssdClientConfigurationData().getMsisdnAddressNature(), this.testerHost.getConfigurationData().getTestUssdClientConfigurationData().getMsisdnNumberingPlan(),
if (this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddress() != null && !this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddress().equals("")) { msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnAddressNature(), this.testerHost.getConfigurationData().getTestUssdServerConfigurationData().getMsisdnNumberingPlan(),
subscriberIdentity = mapProvider.getMAPParameterFactory().createSubscriberIdentity(imsi); } else { ISDNAddressString msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().getNumberingPlan(), address); this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().isGetMsClassmark(), this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().isGetMnpRequestedInfo()); ISDNAddressString gsmSCFAddress = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestAtiClientConfigurationData().getNumberingPlan(),
ISDNAddressString msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestSmsServerConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestSmsServerConfigurationData().getNumberingPlan(), destIsdnNumber);
&& !this.testerHost.getConfigurationData().getTestUssdClientConfigurationData().getMsisdnAddress() .equals("")) { msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestUssdClientConfigurationData().getMsisdnAddressNature(), this.testerHost.getConfigurationData().getTestUssdClientConfigurationData().getMsisdnNumberingPlan(),
.getHlrSsn()), null); ISDNAddressString msisdn = mapProvider.getMAPParameterFactory().createISDNAddressString( this.testerHost.getConfigurationData().getTestSmsServerConfigurationData().getAddressNature(), this.testerHost.getConfigurationData().getTestSmsServerConfigurationData().getNumberingPlan(), curDestIsdnNumber);