Help required to Newbie : How to setup SMPP and send a test SMS.

449 views
Skip to first unread message

Kasim

unread,
Mar 15, 2012, 9:40:09 AM3/15/12
to mobicent...@googlegroups.com
Dear All,
 
I am totally new to mobicents platform. My project is to setup SMPP appliaction which will bind to SMSC and send/receive sms. I have downloded & installed the mobicents-jailslee/Jboss on a Linux machine.
I have created the home variables for JBOSS, ant, JAVA & MAVEN & started the Jboss server as per Mobicents SLEE container guide.
 
18:25:30,109 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
18:25:30,133 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:25:30,143 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 58s:666ms
 
It seems that Jboss server has started successfully. Now i need help to guide me through the steps required to setup smpp & send a test sms. I have gone through the "SMPP Resource Adapter user guide" but it didnt help. Please point me to an old thread on this form or a document or reply with the required steps so that i can configure sms adapter.
 
Thanks.
Kasim

Amit Bhayani

unread,
Mar 20, 2012, 2:11:35 PM3/20/12
to mobicent...@googlegroups.com
I would suggest to read the SMPP Specs along with SMPP RA.


Did you manage to know if the SMSC has exposed SMPP connection as Tx/Rx or both? Do you know the values for parameters like Type of Number, Address etc?

Amit. 

Brian McColgan

unread,
Mar 20, 2012, 2:55:03 PM3/20/12
to mobicent...@googlegroups.com
Totally agree with Amit on this one   You can get both the 3.3 and 3.4 specifications here:

http://www.nowsms.com/discus/messages/1/24856.html

The original SMS forum is no longer (my understanding) and the NowSMS links will take you to the specifications. 

Note: depending on what (or who) your communicating with (e.g. an ESME vs. a SMS-C) you may see different behaviors depending on the SMPP stack.

I always recall having to do some 'live testing' end-to-end to really make sure all was okay (through an entire functional sequence, and beyond).

Best of luck.
328.png

Kasim

unread,
Mar 21, 2012, 7:03:09 AM3/21/12
to mobicent...@googlegroups.com
Thanks alot Amit and Brian :), really appreciate that.
I have the understanding of SMPP & its specifications. I am new to Eclipse and Java environemnt. Since my last post i have done reading on mobicents and jboss forum and inatalled the SMPP resource adapter and successfully binded it to SMSC:
 
Eclipse Console output:
 
15:50:36,104 INFO  [SleeManagementMBean]  >< >< >< >< >< >< >< Mobicents JAIN SLEE 2.6.0.FINAL "GANDHI" starting >< >< >< >< >< >< ><
15:50:36,137 INFO  [SleeManagementMBean]  >< >< >< >< >< >< >< Mobicents JAIN SLEE 2.6.0.FINAL "GANDHI" started >< >< >< >< >< >< ><
15:50:36,143 INFO  [SmppResourceAdaptor] setFaultTolerantResourceAdaptorContext(FaultTolerantResourceAdaptorContext arg0)
15:50:36,144 INFO  [SmppResourceAdaptor] Activation RA SmppRA
15:50:36,258 INFO  [TcpLink] Opening TCP socket to /10.98.136.13:5016
15:50:36,432 INFO  [Session-1] SMSC did not supply SC_INTERFACE_VERSION. Disabling optional parameter support.
15:50:36,436 INFO  [SmppResourceAdaptor] Successfully bound to SMSC.
15:50:36,615 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
15:50:36,661 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:50:36,670 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 55s:872ms
 
Now when i create new project in Eclipse i dont not see "JAIN SLEE". How to import JAIN SLEE into Eclipse? I am following this tutorial: https://community.jboss.org/wiki/HelloSLEEWorldServiceJAINSLEETutorial
 
Thanks :)
 
Br,
./Kasim

Ibrahima Gaye

unread,
Mar 21, 2012, 7:21:03 AM3/21/12
to mobicent...@googlegroups.com
Hello Kasim,
that tutorial does not include the environnement preparation,
specially from "Installed a Mobicents SLEE developement environment"
Regards :),
------
Ibrahim

Kasim

unread,
Mar 22, 2012, 7:14:49 AM3/22/12
to mobicent...@googlegroups.com
Thanks Ibrahima :)
Now i can successfully create Jain SLEE project. How can i import the packages & methods of SMPP RA like SMPPSession & getSMSCHost() and start using them in my project?
 
 
Br,
./Kasim

On Thursday, 15 March 2012 18:40:09 UTC+5, Kasim wrote:
Reply all
Reply to author
Forward
0 new messages