To send messages via smpp, you don't need opensmppbox.

Just insert an entry in the send_sms table of sqlbox. If you fill in the
proper values, the message gets sent.

 

== Rene

 

 

From: Michael van der Poel [mailto:movdp...@gmail.com] 
Sent: Wednesday, 29 June, 2011 06:59
To: Rene Kluwen; users@kannel.org
Subject: Re: Problem configuring opensmppbox

 

Well, I have cleaned up the opensmpp config file (I hope):

group = core dlr-storage = internal

group = opensmppbox opensmppbox-id = smppbox opensmppbox-port = 10000
bearerbox-host = localhost bearerbox-port = 13005 log-level = 0 log-file =
/var/log/kannel/opensmppbox.log our-system-id = opensmppid route-to-smsc =
smpp-SMSC smpp-logins = "/usr/local/kannel.1.5/smpplogins.txt"

This should now correspond with the below SMSC values in the kannel config
file:

group = smsc smsc = smpp smsc-id = smpp- SMSC host = msg1. SMSC.com port =
8000 receive-port = 8000 transceiver-mode = false throughput = 10
smsc-username = USERNAME smsc-password = PASSWORD system-type = USERNAME
dest-addr-ton=1 log-file = "/var/log/kannel/smpp- SMSC.log" log-level = 0
msg-id-type=0x01 enquire-link-interval = 30

And with the values in smpplogins.txt: USERNAME PASSWORD USERNAME *.*.*.*

But opensmpp log shows that there is no record of 2 messages being sent: 

2011-06-29 03:19:27 [11361] [0] INFO: Added logfile
`/var/log/kannel/opensmppbox.log' with level `0'. 2011-06-29 03:19:27
[11361] [0] INFO: Waiting for SMPP connections on port 10000.

whereas the bearerbox log shows those 2 messages being sent and
acknowledged:

2011-06-29 03:27:25 [11312] [9] DEBUG: boxc_receiver: sms received
2011-06-29 03:27:25 [11312] [9] DEBUG: send_msg: sending msg to boxc:
<sqlbox> 2011-06-29 03:27:25 [11312] [10] DEBUG: send_msg: sending msg to
boxc: <sqlbox> 2011-06-29 03:27:25 [11312] [10] DEBUG: boxc_sender: sent
message to <127.0.0.1> 2011-06-29 03:27:25 [11312] [9] DEBUG: boxc_receiver:
got ack 2011-06-29 03:33:45 [11312] [9] DEBUG: boxc_receiver: sms received
2011-06-29 03:33:45 [11312] [9] DEBUG: send_msg: sending msg to boxc:
<sqlbox> 2011-06-29 03:33:45 [11312] [10] DEBUG: send_msg: sending msg to
boxc: <sqlbox> 2011-06-29 03:33:45 [11312] [10] DEBUG: boxc_sender: sent
message to <127.0.0.1> 2011-06-29 03:33:45 [11312] [9] DEBUG: boxc_receiver:
got ack

I am running out of ideas. Any suggestions are most welcome!


Michael



Reply via email to