Hi Alvaro,

 

In line.

 

BR

 

Freundliche Grüsse

Javier Escalante

00 41 78 689 85 69

escalant...@gmail.com

 

From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: 16 June 2015 18:11
To: escalant...@gmail.com
Cc: users
Subject: Re: Routing failed, reqeued

 

Hi Javier

 

The error means kannel can not find/is unavailable a route (smsc) to which send 
the sms.

 

This could means you have an error in either the default route, you have 
specified a wrong smsc-id on your call to smsbox or the smsc to which the 
messages are routed are down.

 

How do you feed messages to kannel? I try it from explorer with this line 
http://192.168.10.59:13013/cgi-bin/sendsms?username=test&password=test&from=+41xxx898569&to=+41xxx209856&text=testing

What do you get on the admin interface? your smsc's are connected and online? 
If the modem is the smsc, yes, I can send sms from minicom, furthermore, I have 
tried also with another modem which is working in a sms gateway.

What do you have on your modem log? Where is it, I cannot find it.

 

SMSbox

 

sudo smsbox -v 0 kannel.conf

2015-06-17 01:54:52 [9406] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl 
=                                        0

2015-06-17 01:54:52 [9406] [0] DEBUG: Loading include file 
`/etc/kannel/modems.c                                       onf' (on line 8 of 
file kannel.conf).

2015-06-17 01:54:52 [9406] [0] DEBUG: Kannel smsbox version `1.4.3'.

Build `May  1 2012 20:59:53', compiler `4.6.3'.

System Linux, release 3.18.11+, version #781 PREEMPT Tue Apr 21 18:02:18 BST 
201                                       5, machine armv6l.

Hostname raspberrypi, IP 127.0.1.1.

Libxml version 2.7.8.

Using OpenSSL 1.0.1 14 Mar 2012.

Compiled with MySQL 5.1.61, using MySQL 5.1.62.

Using SQLite 3.7.11.

Using native malloc.

 

2015-06-17 01:54:52 [9406] [0] INFO: Starting to log to file 
/var/log/kannel/sms                                       box.log level 0

2015-06-17 01:54:52 [9406] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' 
                                       with level `0'.

2015-06-17 01:54:52 [9406] [0] INFO: Service global sender set as '13014'

2015-06-17 01:54:52 [9406] [0] INFO: Logging accesses to 
'/var/log/kannel/access                                       .log'.

2015-06-17 01:54:52 [9406] [0] INFO: Started access logfile 
`/var/log/kannel/acc                                       ess.log'.

2015-06-17 01:54:52 [9406] [0] INFO: HTTP: Opening server at port 13013.

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thre                                       ad)

2015-06-17 01:54:52 [9406] [0] INFO: Set up send sms service at port 13013

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 3 
(gw/smsbox.c:sendsms_thre                                       ad)

2015-06-17 01:54:52 [9406] [0] DEBUG: 
------------------------------------------                                      
 ----

2015-06-17 01:54:52 [9406] [0] DEBUG: Kannel smsbox version 1.4.3 starting

2015-06-17 01:54:52 [9406] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pi                                       d 9406.

2015-06-17 01:54:52 [9406] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps                                        to pid 9406.

2015-06-17 01:54:52 [9406] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) 
maps                                        to pid 9406.

2015-06-17 01:54:52 [9406] [0] DEBUG:   dumping group (sendsms-user):

2015-06-17 01:54:52 [9406] [0] DEBUG:     <group> = <sendsms-user>

2015-06-17 01:54:52 [9406] [0] DEBUG:     <max-messages> = <1000>

2015-06-17 01:54:52 [9406] [0] DEBUG:     <username> = <test>

2015-06-17 01:54:52 [9406] [0] DEBUG:     <concatenation> = <true>

2015-06-17 01:54:52 [9406] [0] DEBUG:     <password> = <test>

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 4 
(gw/smsbox.c:obey_request                                       _thread)

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 5 
(gw/smsbox.c:url_result_t                                       hread)

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 6 
(gw/smsbox.c:http_queue_t                                       hread)

2015-06-17 01:54:52 [9406] [4] DEBUG: Thread 4 
(gw/smsbox.c:obey_request_thread)                                        maps 
to pid 9406.

2015-06-17 01:54:52 [9406] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) 
m                                       aps to pid 9406.

2015-06-17 01:54:52 [9406] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) 
m                                       aps to pid 9406.

2015-06-17 01:54:52 [9406] [0] INFO: Connected to bearerbox at 127.0.0.1 port 
13                                       001.

2015-06-17 01:54:52 [9406] [0] DEBUG: Started thread 7 
(gw/heartbeat.c:heartbeat                                       _thread)

2015-06-17 01:54:52 [9406] [7] DEBUG: Thread 7 
(gw/heartbeat.c:heartbeat_thread)                                        maps 
to pid 9406.

 

 

 

Bearbox

 

sudo bearerbox -v 0 kannel.conf

2015-06-17 01:57:37 [10414] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl 
= 0

2015-06-17 01:57:37 [10414] [0] DEBUG: Loading include file 
`/etc/kannel/modems.conf' (on line 8 of file kannel.conf).

2015-06-17 01:57:37 [10414] [0] WARNING: DLR: using default 'internal' for 
storage type.

2015-06-17 01:57:37 [10414] [0] INFO: DLR using storage type: internal

2015-06-17 01:57:37 [10414] [0] DEBUG: Kannel bearerbox version `1.4.3'.

Build `May  1 2012 20:59:53', compiler `4.6.3'.

System Linux, release 3.18.11+, version #781 PREEMPT Tue Apr 21 18:02:18 BST 
2015, machine armv6l.

