RE: reading received messages in kannel

2013-06-04 Thread Rene Kluwen
Sagar, Please always copy the list when asking for support.

 

Something is wrong with your init string in that case.

 

 

From: Sagar Deshpande [mailto:sdeshpa...@ravy.co.in] 
Sent: dinsdag 4 juni 2013 7:27
To: Rene Kluwen
Subject: Re: reading received messages in kannel

 

Thanks for your response, 

As you told i made sim-buffering = true but when i make this my bearerbox is
not connecting to the device it is giving me error as:

 

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Generic error: ERROR

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Initialization of device
failed.

2013-06-04 10:56:15 [3904] [6] INFO: AT2[Nokia]: Closing device

2013-06-04 10:56:15 [3904] [6] ERROR: AT2[Nokia]: Couldn't connect (retrying
in 10 seconds).

 

Thanking You.

On Jun 3, 2013, at 6:03 PM, Rene Kluwen wrote:





There's two options:


Set sim-buffering = true in your group = smsc.

Or find the proper CNMI setting for your phone. Look in the users manual for
an explanation.

 

== Rene

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Sagar Deshpande
Sent: maandag 3 juni 2013 13:17
To: users@kannel.org
Subject: reading received messages in kannel

 

Dear Kannel Users,

 

Whenever message is received to my mobile i.e Nokia 5233 it is not showing
in Log and also it is not calling get-url but i can send sms from the same
device. If you find it could you please reply me as soon as possible. My
configuration file is as below.

 

group = core

 admin-port = 13003

 admin-password =

 admin-allow-ip = 127.0.0.1

 dlr-storage = mysql

 smsbox-port = 13016

 log-file = /var/log/kannel/bearerbox.log

 access-log = /var/log/kannel/access.log

 box-allow-ip = 127.0.0.1

 log-level = 0

 

group = smsc

 smsc-id = Nokia

 smsc = at

 modemtype = USB Modem

 device= /dev/ttyACM0

 my-number = xx

 connect-allow-ip = 127.0.0.1

 sim-buffering = false

 log-level = 0

 

group = mysql-connection

 id = mydlr

 host = localhost

 username = root

 password = 

 database = kannel

 

group = dlr-db

 id = mydlr

 table = dlr

 field-smsc = smsc

 field-timestamp = ts

 field-source=source

 field-destination = destination

 field-service = service

 field-url = url

 field-mask = mask

 field-status = status

 field-boxc-id = boxc

 

group = modems

 id = Nokia

 name = Nokia

 detect-string = Nokia

 init-string = ATZ

 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

 message-storage = SM

 

group = smsbox

 smsbox-id = mysmsbox

 bearerbox-host = localhost

 bearerbox-port = 13020

 sendsms-port = 13013

 global-sender = x

 access-log = /var/log/kannel/smsbox-access.log

 log-file = /var/log/kannel/smsbox.log

 log-level = 0

 mo-recode = true

 

group = smsbox-route

 smsbox-id = mysmsbox

 smsc-id = Nokia

 

group = sendsms-user

 username = kannel

 password = kannelPass

 concatenation= true

 max-messages = 1

 

group = sms-service

 keyword = default

 catch-all = yes

 max-messages = 10

 get-url = http://localhost/sms.php?phone=%p
http://localhost/sms.php?phone=%25ptext=%25a text=%a

 

Thank you in advance.

 



Re: could not receive the sms..

2013-06-04 Thread Sagar Deshpande
Could not receive the sms with configuration:

group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = hello
 log-file = /var/log/kannel/bearerbox.log
 access-log = /var/log/kannel/access.log
 box-allow-ip = 127.0.0.1
 box-deny-ip = *.*.*.*
 #log-level = 0

group = smsc
 smsc = at
 modemtype = auto
 device= /dev/ttyACM0
 my-number = my_no
 connect-allow-ip = 127.0.0.1
 log-level = 0
sim-buffering = true

group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 global-sender = my_no
 log-level = 0

group = sendsms-user
 username = username
 password = password
 concatenation= true
 max-messages = 10

group = modems
 id = Nokia
 name = Nokia
 detect-string = Nokia
 init-string = AT+CSMS=?
 message-storage = EM


group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = root
 database = kannel

group = sms-service
 keyword-regex = .*
 catch-all = yes
 max-messages = 0
 get-url = http://localhost/sms.php?phone=%ptext=%a;

And i am getting an error in bearerbox log like:

