Re: Routing failed, re-queued and 3: Queued for later delivery

2015-03-18 Thread nilubon . s
Hi Tapan,
Yes,But I still have the same errors.
What wrong with my config? My kannel.conf is below.


#kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = kannel
status-password = kannel
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access_kannel.log
dlr-storage = internal

#--- mysql connection
group = mysql-connection
id = mydlr
host = 127.0.0.1
username = kannel
password = kannel
database = kannelDb
max-connections = 1

# DLR table structure
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = timstamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id

group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#global-sender = 1000
log-file = /var/log/kannel/smsbox.log
log-level = 0
mo-recode = true

group = smsbox-route
smsbox-id = smsbox1
smsc-id = FAKE

group = smsc
smsc = fake
smsc-id=FAKE
port = 2
connect-allow-ip = 127.0.0.1

group = sendsms-user
username = admin
password = kannel
default-smsc = FAKE
default-sender = '1000'

group = sms-service
keyword = nop
text = You asked nothing and I did it!

group = sms-service
keyword = default
text = No service specified

And this is my log of bearerbox.

2015-03-18 23:13:26 [5037] [0] ERROR: Error while gw_gethostbyname occurs.
2015-03-18 23:13:26 [5037] [0] ERROR: System error 1: Operation not permitted
2015-03-18 23:13:26 [5037] [0] ERROR: Can't find out official hostname for
this host, using `l44830.china.huawei.com' instead.
2015-03-18 23:13:26 [5037] [0] INFO: Debug_lvl = 0, log_file = none,
log_lvl = 0
2015-03-18 23:13:26 [5037] [0] INFO: DLR using storage type: internal
2015-03-18 23:13:26 [5037] [0] DEBUG: Kannel bearerbox version `1.4.4'.
Build `Mar  2 2015 17:23:17', compiler `4.4.7 20120313 (Red Hat 4.4.7-11)'.
System Linux, release 2.6.32-431.el6.x86_64, version #1 SMP Fri Nov 22
03:15:09 UTC 2013, machine x86_64.
Hostname l44830.china.huawei.com, IP 127.0.0.1.
Libxml version 2.7.6.
Using OpenSSL 1.0.1e-fips 11 Feb 2013.
Using native malloc.

