Hello, Here it is my kannel.conf file:

#Default kannel configuration file
#core group 'mandatory' identifies the group
 group = core
 dlr-storage=mysql
#port for http administration
 admin-port = 13000
 smsbox-port = 13001
#Password for http administration
 admin-password = xxxxxx
#Password to check status of kannel
 status-password = statuspass
#Allow only localhost for now
#admin-deny-ip = "*.*.*.*"
 admin-allow-ip = "localhost"
 #access-log = "/var/log/kannel/access.log"
 #store-type = spool
 #store-location = "/var/log/kannel/sent"

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 bearerbox-port = 13001
 mo-recode = 1
#The sender number to be used in text messages
 global-sender = 919994989838
 log-file = "/var/log/kannel/smsbox.log"
 log-level = 1

#Identifies the SMS Center group
 group = smsc
 #Tells kannel that we are going to use mobile as smsc
 smsc = at
 #Sets the modem type to auto
 modemtype = ZTE
 #Identifies the modem
 device =/dev/ttyUSB3
 #It should be your mobile number
 my-number = 3005763681
 log-file = "/var/log/kannel/smsc.log"
 log-level = 1

#It should be changed to work for your mobile
 group = modems
 id = ZTE
 name = "ZTE TIGO"
 detect-string = "ZTE MODEM"
 init-string = "AT+CNMI=1,2,0,0,0"
 #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password =
 database = dlr
 max-connections = 3

 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc

#SMSC SMPP
 group=smsc
 smsc=smpp
 smsc-id = SMPP
 host = localhost
 port = 13001
 receive-port = 13013
 transceiver-mode = true
 smsc-username = "xxxxxx"
 smsc-password = "xxxxxx"
 #keepalive = 25
 system-type = "VMA"
 #service-type=smpp
 address-range =""
 #source-addr-ton = 005
 #interface-version = 0x34
 #enquire-link-interval = 10
 #reconnect-delay = 30
 log-level = 1
 log-file = /var/log/kannel/opensmppbox.log

 group = sendsms-user
#Username and Password for sending sms using HTTP interface
 username = xxxxxx
 password = xxxxxx
 concatenation = true
 #can  send a longer text message about 3 smses ( 3*160)
 max-messages = 3

# SMS SERVICE 'default'
 group = sms-service
 keyword = Tucontacto
 text = "Bienvenido a la conexion de prueba de tu contacto sms"
 catch-all = true
# Catch all incoming messages
# regarding the keyword. If you
# define other services, remove
# this line.

# SMS SERVICE for receiving sms messages
# If you're about to implement service to receive sms messages.
# group = sms-service
# keyword = yourkeyword
# get-url = http://server.domain/moodle/receivesms.php?q=%k&sender=%p&message=%

El 21/08/12 15:08, Rene Kluwen escribió:
This is probably a configuration issue with the wrong tcp ports being connected 
to each other.
If you post your config, we can help you further.

== Rene

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Soporte
Sent: Tuesday, 21 August, 2012 21:46
To: [email protected]
Subject: Request for Help smpp

Greetings.

  I'm new using the kannel app, and i'm trying to set up the Kannel SMPP  
server, but I recive this respond

  2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp:
  thread starts
  2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox:
  thread starts
  2012-08-21 16:26:37 [3469] [2] ERROR: SMPP: PDU length was too large  
(1195725856, maximum is 7424).
  2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox[(null)]: Server sent  
garbage, ignored.
  2012-08-21 16:26:37 [3469] [2] ERROR: Invalid SMPP PDU received.
  2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox:
  thread terminates
  2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp:
  thread terminates
  2012-08-21 16:26:38 [3469] [0] INFO: No more waiting for SMPP  connections.


  So if you can help me, it will be greatfull.
  Thanks.






Reply via email to