Hi,

Perhaps you mean "I am trying to use kannel to send an SMS to an SMPP server..."

Kannel is an SMPP client, not a server, and as such it can connect only to a 
server.

BR,
Nikos
  ----- Original Message ----- 
  From: Ester 
  To: [email protected] 
  Sent: Tuesday, October 06, 2009 6:47 PM
  Subject: Problems sending a sms with SMPP 


   

  Hi,

  I’m trying to use kannel to send sms with an smpp client, this is my 
configuration file:

   

  group = core

  admin-port = 10000

  smsbox-port = 10001

  admin-password = bar

  admin-allow-ip ="*.*.*.*"

  #admin-deny-ip = "*.*.*.*"

  #admin-allow-ip = "127.0.0.1"

  log-file = "bench_sms_bb.log"

  #box-deny-ip = "*.*.*.*"

  #box-allow-ip = "127.0.0.1"

  box-allow-ip = "*.*.*.*"

   

  #SMSC CONNECTIONS

  group = smsc

  smsc = smpp

  smsc-id = smpp

  host = 192.168.0.101

  port = 5069

  receive-port = 5069

  smsc-username = usr

  smsc-password = pw

  system-type = "VMA"

  service-type = foo

  address-range = ""

   

  #SMSBOX SETUP

  group = smsbox

  bearerbox-host = localhost

  #bearerbox-host = 192.168.0.101

  sendsms-port = 2345

  global-sender = 2345

  log-file = "bench_sms_sb.log"

   

  #group = smsbox

  #smsbox-id = mi_smpp

   

  group = sms-service

  keyword = nop

  text = "You asked nothing and I did it!"

   

  group = sms-service

  keyword = default

  url = "http://localhost:8080/foo?arg=%a";

   

  group = sendsms-user

  username = tester

  password = foobar

  user-allow-ip = "*.*.*.*"

  #user-deny-ip = "*.*.*.*"

  #user-allow-ip = "127.0.0.1"

   

   

  I don’t know if I have to use the same file for the bearerbox and the smsbox, 
how can I connet my smpp client to the smsbox to send the sms? I can’t 
understand exactly with port I have to connect the client or if it can be done 
so easy…

   

  Thanks!

Reply via email to