Hi Brett,

Find below the url and the logs

url =
http://localhost:13003/cgi-bin/sendsms?username=admin&password=kingsxxx&to=25472580xxx&text=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
<[email protected]> wrote:
> Hi
> 
> Can you also send the URL that you were using.
> 
> On Tue, Jul 27, 2010 at 1:01 PM, <[email protected]> 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
>>
>>
>>


Reply via email to