Sending SMS from HTTP

2010-07-27 Thread lists
Hi,

Am new to this kannel business, was able to configure kannel to receive
sms but am having the following errors when sending out from a http call

2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for message
to 25472580770, rejected.
2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox, no
router!

group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
sendsms-chars = 0123456789 +-
global-sender = 254717848xxx
log-level = 0
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/smsbox-access.log

Regards,
Eliud




Re: Sending SMS from HTTP

2010-07-27 Thread brett skinner
Hi

Can you also send the URL that you used and the logs from the bearerbox and
the smsbox

On Tue, Jul 27, 2010 at 1:01 PM, li...@eliud.co.cc wrote:

 Hi,

 Am new to this kannel business, was able to configure kannel to receive
 sms but am having the following errors when sending out from a http call

 2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
 2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for message
 to 25472580770, rejected.
 2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox, no
 router!

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13003
 sendsms-chars = 0123456789 +-
 global-sender = 254717848xxx
 log-level = 0
 log-file = /var/log/kannel/smsbox.log
 access-log = /var/log/kannel/smsbox-access.log

 Regards,
 Eliud





Re: Sending SMS from HTTP

2010-07-27 Thread lists
Hi Brett,

Find below the url and the logs

url =
http://localhost:13003/cgi-bin/sendsms?username=adminpassword=kingsxxxto=25472580xxxtext=test
sms 1

bearerbox
--
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS=sm^M
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
0,20,0,20,0,20
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:10:34 [5656] [6] INFO: AT2[huawei_e160]: AT SMSC
successfully opened.
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:11:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for message
to 25472580770, rejected.
2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox, no
router!
2010-07-27 14:11:31 [5656] [16] DEBUG: send_msg: sending msg to box:
127.0.0.1
2010-07-27 14:11:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:12:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:12:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:13:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:13:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK

smsbox log
---
2010-07-27 14:54:08 [5677] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 127.0.0.1
2010-07-27 14:54:08 [5677] [3] INFO: sendsms used by admin
2010-07-27 14:54:08 [5677] [3] INFO: sendsms sender:admin:254717848xxx
(127.0.0.1) to:25472580xxx msg:Thanks for reppin. Kings SMS.
2010-07-27 14:54:08 [5677] [3] DEBUG: Stored UUID
b2114636-c178-433f-891d-4f76a2c568e3
2010-07-27 14:54:08 [5677] [3] DEBUG: message length 29, sending 1
messages
2010-07-27 14:54:08 [5677] [3] DEBUG: Status: 202 Answer: Sent.
2010-07-27 14:54:08 [5677] [3] DEBUG: Delayed reply - wait for bearerbox
2010-07-27 14:54:08 [5677] [0] DEBUG: Got ACK (1) of
b2114636-c178-433f-891d-4f76a2c568e3
2010-07-27 14:54:08 [5677] [0] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2010-07-27 14:54:08 [5677] [1] DEBUG: HTTP: Destroying HTTPClient area
0x17e4dc0.
2010-07-27 14:54:08 [5677] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.

Regards,
Eliud

On Tue, 27 Jul 2010 13:49:06 +0200, brett skinner
tatty.dishcl...@gmail.com wrote:
 Hi
 
 Can you also send the URL that you were using.
 
 On Tue, Jul 27, 2010 at 1:01 PM, li...@eliud.co.cc wrote:
 
 Hi,

 Am new to this kannel business, was able to configure kannel to receive
 sms but am having the following errors when sending out from a http
call

 2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
 2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for
message
 to 25472580770, rejected.
 2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox,
 no
 router!

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13003
 sendsms-chars = 0123456789 +-
 global-sender = 254717848xxx
 log-level = 0
 log-file = /var/log/kannel/smsbox.log
 access-log = /var/log/kannel/smsbox-access.log

 Regards,
 Eliud







Re: Sending SMS from HTTP

2010-07-27 Thread brett skinner
Hi

Where is the configuration for your smsc? I see you don't have something
like

group = smsc
smsc = smpp
.
.
.
etc etc

