Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1297
  • Last Modified:

How Kannel Relay Sms

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
pawanopensource
Asked:
pawanopensource
  • 2
  • 2
2 Solutions
 
Josh ThomasSystems AdministratorCommented:
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
 
pawanopensourceAuthor Commented:
thx ,
working on it
0
 
pawanopensourceAuthor Commented:
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
 
columcusackCommented:
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
 
columcusackCommented:
host = 10.x.y.z  in the BB config above is usually a load balancer IP in the operator
0

Featured Post

Reclaim your office - Try the MB 660 headset now!

High level of background noise often makes it difficult for employees to concentrate fully on their jobs – or to communicate clearly on calls. The MB 660 headset helps you create a disruption free workspace.  

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now