Hostname raspberrypi, IP 127.0.1.1.

Libxml version 2.7.8.

Using OpenSSL 1.0.1 14 Mar 2012.

Compiled with MySQL 5.1.61, using MySQL 5.1.62.

Using SQLite 3.7.11.

Using native malloc.

 

2015-06-17 01:57:37 [10414] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `0'.

2015-06-17 01:57:37 [10414] [0] INFO: HTTP: Opening server at port 13000.

2015-06-17 01:57:37 [10414] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)

2015-06-17 01:57:37 [10414] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)

2015-06-17 01:57:37 [10414] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)

2015-06-17 01:57:37 [10414] [0] DEBUG: starting smsbox connection module

2015-06-17 01:57:37 [10414] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).

2015-06-17 01:57:37 [10414] [0] DEBUG: Adding smsbox routing to id <smsc1> for 
smsc id <huawei>

2015-06-17 01:57:37 [10414] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)

2015-06-17 01:57:37 [10414] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 10414.

2015-06-17 01:57:37 [10414] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 10414.

2015-06-17 01:57:37 [10414] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 10414.

2015-06-17 01:57:38 [10414] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)

2015-06-17 01:57:38 [10414] [0] INFO: Set SMS resend frequency to 60 seconds.

2015-06-17 01:57:38 [10414] [0] INFO: SMS resend retry set to 1.

2015-06-17 01:57:38 [10414] [0] DEBUG: smsbox MO concatenated message handling 
enabled

2015-06-17 01:57:38 [10414] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 10414.

2015-06-17 01:57:38 [10414] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 10414.

2015-06-17 01:57:38 [10414] [0] INFO: DLR rerouting for smsc id <huawei> 
disabled.

2015-06-17 01:57:38 [10414] [0] INFO: Added logfile `/tmp/core.log' with level 
`0'.

2015-06-17 01:57:38 [10414] [0] INFO: AT2[huawei]: configuration shows 
modemtype <huawei>

2015-06-17 01:57:38 [10414] [0] DEBUG: AT2[huawei]: Reading modem definitions 
from <kannel.conf>

2015-06-17 01:57:38 [10414] [0] DEBUG: Loading include file 
`/etc/kannel/modems.conf' (on line 8 of file kannel.conf).

2015-06-17 01:57:38 [10414] [0] DEBUG: AT2[huawei]: Found <16> modems in config

2015-06-17 01:57:38 [10414] [0] INFO: AT2[huawei]: read modem definition for 
<huawei>

2015-06-17 01:57:38 [10414] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)

2015-06-17 01:57:38 [10414] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router)

2015-06-17 01:57:38 [10414] [0] INFO: ----------------------------------------

2015-06-17 01:57:38 [10414] [0] INFO: Kannel bearerbox II version 1.4.3 starting

2015-06-17 01:57:38 [10414] [0] INFO: MAIN: Start-up done, entering mainloop

2015-06-17 01:57:38 [10414] [0] DEBUG: AT2[huawei]: start called

2015-06-17 01:57:38 [10414] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 10414.

2015-06-17 01:57:38 [10414] [6] INFO: Logging thread `6' to logfile 
`/tmp/core.log' with level `0'.

2015-06-17 01:57:38 [10414] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 10414.

2015-06-17 01:57:53 [10414] [5] INFO: Client connected from <127.0.0.1>

2015-06-17 01:57:53 [10414] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)

2015-06-17 01:57:53 [10414] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to 
pid 10414.

2015-06-17 01:57:53 [10414] [8] DEBUG: Started thread 9 
(gw/bb_boxc.c:boxc_sender)

2015-06-17 01:57:53 [10414] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps 
to pid 10414.

2015-06-17 01:57:53 [10414] [8] DEBUG: boxc_receiver: got boxc_id <smsc1> from 
<127.0.0.1>

 

 

 

Regards

 

Alvaro




|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular 
y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y 
GPRS online
              Visitenos en  <http://www.perusms.com> www.perusms.com 

 

On Tue, Jun 16, 2015 at 10:36 AM, <escalant...@gmail.com 
<mailto:escalant...@gmail.com> > wrote:

Hello Alvaro,

 

Sorry, I do not understand what you want…could you please specify?

 

BR

 

Freundliche Grüsse

Javier Escalante

00 41 78 689 85 69

 <mailto:escalant...@gmail.com> escalant...@gmail.com

 

From: Alvaro Cornejo [mailto: <mailto:cornejo.alv...@gmail.com> 
cornejo.alv...@gmail.com] 
Sent: 16 June 2015 16:37
To:  <mailto:escalant...@gmail.com> escalant...@gmail.com
Cc: users
Subject: Re: Routing failed, reqeued

 

Hi 

 

Can you post how are you feeding messages to kannel?

 

You should define a default route or specify it on your call to smsbox.

 

Regards

 

Alvaro




|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular 
y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y 
GPRS online
              Visitenos en  <http://www.perusms.com> www.perusms.com 

 

On Mon, Jun 15, 2015 at 7:40 PM, <escalant...@gmail.com 
<mailto:escalant...@gmail.com> > wrote:

 

Hello,

 

My USB modem is working and sending messages with minicom, but it’s impossible 
for me to get rid of the above message and send sms from Kannel. Caould yoou 
please give me a clue?

 

Thanks

 

BR

 

Config attached.

 

 

Freundliche Grüsse

Javier Escalante

00 41 78 689 85 69

 <mailto:escalant...@gmail.com> escalant...@gmail.com

 

 

 

Reply via email to