On Tue, Jul 27, 2010 at 1:15 PM, li...@eliud.co.cc wrote:

 Hi Brett,

 Find below the url and the logs

 url =

 http://localhost:13003/cgi-bin/sendsms?username=adminpassword=kingsxxxto=25472580xxxtext=test
 sms 1

 bearerbox
 --
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS=sm^M
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 0,20,0,20,0,20
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:10:34 [5656] [6] INFO: AT2[huawei_e160]: AT SMSC
 successfully opened.
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:11:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
 2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for message
 to 25472580770, rejected.
 2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox, no
 router!
 2010-07-27 14:11:31 [5656] [16] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2010-07-27 14:11:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:12:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:12:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:13:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:13:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK

 smsbox log
 ---
 2010-07-27 14:54:08 [5677] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 127.0.0.1
 2010-07-27 14:54:08 [5677] [3] INFO: sendsms used by admin
 2010-07-27 14:54:08 [5677] [3] INFO: sendsms sender:admin:254717848xxx
 (127.0.0.1) to:25472580xxx msg:Thanks for reppin. Kings SMS.
 2010-07-27 14:54:08 [5677] [3] DEBUG: Stored UUID
 b2114636-c178-433f-891d-4f76a2c568e3
 2010-07-27 14:54:08 [5677] [3] DEBUG: message length 29, sending 1
 messages
 2010-07-27 14:54:08 [5677] [3] DEBUG: Status: 202 Answer: Sent.
 2010-07-27 14:54:08 [5677] [3] DEBUG: Delayed reply - wait for bearerbox
 2010-07-27 14:54:08 [5677] [0] DEBUG: Got ACK (1) of
 b2114636-c178-433f-891d-4f76a2c568e3
 2010-07-27 14:54:08 [5677] [0] DEBUG: HTTP: Resetting HTTPClient for
 `127.0.0.1'.
 2010-07-27 14:54:08 [5677] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x17e4dc0.
 2010-07-27 14:54:08 [5677] [1] DEBUG: HTTP: Destroying HTTPClient for
 `127.0.0.1'.

 Regards,
 Eliud

 On Tue, 27 Jul 2010 13:49:06 +0200, brett skinner
 tatty.dishcl...@gmail.com wrote:
  Hi
 
  Can you also send the URL that you were using.
 
  On Tue, Jul 27, 2010 at 1:01 PM, li...@eliud.co.cc wrote:
 
  Hi,
 
  Am new to this kannel business, was able to configure kannel to receive
  sms but am having the following errors when sending out from a http
 call
 
  2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
  2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for
 message
  to 25472580770, rejected.
  2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox,
  no
  router!
 
  group = smsbox
  bearerbox-host = localhost
  sendsms-port = 13003
  sendsms-chars = 0123456789 +-
  global-sender = 254717848xxx
  log-level = 0
  log-file = /var/log/kannel/smsbox.log
  access-log = /var/log/kannel/smsbox-access.log
 
  Regards,
  Eliud
 
 
 




Re: Sending SMS from HTTP

2010-07-27 Thread lists
This is my kannel.conf

group = core
admin-port = 13000
admin-password = kings
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
wapbox-port = 13002
smsbox-port = 13013
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
unified-prefix = +254,00254,0
#store-type = spool
#store-location = /var/spool/kannel
#dlr-storage = internal
access-log = /var/log/kannel/core-access.log
access-log-clean = true

group = wapbox
bearerbox-host = localhost
log-file = /var/log/kannel/wapbox.log

group = smsc
smsc = at
sim-buffering = true
smsc-id = huawei_e160
modemtype = huawei_e160
allowed-smsc-id = huawei_e160
device = /dev/ttyUSB1
speed = 9600
my-number = 254717848xxx
pin = 5273
log-level = 0

group = smsbox-route
smsbox-id = huawei_e160
smsc-id = huawei_e160

group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
sendsms-chars = 0123456789 +-
global-sender = 254717848xxx
log-level = 0
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/smsbox-access.log

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

group = sms-service
#keyword = default
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url =
http://localhost/sms/incoming.php?sender=%preceiver=%Pmessage=%amessageid=%c;

include = /usr/share/doc/kannel/examples/modems.conf
-

modems.conf
---
group = modems
id = huawei_e160
name = Huawei E160
detect-string = huawei
init-string = AT+CNMI=2,1,2,2,0
#message-storage = me
message-storage = sm
speed = 460800

On Tue, 27 Jul 2010 14:03:16 +0200, brett skinner
tatty.dishcl...@gmail.com wrote:
 Hi
 
 Where is the configuration for your smsc? I see you don't have something
 like
 
 group = smsc
 smsc = smpp
 .
 .
 .
 etc etc
 
 On Tue, Jul 27, 2010 at 1:15 PM, li...@eliud.co.cc wrote:
 
 Hi Brett,

 Find below the url and the logs

 url =


http://localhost:13003/cgi-bin/sendsms?username=adminpassword=kingsxxxto=25472580xxxtext=test
 sms 1

 bearerbox
 --
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 AT+CPMS=sm^M
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 0,20,0,20,0,20
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:10:34 [5656] [6] INFO: AT2[huawei_e160]: AT SMSC
 successfully opened.
 2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:11:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
 2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for
message
 to 25472580770, rejected.
 2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox,
 no
 router!
 2010-07-27 14:11:31 [5656] [16] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2010-07-27 14:11:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:12:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:12:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
 2010-07-27 14:13:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:13:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
 ^BOOT:34326076,0,0,0,75
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
 SM,0,20,SM,0,20,SM,0,20
 2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK

 smsbox log
 ---
 2010-07-27 14:54:08 [5677] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 127.0.0.1
 2010-07-27 14:54:08 [5677] [3] INFO: sendsms used by admin
 2010-07-27 14:54:08 [5677] [3] INFO: sendsms
