Mobicents SMSC configuration to act as ESME (initiate bind to remote SMSC) (Integrate with more than one MNO)

236 views
Skip to first unread message

sanjay zende

unread,
Aug 18, 2015, 11:19:33 AM8/18/15
to mobicents-public
Hi All,

I need some helping hand from all of you people and appreciate in advance for your help.

I am currently working on using mobicents SMSC and USSD part. I am able to deploy and run mobicentsSMSC and USSD g/w successfully and able to test it using SS7 and SMPP simulators. Now I need to integrate mobicents with more than one MNO SMSC's over SMPP or may be over HTTP. After going through few documents I found that we can use SMPP Resource Adapter and HTTP resource adapters to integrate more than one MNO in which case Mobicetns SMSC will act as ESME and need to initiate bind request. Then I download SLEE project which has SMPP resource adapter (SmppResourceAdaptor) and other adapters like http(HttpClientResourceAdaptor) adapters. So I believe that I need to modify SMPP RA adapter (SmppResourceAdaptor) to integrate other SMSCs and need to use HttpClientResourceAdaptor to integrate with other SMSCs over HTTP. Can you please let me know if I am going in write direction to use RA to integrate with other MNO or is there any short way to configure MNO as ESME instead of designing and writing RA.

It will be great help if you guide me in right direction as at the movement I am looking into how to configure RA to integrate MNO as otherwise I might spends days in analyzing RA. 

Thanks for you help in advance again.

Regards,
Sanjay

Amit Bhayani

unread,
Aug 19, 2015, 12:14:40 AM8/19/15
to mobicents-public
Hi Sanjay,

Both SMSC and USSD comes with its own corresponding RA's. You don't have to deploy any more SMPP or HTTP RA. 

Lets target each product separately. 

For SMSC to connect to multiple operators over SMPP is quite easy. You create multiple ESME connections (each with its unique routing range) for each operator. That's it!

For USSD to connect to multiple operators via SS7 is bit challenging. You can start with configuring separate Mtp3UserPart in jboss-beans.xml for each operator and give it a try.

Thanks and Regards,
Amit.

--
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.

sanjay zende

unread,
Aug 19, 2015, 5:10:14 AM8/19/15
to mobicents-public
Hi Amit,

