Solved

How Kannel Relay Sms

Posted on 2010-09-10
9
1,224 Views
Last Modified: 2013-12-22
hi friends,

i am new to kannel, as a reseller point of view i know that reseller gives the web path with username and password to the client, and client than uploads the excel sheet, now kannel server receives the excel sheet through http,

i want to know how kannel server relays sms outside.

Thx
0
Comment
Question by:pawanopensource
  • 2
  • 2
9 Comments
 
LVL 2

Accepted Solution

by:
Josh Thomas earned 250 total points
ID: 33650581
Here's a good article that may help you understand how Kannel sends SMS:
http://mobiforge.com/developing/story/sending-sms-with-smpp-kannel-and-java

Scroll down to the "Setting up the Kannel Server" portion for the good stuff.
0
 

Author Comment

by:pawanopensource
ID: 33650774
thx ,
working on it
0
 

Author Comment

by:pawanopensource
ID: 33691796
hello friend,
if i have to become a reseller of bulksms than i have to give username and password with weblink through which client will upload the mobile nos in excel sheet. for this playsms is used.
i had installed playsms now in my machine i am able to open http://localhost/playsms  page is asking for username and password.
here i am confused, shall i buy bulksms from sms provider and configure them in kannel and resell them. how kannel will relay sms.
0
 
LVL 1

Assisted Solution

by:columcusack
columcusack earned 250 total points
ID: 33723674
Hi Guys,

Ok, so the Kannel GW has the Bearerbox which will take the configuration for your SMPP connection to the Operator SMSC
and the SMSbox which takes the http service to send the SMS through the bearerbox, I have attached example configs below...

bearer box config or similar for your setup:

group = smsc
smsc = smpp
host = 10.x.y.z
receive-port = 8000
smsc-username = "sms"
smsc-password = password
system-type = systemtype
address-range = ""
no-sender = true
no-coding = true


(Example SMSbox Config )
group = smsbox
bearerbox-host = 10.X.Y.Z  (IP of your Kannel GW )
sendsms-port = 10503
sendsms-chars = "0123456789 +-"
log-file = "/logs/sms_smsbox.log"
log-level = 5
immediate-sendsms-reply = true

# Default
group = sms-service
keyword = default
send-sender = false
allowed-receiver-prefix-regex=^(50001|50002|55555|50004|50103|50909|51188|51511|53530|53534|)$  (SHORTCODES YOU WILL USE IN HERE)
url = "http://10.X.Y.Z/cgi-bin/as_capture.pl?text=%a&sender=%p&service=%P"   (IP is Host address of KGW )
max-messages = 0

group = sms-service
keyword=default
allowed-receiver-prefix-regex=^(50000|50003|50023|50102|50046|50104|50009|50008)$
send-sender = true


group = sms-service
keyword=default
allowed-receiver-prefix-regex=^(50000|50003|50023|50102|50046|50104|50009|50008)$
send-sender = true
post-xml=http://10.x.y.z:7011/SMSFacadeProxy



Now you will also need an SMPP ESME listening on the Messaging gateway that enters the Mobile operator.  Usually, an operator will have
a mesaging application router (MAR) or equivelant which will fork your incoming connection to each of their SMSC's.  An operator may have anywhere from
2 to 10 SMSC's in their network.  They will agree config with you (smsc-username = "sms" / smsc-password = password / system-type = systemtype )
see bearer box config above.  Usually this is a VPN they setup between you and them.  


Hope this helps or puts you on the right track

Regards
0
 
LVL 1

Expert Comment

by:columcusack
ID: 33723677
host = 10.x.y.z  in the BB config above is usually a load balancer IP in the operator
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now