2013-06-04 12:58:12 [8238] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2013-06-04 12:58:12 [8238] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 8238.
2013-06-04 12:58:12 [8238] [0] INFO: MAIN: Start-up done, entering mainloop
2013-06-04 12:58:12 [8238] [0] DEBUG: AT2[/dev/ttyACM0]: start called
2013-06-04 12:58:12 [8238] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 8238.
2013-06-04 12:58:12 [8238] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 8238.
2013-06-04 12:58:12 [8238] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 8238.
2013-06-04 12:58:12 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem speed. 
2013-06-04 12:58:12 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
2013-06-04 12:58:12 [8238] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 8238.
2013-06-04 12:58:12 [8238] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 8238.
2013-06-04 12:58:12 [8238] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 8238.
2013-06-04 12:58:12 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet 
mode = 0
2013-06-04 12:58:13 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2013-06-04 12:58:13 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2013-06-04 12:58:13 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M
2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: Closing device
2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: detect speed is 115200
2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type
2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet 
mode = 0
2013-06-04 12:58:16 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2013-06-04 12:58:16 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2013-06-04 12:58:16 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATI^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- Nokia
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: found string Nokia, 
using modem definition Nokia
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: Closing device
2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet 
mode = 0
2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: Logging in
2013-06-04 12:58:19 [8238] [6] INFO: AT2[/dev/ttyACM0]: init device
2013-06-04 12:58:19 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M
2013-06-04 12:58:19 [8238] [6] 

cant able to read the received message.

2013-06-04 Thread Sagar
i am getting the below log when i receive a message:

2013-06-04 14:18:59 [9716] [4] INFO: AT2[/dev/ttyACM0]: opening device
2013-06-04 14:18:59 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: device opened.
Telnet mode = 0
2013-06-04 14:18:59 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: device opened
2013-06-04 14:18:59 [9716] [4] INFO: AT2[/dev/ttyACM0]: Logging in
2013-06-04 14:19:00 [9716] [4] INFO: AT2[/dev/ttyACM0]: init device
2013-06-04 14:19:00 [9716] [4] INFO: AT2[/dev/ttyACM0]: speed set to 115200
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ATF
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ATE0
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+IFC=2,2^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+CPIN?^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- +CPIN: READY
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+CMGF=0^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:00 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
2013-06-04 14:19:01 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)
2013-06-04 14:19:01 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:01 [9716] [4] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully
opened.
2013-06-04 14:19:15 [9716] [3] INFO: Client connected from 127.0.0.1 
2013-06-04 14:19:15 [9716] [3] DEBUG: Started thread 6 (gw/bb_boxc.c:function)
2013-06-04 14:19:15 [9716] [6] DEBUG: Thread 6 (gw/bb_boxc.c:function) maps
to pid 9716.
2013-06-04 14:19:15 [9716] [6] DEBUG: Started thread 7
(gw/bb_boxc.c:boxc_sender)
2013-06-04 14:19:15 [9716] [7] DEBUG: Thread 7 (gw/bb_boxc.c:boxc_sender)
maps to pid 9716.
2013-06-04 14:19:20 [9716] [6] DEBUG: boxc_receiver: sms received
2013-06-04 14:19:20 [9716] [6] DEBUG: send_msg: sending msg to box: 127.0.0.1
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: TP-Validity-Period:
24.0 hours
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- AT+CMGS=27^M
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- 
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: send command status: 1
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: --
0011000A817983610146A70FCBB0DB5D6683A8E5391DD49C9F01
2013-06-04 14:19:21 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- ^Z
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- 
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- +CMGS: 11
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: -- OK
2013-06-04 14:19:24 [9716] [4] DEBUG: AT2[/dev/ttyACM0]: send command status: 0

And my configuration is:

group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = hello
 log-file = /var/log/kannel/bearerbox.log
 access-log = /var/log/kannel/access.log
 box-allow-ip = 127.0.0.1
 box-deny-ip = *.*.*.*
 #log-level = 0

group = smsc
 smsc = at
 modemtype = auto
 device= /dev/ttyACM0
 my-number = 
 connect-allow-ip = 127.0.0.1
 log-level = 0

group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 global-sender = 
 log-level = 0

group = sendsms-user
 username = 
 password = 
 concatenation= true
 max-messages = 10

group = modems
 id = Nokia
 name = Nokia
 detect-string = Nokia
 init-string = AT+CSMS=?
 message-storage = EM


group = mysql-connection
 id = mydlr
 host = localhost
 username = 
 password = 
 database = kannel