2015-03-18 23:13:26 [5037] [0] INFO: Added logfile
`/var/log/kannel/kannel.log' with level `0'.
2015-03-18 23:13:26 [5037] [0] INFO: Started access logfile
`/var/log/kannel/access_kannel.log'.
2015-03-18 23:13:26 [5037] [0] INFO: HTTP: Opening server at port 13000.
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2015-03-18 23:13:26 [5037] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 5037.
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2015-03-18 23:13:26 [5037] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 5037.
2015-03-18 23:13:26 [5037] [2] DEBUG: HTTP: Including port 13000, fd 10
for polling in server thread
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2015-03-18 23:13:26 [5037] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 5037.
2015-03-18 23:13:26 [5037] [0] DEBUG: starting smsbox connection module
2015-03-18 23:13:26 [5037] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2015-03-18 23:13:26 [5037] [0] DEBUG: Adding smsbox routing to id
smsbox1 for smsc id FAKE
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2015-03-18 23:13:26 [5037] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 5037.
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2015-03-18 23:13:26 [5037] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 5037.
2015-03-18 23:13:26 [5037] [0] INFO: Set SMS resend frequency to 60 seconds.
2015-03-18 23:13:26 [5037] [0] INFO: SMS resend retry set to unlimited.
2015-03-18 23:13:26 [5037] [0] DEBUG: MO concatenated message handling
enabled
2015-03-18 23:13:26 [5037] [0] INFO: DLR rerouting for smsc id FAKE
disabled.
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 6
(gw/smsc/smsc_fake.c:fake_listener)
2015-03-18 23:13:26 [5037] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2015-03-18 23:13:26 [5037] [0] INFO: 
2015-03-18 23:13:26 [5037] [0] INFO: Kannel bearerbox II version 1.4.4
starting
2015-03-18 23:13:26 [5037] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 5037.
2015-03-18 23:13:26 [5037] [0] INFO: MAIN: Start-up done, entering mainloop
2015-03-18 23:13:26 [5037] [6] DEBUG: Thread 6
(gw/smsc/smsc_fake.c:fake_listener) maps to pid 5037.
2015-03-18 23:13:26 [5037] [0] DEBUG: smsc_fake: start called
2015-03-18 23:13:36 [5037] [5] INFO: Client connected from 127.0.0.1
2015-03-18 23:13:36 [5037] [5] DEBUG: Started thread 8
(gw/bb_boxc.c:function)
2015-03-18 23:13:36 [5037] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function)
maps to pid 5037.
2015-03-18 23:13:36 [5037] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender)
maps to pid 5037.

sms-service group is mandatory ??

2015-03-18 Thread Ajay Patel
Hi All,

 

I have read many places that there should be 1 default sms-service group
required even if you are configured kannel to sending message only.

Can anyone let me know why so ?

 

one of my env. I have received below message. Can anyone tell me what is the
significance of this message.

Is it because of I have not specified any sms-service group ??

 

2015-03-17 10:22:25 [30924] [4] WARNING: No translation found for QN from
+xxx to 613

2015-03-17 10:22:25 [30924] [4] ERROR: request failed

 

Thanks,

Ajay Patel

 



RE:Routing failed, re-queued and 3: Queued for later delivery

2015-03-18 Thread Nilubon Soonthon
 

Hi,

I tried it, but I still have the same errors.

Sometimes I think the problems are caused by configuration of SMPPSim (My SMSC 
simulation). Is that possible?

 

Thanks  Regards

Nilubon Soonthon

From: Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com] 
Sent: Thursday, March 12, 2015 11:43 AM
To: Nilubon Soonthon
Subject: Re: Routing failed, re-queued and 3: Queued for later delivery

 

Although url seems ok but can you try below and see if its resolves your issue.

http://localhost:13013/cgi-bin/sendsms?username=admin 
http://localhost:13013/cgi-bin/sendsms?username=adminpassword=kannelto=0123456789from=text=testmessage
 password=kannelto=0123456789from=text=testmessagesmsc=SMPPSim

 

On Thu, Mar 12, 2015 at 9:51 AM, Nilubon Soonthon nilubo...@jasmine.com wrote:

This my URL that I use to send sms.

 

http://localhost:13013/cgi-bin/sendsms?username=admin 
http://localhost:13013/cgi-bin/sendsms?username=adminpassword=kannelto=0123456789from=text=testmessage
 password=kannelto=0123456789from=text=testmessage

 

 

From: Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com] 
Sent: Thursday, March 12, 2015 11:06 AM
To: Nilubon Soonthon
Cc: Alvaro Cornejo; users@kannel.org


Subject: Re: Routing failed, re-queued and 3: Queued for later delivery

 

Can you post here the complete sendsms url being invoked by playsms?

 

On Thu, Mar 12, 2015 at 8:49 AM, Nilubon Soonthon nilubo...@jasmine.com wrote:

Hi Alvano,

 

Sure, This is my smsc logs when I started bearerbox.

 

2015.03.11 19:59:48 672 INFO16 : BIND_RECEIVER:

2015.03.11 19:59:48 672 INFO16 Hex dump (44) bytes:

2015.03.11 19:59:48 672 INFO16 002C:0001::0001:

2015.03.11 19:59:48 673 INFO16 736D7070:636C6965:6E743100:31323334:

2015.03.11 19:59:48 673 INFO16 35002756:4D412700:3400:

2015.03.11 19:59:48 673 INFO16 
cmd_len=44,cmd_id=1,cmd_status=0,seq_no=1,system_id=smppclient1,password=12345

2015.03.11 19:59:48 673 INFO16 
system_type='VMA',interface_version=52,addr_ton=0,addr_npi=0,address_range=

2015.03.11 19:59:48 674 INFO16

2015.03.11 19:59:48 674 INFO16 StandardProtocolHandler: setting address 
range to

2015.03.11 19:59:48 674 INFO16 New receiver session bound to SMPPSim

2015.03.11 19:59:48 674 INFO16 : BIND_RECEIVER_RESP:

2015.03.11 19:59:48 674 INFO16 Hex dump (24) bytes:

2015.03.11 19:59:48 675 INFO16 0018:8001::0001:

2015.03.11 19:59:48 675 INFO16 534D5050:53696D00:

2015.03.11 19:59:48 675 INFO16 
cmd_len=0,cmd_id=-2147483647,cmd_status=0,seq_no=1,system_id=SMPPSim

2015.03.11 19:59:48 675 INFO16

2015.03.11 19:59:48 676 INFO16 2 receivers connected and bound

2015.03.11 19:59:48 676 INFO20 InboundQueue: empty  - waiting

2015.03.11 20:00:17 59  INFO17 : ENQUIRE_LINK:

2015.03.11 20:00:17 60  INFO17 Hex dump (16) bytes:

2015.03.11 20:00:17 60  INFO17 0010:0015::000E:

2015.03.11 20:00:17 60  INFO17

2015.03.11 20:00:17 60  INFO17 cmd_len=16,cmd_id=21,cmd_status=0,seq_no=14

2015.03.11 20:00:17 60  INFO17

2015.03.11 20:00:17 60  INFO17 :ENQUIRE_LINK_RESP:

2015.03.11 20:00:17 61  INFO17 Hex dump (16) bytes:

2015.03.11 20:00:17 64  INFO17 0010:8015::000E:

2015.03.11 20:00:17 64  INFO17

2015.03.11 20:00:17 65  INFO17 
cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=14

2015.03.11 20:00:17 65  INFO17

2015.03.11 20:00:17 214 INFO18 : ENQUIRE_LINK:

2015.03.11 20:00:17 215 INFO18 Hex dump (16) bytes:

2015.03.11 20:00:17 215 INFO18 0010:0015::000E:

2015.03.11 20:00:17 215 INFO18

2015.03.11 20:00:17 215 INFO18 cmd_len=16,cmd_id=21,cmd_status=0,seq_no=14

2015.03.11 20:00:17 216 INFO18

2015.03.11 20:00:17 216 INFO18 :ENQUIRE_LINK_RESP:

2015.03.11 20:00:17 216 INFO18 Hex dump (16) bytes:

2015.03.11 20:00:17 216 INFO18 0010:8015::000E:

2015.03.11 20:00:17 216 INFO18

2015.03.11 20:00:17 216 INFO18 
cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=14

 

And this is my smsbox logs when I send SMS via URL.

 

2015-03-12 17:12:56 [3907] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.

2015-03-12 17:12:56 [3907] [2] DEBUG: HTTP: Created HTTPClient area 
0x7fea28000ad0.

2015-03-12 17:12:56 [3907] [3] INFO: smsbox: Got HTTP request 
/cgi-bin/sendsms from 127.0.0.1

2015-03-12 17:12:56 [3907] [3] INFO: sendsms used by admin

2015-03-12 17:12:56 [3907] [3] INFO: sendsms sender:admin: (127.0.0.1) 
to:0123456789 msg:testmessage

2015-03-12 17:12:56 [3907] [3] DEBUG: Stored UUID 
71659f2c-a479-4c07-a56f-5e9db4293ad8

2015-03-12 17:12:56 [3907] [3] DEBUG: message length 11, sending 1 messages

2015-03-12 17:12:56 [3907] [3] DEBUG: Status: 202 Answer: Sent.

2015-03-12 17:12:56 [3907] [3] DEBUG: Delayed reply - wait for bearerbox

2015-03-12 17:12:56 [3907] [0] DEBUG: Got ACK (3) of 
71659f2c-a479-4c07-a56f-5e9db4293ad8

Re: Routing failed, re-queued and 3: Queued for later delivery

2015-03-18 Thread Tapan Kumar Thapa
Hi Nilubon,

Can you use Fakesmsc as simulation provided by Kannel itself?

On Wed, Mar 18, 2015 at 12:34 PM, Nilubon Soonthon nilubo...@jasmine.com
wrote:



 Hi,

 I tried it, but I still have the same errors.

 Sometimes I think the problems are caused by configuration of SMPPSim (My
 SMSC simulation). Is that possible?



 Thanks  Regards

 Nilubon Soonthon

 *From:* Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com]
 *Sent:* Thursday, March 12, 2015 11:43 AM
 *To:* Nilubon Soonthon
 *Subject:* Re: Routing failed, re-queued and 3: Queued for later delivery



 Although url seems ok but can you try below and see if its resolves your
 issue.


 http://localhost:13013/cgi-bin/sendsms?username=adminpassword=kannelto=0123456789from=text=testmessage
 smsc=SMPPSim



 On Thu, Mar 12, 2015 at 9:51 AM, Nilubon Soonthon nilubo...@jasmine.com
 wrote:

 This my URL that I use to send sms.




 http://localhost:13013/cgi-bin/sendsms?username=adminpassword=kannelto=0123456789from=text=testmessage





 *From:* Tapan Kumar Thapa [mailto:tapan.thapa2...@gmail.com]
 *Sent:* Thursday, March 12, 2015 11:06 AM
 *To:* Nilubon Soonthon
 *Cc:* Alvaro Cornejo; users@kannel.org


 *Subject:* Re: Routing failed, re-queued and 3: Queued for later delivery



 Can you post here the complete sendsms url being invoked by playsms?



 On Thu, Mar 12, 2015 at 8:49 AM, Nilubon Soonthon nilubo...@jasmine.com
 wrote:

 Hi Alvano,



 Sure, This is my smsc logs when I started bearerbox.



 2015.03.11 19:59:48 672 INFO16 : BIND_RECEIVER:

 2015.03.11 19:59:48 672 INFO16 Hex dump (44) bytes:

 2015.03.11 19:59:48 672 INFO16 002C:0001::0001:

 2015.03.11 19:59:48 673 INFO16 736D7070:636C6965:6E743100:31323334:

 2015.03.11 19:59:48 673 INFO16 35002756:4D412700:3400:

 2015.03.11 19:59:48 673 INFO16
 cmd_len=44,cmd_id=1,cmd_status=0,seq_no=1,system_id=smppclient1,password=12345

 2015.03.11 19:59:48 673 INFO16
 system_type='VMA',interface_version=52,addr_ton=0,addr_npi=0,address_range=

 2015.03.11 19:59:48 674 INFO16

 2015.03.11 19:59:48 674 INFO16 StandardProtocolHandler: setting
 address range to

 2015.03.11 19:59:48 674 INFO16 New receiver session bound to SMPPSim

 2015.03.11 19:59:48 674 INFO16 : BIND_RECEIVER_RESP:

 2015.03.11 19:59:48 674 INFO16 Hex dump (24) bytes:

 2015.03.11 19:59:48 675 INFO16 0018:8001::0001:

 2015.03.11 19:59:48 675 INFO16 534D5050:53696D00:

 2015.03.11 19:59:48 675 INFO16
 cmd_len=0,cmd_id=-2147483647,cmd_status=0,seq_no=1,system_id=SMPPSim

 2015.03.11 19:59:48 675 INFO16

 2015.03.11 19:59:48 676 INFO16 2 receivers connected and bound

 2015.03.11 19:59:48 676 INFO20 InboundQueue: empty  - waiting

 2015.03.11 20:00:17 59  INFO17 : ENQUIRE_LINK:

 2015.03.11 20:00:17 60  INFO17 Hex dump (16) bytes:

 2015.03.11 20:00:17 60  INFO17 0010:0015::000E:

 2015.03.11 20:00:17 60  INFO17

 2015.03.11 20:00:17 60  INFO17
 cmd_len=16,cmd_id=21,cmd_status=0,seq_no=14

 2015.03.11 20:00:17 60  INFO17

 2015.03.11 20:00:17 60  INFO17 :ENQUIRE_LINK_RESP:

 2015.03.11 20:00:17 61  INFO17 Hex dump (16) bytes:

 2015.03.11 20:00:17 64  INFO17 0010:8015::000E:

 2015.03.11 20:00:17 64  INFO17

 2015.03.11 20:00:17 65  INFO17
 cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=14

 2015.03.11 20:00:17 65  INFO17

 2015.03.11 20:00:17 214 INFO18 : ENQUIRE_LINK:

 2015.03.11 20:00:17 215 INFO18 Hex dump (16) bytes:

 2015.03.11 20:00:17 215 INFO18 0010:0015::000E:

 2015.03.11 20:00:17 215 INFO18

 2015.03.11 20:00:17 215 INFO18
 cmd_len=16,cmd_id=21,cmd_status=0,seq_no=14

 2015.03.11 20:00:17 216 INFO18

 2015.03.11 20:00:17 216 INFO18 :ENQUIRE_LINK_RESP:

 2015.03.11 20:00:17 216 INFO18 Hex dump (16) bytes:

 2015.03.11 20:00:17 216 INFO18 0010:8015::000E:

 2015.03.11 20:00:17 216 INFO18

 2015.03.11 20:00:17 216 INFO18
 cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=14



 And this is my smsbox logs when I send SMS via URL.



 2015-03-12 17:12:56 [3907] [2] DEBUG: HTTP: Creating HTTPClient for
 `127.0.0.1'.

 2015-03-12 17:12:56 [3907] [2] DEBUG: HTTP: Created HTTPClient area
 0x7fea28000ad0.

 2015-03-12 17:12:56 [3907] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 127.0.0.1

 2015-03-12 17:12:56 [3907] [3] INFO: sendsms used by admin

 2015-03-12 17:12:56 [3907] [3] INFO: sendsms sender:admin:
 (127.0.0.1) to:0123456789 msg:testmessage

 2015-03-12 17:12:56 [3907] [3] DEBUG: Stored UUID
 71659f2c-a479-4c07-a56f-5e9db4293ad8

 2015-03-12 17:12:56 [3907] [3] DEBUG: message length 11, sending 1 messages

 2015-03-12 17:12:56 [3907] [3] DEBUG: Status: 202 Answer: Sent.

 2015-03-12 17:12:56 [3907] [3] DEBUG: Delayed reply - wait for bearerbox

 2015-03-12 17:12:56 [3907] [0] DEBUG: Got ACK (3) of
 