sender:admin:254717848xxx
 (127.0.0.1) to:25472580xxx msg:Thanks for reppin. Kings SMS.
 2010-07-27 14:54:08 [5677] [3] DEBUG: Stored UUID
 b2114636-c178-433f-891d-4f76a2c568e3
 2010-07-27 14:54:08 [5677] [3] DEBUG: message length 29, sending 1
 messages
 2010-07-27 14:54:08 [5677] [3] DEBUG: Status: 202 Answer: Sent.
 2010-07-27 14:54:08 [5677] [3] DEBUG: Delayed reply - wait for
bearerbox
 2010-07-27 

Re: Sending SMS from HTTP

2010-07-27 Thread Nikos Balkanas

Hi,

I see a couple of problems in your conf. Read user's guide about 
smsbox-routing and reconfigure. Also either comment out allowed-smsc-id in 
your smsc group or specify smsc=huawei_e160 in your sendsms url.


BR,
Nikos
- Original Message - 
From: li...@eliud.co.cc

To: brett skinner tatty.dishcl...@gmail.com
Cc: Users users@kannel.org
Sent: Tuesday, July 27, 2010 2:23 PM
Subject: Re: Sending SMS from HTTP



This is my kannel.conf

group = core
admin-port = 13000
admin-password = kings
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
wapbox-port = 13002
smsbox-port = 13013
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
unified-prefix = +254,00254,0
#store-type = spool
#store-location = /var/spool/kannel
#dlr-storage = internal
access-log = /var/log/kannel/core-access.log
access-log-clean = true

group = wapbox
bearerbox-host = localhost
log-file = /var/log/kannel/wapbox.log

group = smsc
smsc = at
sim-buffering = true
smsc-id = huawei_e160
modemtype = huawei_e160
allowed-smsc-id = huawei_e160
device = /dev/ttyUSB1
speed = 9600
my-number = 254717848xxx
pin = 5273
log-level = 0

group = smsbox-route
smsbox-id = huawei_e160
smsc-id = huawei_e160

group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
sendsms-chars = 0123456789 +-
global-sender = 254717848xxx
log-level = 0
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/smsbox-access.log

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

group = sms-service
#keyword = default
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url =
http://localhost/sms/incoming.php?sender=%preceiver=%Pmessage=%amessageid=%c;

include = /usr/share/doc/kannel/examples/modems.conf
-

modems.conf
---
group = modems
id = huawei_e160
name = Huawei E160
detect-string = huawei
init-string = AT+CNMI=2,1,2,2,0
#message-storage = me
message-storage = sm
speed = 460800

On Tue, 27 Jul 2010 14:03:16 +0200, brett skinner
tatty.dishcl...@gmail.com wrote:

Hi

Where is the configuration for your smsc? I see you don't have something
like

group = smsc
smsc = smpp
.
.
.
etc etc

On Tue, Jul 27, 2010 at 1:15 PM, li...@eliud.co.cc wrote:


Hi Brett,

Find below the url and the logs

url =



http://localhost:13003/cgi-bin/sendsms?username=adminpassword=kingsxxxto=25472580xxxtext=test

sms 1

bearerbox
--
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
AT+CPMS=sm^M
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
0,20,0,20,0,20
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:10:34 [5656] [6] INFO: AT2[huawei_e160]: AT SMSC
successfully opened.
2010-07-27 14:10:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:10:36 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:11:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:11:31 [5656] [16] DEBUG: boxc_receiver: sms received
2010-07-27 14:11:31 [5656] [16] WARNING: Cannot find SMSCConn for

message

to 25472580770, rejected.
2010-07-27 14:11:31 [5656] [16] WARNING: Message rejected by bearerbox,
no
router!
2010-07-27 14:11:31 [5656] [16] DEBUG: send_msg: sending msg to box:
127.0.0.1
2010-07-27 14:11:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:11:38 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:12:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:12:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:12:40 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK
2010-07-27 14:13:04 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:13:34 [5656] [6] DEBUG: AT2[huawei_e160]: --
^BOOT:34326076,0,0,0,75
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- AT+CPMS?^M
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- +CPMS:
SM,0,20,SM,0,20,SM,0,20
2010-07-27 14:13:42 [5656] [6] DEBUG: AT2[huawei_e160]: -- OK

smsbox log
---
2010-07-27 14:54:08 [5677] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 127.0.0.1
2010-07-27 14:54:08 [5677] [3] INFO: sendsms used by admin
2010-07-27 14:54:08 [5677] [3] INFO: sendsms

sender:admin:254717848xxx

(127.0.0.1