group = sms-service
 keyword-regex = .*
 catch-all = yes
 max-messages = 10
 get-url = http://localhost/sms.php?phone=%ptext=%a;

what could be the problem please reply me as soon as possible.

Thank you in advance.






Vendor-specific error

2013-06-04 Thread Santosh Bhabal
Hello Experts,

Getting below error in one of my SMPP connectivity:

*SMSC returned error code 0x0439 (Vendor-specific error, please refer
to your SMPP provider) in response to submit_sm.*

Unable to find any detail on the net.

Please help.

Regards
Santosh


Re: Vendor-specific error

2013-06-04 Thread Artem Chekulaev
Ask your provider about error, it depends on their soft
04.06.2013 14:43 пользователь Santosh Bhabal sant...@thinkwalnut.com
написал:

 Hello Experts,

 Getting below error in one of my SMPP connectivity:

 *SMSC returned error code 0x0439 (Vendor-specific error, please refer
 to your SMPP provider) in response to submit_sm.*

 Unable to find any detail on the net.

 Please help.

 Regards
 Santosh



Re: Vendor-specific error

2013-06-04 Thread Willy Mularto
The easiest way is to set log-level to 0 and you can find the human readable 
status in submit_sm_resp. Refer to it please check your telco's documentation 
to check it's definition.



Willy Mularto
sangpr...@gmail.com

On Jun 4, 2013, at 5:41 PM, Santosh Bhabal sant...@thinkwalnut.com wrote:

 Hello Experts,
  
 Getting below error in one of my SMPP connectivity:
  
 SMSC returned error code 0x0439 (Vendor-specific error, please refer to 
 your SMPP provider) in response to submit_sm.
  
 Unable to find any detail on the net.
  
 Please help.
  
 Regards
 Santosh




Re: could not receive the sms..

2013-06-04 Thread Alvaro Cornejo
Hi

Some nokia phones does not support CNMI command nor EM message
storage. You should use SM.

For this app, better use a non Nokia phone.

Regards

Alvaro

On 6/4/13, Sagar Deshpande sdeshpa...@ravy.co.in wrote:
 Could not receive the sms with configuration:

 group = core
  admin-port = 13000
  smsbox-port = 13001
  admin-password = hello
  log-file = /var/log/kannel/bearerbox.log
  access-log = /var/log/kannel/access.log
  box-allow-ip = 127.0.0.1
  box-deny-ip = *.*.*.*
  #log-level = 0

 group = smsc
  smsc = at
  modemtype = auto
  device= /dev/ttyACM0
  my-number = my_no
  connect-allow-ip = 127.0.0.1
  log-level = 0
 sim-buffering = true

 group = smsbox
  bearerbox-host = 127.0.0.1
  sendsms-port = 13013
  global-sender = my_no
  log-level = 0

 group = sendsms-user
  username = username
  password = password
  concatenation= true
  max-messages = 10

 group = modems
  id = Nokia
  name = Nokia
  detect-string = Nokia
  init-string = AT+CSMS=?
  message-storage = EM


 group = mysql-connection
  id = mydlr
  host = localhost
  username = root
  password = root
  database = kannel

 group = sms-service
  keyword-regex = .*
  catch-all = yes
  max-messages = 0
  get-url = http://localhost/sms.php?phone=%ptext=%a;

 And i am getting an error in bearerbox log like:

 2013-06-04 12:58:12 [8238] [0] INFO: Kannel bearerbox II version 1.4.3
 starting
 2013-06-04 12:58:12 [8238] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
 maps to pid 8238.
 2013-06-04 12:58:12 [8238] [0] INFO: MAIN: Start-up done, entering mainloop
 2013-06-04 12:58:12 [8238] [0] DEBUG: AT2[/dev/ttyACM0]: start called
 2013-06-04 12:58:12 [8238] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 8238.
 2013-06-04 12:58:12 [8238] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
 maps to pid 8238.
 2013-06-04 12:58:12 [8238] [6] DEBUG: Thread 6
 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 8238.
 2013-06-04 12:58:12 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem
 speed.
 2013-06-04 12:58:12 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
 2013-06-04 12:58:12 [8238] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
 maps to pid 8238.
 2013-06-04 12:58:12 [8238] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
 maps to pid 8238.
 2013-06-04 12:58:12 [8238] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
 to pid 8238.
 2013-06-04 12:58:12 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
 Telnet mode = 0
 2013-06-04 12:58:13 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
 2013-06-04 12:58:13 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
 2013-06-04 12:58:13 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M
 2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
 2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: Closing device
 2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: detect speed is
 115200
 2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem
 type
 2013-06-04 12:58:15 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
 2013-06-04 12:58:15 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
 Telnet mode = 0
 2013-06-04 12:58:16 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
 2013-06-04 12:58:16 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
 2013-06-04 12:58:16 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATI^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- Nokia
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: found string
 Nokia, using modem definition Nokia
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
 2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: Closing device
 2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: opening device
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
 Telnet mode = 0
 2013-06-04 12:58:18 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
 2013-06-04 12:58:18 [8238] [6] INFO: AT2[/dev/ttyACM0]: Logging in
 2013-06-04 12:58:19 [8238] [6] INFO: AT2[/dev/ttyACM0]: init device
 2013-06-04 12:58:19 [8238] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
 2013-06-04 12:58:19 [8238] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M
 2013-06-04 12:58:19 [8238] [6] DEBUG: 