unsubscribe

2015-03-18 Thread Marius Erasmus
unsubscribe



RE: unsubscribe

2015-03-18 Thread Mohammadjavad Shayesteh Nezhad [ MTNIrancell - NWG ]
please


[MTNIrancell Mail Disclaimer available at: 
http://www.irancell.ir/maildisclaimer]

From: users [mailto:users-boun...@kannel.org] On Behalf Of Marius Erasmus
Sent: Wednesday, March 18, 2015 10:44 AM
To: users@kannel.org
Cc: de...@smss.co.za
Subject: unsubscribe

unsubscribe


How to receive messages from mobile terminal to my kannel?

2015-03-18 Thread nilubon . s
Hi,
I have a question about kannel.

How to receives message from SMSC to my Kannel. such as I send message via
Kannel to SMSC of mobile operator. How mobile terminal reply message to
me?

Can I use Kannel to simulation a SMSC and test send messages between 2
Kannel?


ThanksRegards
Nilubon Soonthon




multiple smsbox]

2015-03-18 Thread nilubon . s

Hi,

How to setup 2 smsboxes that connected to the 1 bearerbox on Centos 5?

I don't have any Idea.



ThanksRegards

Nilubon Soonthon

Hi,How to setup 2 smsboxes that connected to the 1 bearerbox on Centos 5?I dont have any Idea.ThanksRegardsNilubon Soonthon

multiple smsbox

2015-03-18 Thread Nilubon Soonthon
Hi,

How to setup 2 smsboxes that connected to the 1 bearerbox on Centos 5?

I don't have any Idea.

 

ThanksRegards

Nilubon Soonthon