Thank you very much for the valuable reply and saving my time (another weeks) in writing RA which are already there.
As I checked out code (old version) from the link (https://code.google.com/p/smscgateway/source/checkout) which does not have code to connect to ESME over SMPP I faced issues.

After some more search I found link https://github.com/Mobicents/smscgateway which has capability to connect EMSE over SMPP.
Could you please let me know latest version of SMSC and USSD code and link from where I can download SMSC and USSD code.

Also regarding integration with MNOs using protocols like SS7 and HTTP, do we have SS7 RA and HTTP RA? I found HTTP RA under Mobicents SLEE project (http://mobicents.googlecode.com/svn/trunk. ). So if it is HTTP RA then what is the best practice to use them, do I need to deploy SLEE along with USSD and SMSC or can I copy code HTTP RA code in USSD and SMSC ? 

Also as you suggested to integrate MNO over SS7 for both SMSC and USSD, we need to configure Mtp3UserPart in jboss-beans.xml. I will try to configure Mtp3UserPart and will let you know.

Please forgive me if you found any my question irrelevant as I am new to all of this.

Regards,
Sanjay

sanjay zende

unread,
Aug 23, 2015, 9:23:59 AM8/23/15
to mobicents-public


Hi Amit and All Mobicents Experts,

I have deployed code from https://github.com/Mobicents/smscgateway successfully. It is creating SMPP clinet session with another SMSC over SMPP.But firePduRequestReceived method from ClientSmppSessionHandler.java is not sending any message any where. I wanted to configure or integrate various SMSC with Mobicents and need to pass messages received from them to the ESME.

Please check link (http://www.telestax.com/category/smsc-2/) where I want to achive both case 1 and case 2. Also please find attached diagram which gives more idea about how I wanted to use Mobicents. 

Kindly request you to guide. Also kindly advice me if I can use Mobicents as it is to achieve this. If yes which version of Mobicents I need to use. Also I am bit confused to find out difference between configuring other SMSC as ESME client and using SMPP adapter to read messages from SMSC.

Kindly request every one to guide me as I am spend almost 2-3 months and still not able to decide how to use Mobicetns. 

Thanks in Advance.

Regards,
Sanjay

Amit Bhayani

unread,
Aug 24, 2015, 7:42:45 AM8/24/15
to mobicents-public
Dear Sanjay,

The latest version of SMSC is at https://github.com/Mobicents/smscgateway so you are looking at right code. However the latest version doesn't include SS7. Nevertheless you should be able to achieve case 2 in Mobicents SMSC too. 

The link that you mentioned http://www.telestax.com/category/smsc-2/ is for TelScale SMSC which is enterprise version of open source Mobicents SMSC. 


>>But firePduRequestReceived method from ClientSmppSessionHandler.java is not sending any message any where. 

May I request to see the server.log? 

Thanks and Regards,
Amit.

sanjay zende

unread,
Aug 24, 2015, 9:55:27 AM8/24/15
to mobicents-public
Hi Amit,

Thank you very much for you reply. 

1. Incoming messages : Regarding messages received from external SMSC1, I understand that those will receive in listener class ClientSmppSessionHandler.java having method firePduRequestReceived. So here when I gone through the ClientSmppSessionHandler.java code I can see that messages received from SMSC1 will be send to test simulator. But if I want it to send to ESME, then do I need to update and write custom code in ClientSmppSessionHandler.java listener  to redirect to ESME because I can not see logic where we are sending message to ESME.

2. Outgoing messages : Also regarding outgoing messages as I need to send messages from ESME to SMSC1 via our Mobicents SMSC. When checked in code, I found that RxSmppServerSbb.java class is identifying configured SMSC1 (configured as ESME client) and then sending message. So question is and apologize if you found this a very basic question as I am still learning SLEE, do we need to raise event from ESME? In which case I need to understand how to call SBB services?

Regards,
Sanjay

sanjay zende

unread,
Aug 27, 2015, 9:41:47 AM8/27/15
to mobicents-public
Dear Amit,


Hope you are doing well.

1. Outbound Messages : Messages from Mobicents SMSC to SMSC1 or SMSC2
After some reading I found way to raise event using SleeConnectionFactory as mentioned in the link ( https://access.redhat.com/documentation/en-US/JBoss_Communications_Platform/5.0/html-single/JAIN_SLEE_User_Guide/index.html#sect-Event_Router_Configuration  : Section - 8.1.3. Using the SLEE Connection Factory). So I am raising Event to call RxSmppServerSbb.java which has capability to send messages to configured SMSC. 

Could you please let me know if this is the correct way to send messages via Mobicents SMSC?

2. Inbound Messages : Messages form SMSC1, SMSC2 to Mobicents SMSC
As mentioned below we will receive messages from SMSC1 or SMSC2 in listener class ClientSmppSessionHandler.java. Will it be fine to update this class to send messages to the backend system or there any alternative to it?

Also are there any HTTP adapters to connect SMSC1, SMSC2 with Mobicents SMSC?

Regards,
Sanjay

sanjay zende

unread,
Sep 7, 2015, 4:55:04 AM9/7/15
to mobicents-public
Hi All,

1. Inbound Messages: The messages received from the SMSC1 will listen by listener ClientSmppSessionHandler.java which is inner class. TxSmppServerSbb SBB will receive event where SMS will be routed to send it to SMS_FOR_ESME or SMS_FOR_SIP. But if instead of sending it to ESME or SIP over SMPP is there other way to send it over HTTP or JMS. Where I need to look into if I wanted to achieve this. I request to just direct me so that I can start looking into it.

Regards,
Sanjay 
Reply all
Reply to author
Forward
0 new messages