Re: Vendor-specific error

2013-06-04 Thread Michael Bochkaryov
There is also another possible issue.

SMSC may use different algorithm to calculate the throughput than Kannel
use.
For example SMSC may rely on exact delays between PDUs or check number of
messages retrieved during 1 sec since last submit_sm PDU retrieved.
I've faced such issue couple of years ago and resolved by requesting
throughput x 2 on SMSC side.


Regards,
Michael Bochkaryov
www.rattler.kiev.ua


On Tue, Jun 4, 2013 at 4:16 PM, Willy Mularto sangpr...@gmail.com wrote:

 The easiest way is to set log-level to 0 and you can find the human
 readable status in submit_sm_resp. Refer to it please check your telco's
 documentation to check it's definition.



 Willy Mularto
 sangpr...@gmail.com

 On Jun 4, 2013, at 5:41 PM, Santosh Bhabal sant...@thinkwalnut.com
 wrote:

  Hello Experts,
 
  Getting below error in one of my SMPP connectivity:
 
  SMSC returned error code 0x0439 (Vendor-specific error, please refer
 to your SMPP provider) in response to submit_sm.
 
  Unable to find any detail on the net.
 
  Please help.
 
  Regards
  Santosh





Re: Vendor-specific error

2013-06-04 Thread Willy Mularto
Hi Santosh,
439 is in hexadecimal, if we convert it to decimal it becomes 1081. Try to find 
this 1081 error means in your telco specific documentation. 


Willy Mularto
sangpr...@gmail.com

On Jun 4, 2013, at 9:05 PM, Michael Bochkaryov mi...@rattler.kiev.ua wrote:

 There is also another possible issue.
 
 SMSC may use different algorithm to calculate the throughput than Kannel use.
 For example SMSC may rely on exact delays between PDUs or check number of 
 messages retrieved during 1 sec since last submit_sm PDU retrieved.
 I've faced such issue couple of years ago and resolved by requesting 
 throughput x 2 on SMSC side.
 
 
 Regards,
 Michael Bochkaryov
 www.rattler.kiev.ua
 
 
 On Tue, Jun 4, 2013 at 4:16 PM, Willy Mularto sangpr...@gmail.com wrote:
 The easiest way is to set log-level to 0 and you can find the human readable 
 status in submit_sm_resp. Refer to it please check your telco's documentation 
 to check it's definition.
 
 
 
 Willy Mularto
 sangpr...@gmail.com
 
 On Jun 4, 2013, at 5:41 PM, Santosh Bhabal sant...@thinkwalnut.com wrote:
 
  Hello Experts,
 
  Getting below error in one of my SMPP connectivity:
 
  SMSC returned error code 0x0439 (Vendor-specific error, please refer to 
  your SMPP provider) in response to submit_sm.
 
  Unable to find any detail on the net.
 
  Please help.
 
  Regards
  Santosh
 
 
 



bearbox/opensmppbox throughput with http smsc

2013-06-04 Thread Azael Gonzalez Plata
Hi kannel users,

Right now I'm testing opensmppbox and it's running correctly, but there is
a problem, the sms seems to be slow to delivery to the smscenter, I have
run some test and it seems that the throughput it is set to 10m/s.

I have the following configuration for the smsc:

group = smsc
smsc = http
system-type = generic
port = 13015
smsc-id = smsc1
send-url = XXX.XXX.XXX
status-success-regex = Sent.
status-permfail-regex = error
status-tempfail-regex = retry later
generic-status-sent = 200
generic-status-error = 404
throughput = 1000

When sending the sms I have seen that there are only 10 connections to the
sms center, it's there a way to grow this value.

Any help is apreciated.

Regards