It seems the URL u gave has a typo in "to" and "from" parameters. Your SMSBOX logs show that u r using correct values in the HTTP URL. In that case, it seems your bearebox is not properly connected to your SMSC. You can confirm the same from your bearebox logs.
regards,
-Jeetendra

Jeetendra Singh wrote:
The HTTP URL values are incorrect. Please use ur mobile number in "to" parameter instead of access code. The "from" filed should have the sender id.

Also since ur msg length was only 164, the msg was split in 2 and not 3. It will split a message in 3 parts if it exceeds 152 (or is it 153)*2 characters.

max-messages allows u to send a message containing upto (max_messages) * 152 characters in one HTTP post.

HTH,
Jeetendra

Jane P. Ifurung wrote:
Thanks Dido. Okay, here is what my bearerbox and smsbox log says when I
directly do a sendsms in a browser:
http://127.0.0.1:13013/cgi-bin/sendsms?username=****&password=****&from=
09228051616&to=access-code-given-by-telco&text=my-text-here


Take note also that smsbox says it splits my 164 characters-long message
into two although I specified in my configuration file that
concatenation=true and max-messages = 3.

BEARERBOX output:

2004-09-01 19:38:24 [5869] [10] INFO: Client connected from <127.0.0.1>
2004-09-01 19:38:24 [5869] [10] DEBUG: Started thread 11
(gw/bb_boxc.c:boxc_send
er)
2004-09-01 19:38:24 [5869] [11] DEBUG: Thread 11
(gw/bb_boxc.c:boxc_sender) maps
 to pid 5869.
2004-09-01 19:40:13 [5869] [10] DEBUG: boxc_receiver: sms received
2004-09-01 19:40:13 [5869] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2004-09-01 19:41:29 [5869] [10] DEBUG: boxc_receiver: sms received
2004-09-01 19:41:29 [5869] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2004-09-01 19:41:29 [5869] [10] DEBUG: boxc_receiver: sms received
2004-09-01 19:41:29 [5869] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
 

SMSBOX output

2004-09-01 19:38:23 [5950] [0] INFO: HTTP: Opening server at port 13013.
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thre
ad)
2004-09-01 19:38:24 [5950] [0] INFO: Set up send sms service at port
13013
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thre
ad)
2004-09-01 19:38:24 [5950] [0] DEBUG:
------------------------------------------
----
2004-09-01 19:38:24 [5950] [0] DEBUG: Kannel smsbox version 1.3.2
starting
2004-09-01 19:38:24 [5950] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pi
d 5950.
2004-09-01 19:38:24 [5950] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps
 to pid 5950.
2004-09-01 19:38:24 [5950] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) maps
 to pid 5950.
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request
_thread)
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_t
hread)
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_t
hread)
2004-09-01 19:38:24 [5950] [0] INFO: Connected to bearerbox at localhost
port 13
001.
2004-09-01 19:38:24 [5950] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat
_thread)
2004-09-01 19:38:24 [5950] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread)
 maps to pid 5950.
2004-09-01 19:38:24 [5950] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) m
aps to pid 5950.
2004-09-01 19:38:24 [5950] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) m
aps to pid 5950.
2004-09-01 19:38:24 [5950] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread)
 maps to pid 5950.
2004-09-01 19:40:13 [5950] [2] DEBUG: HTTP: Creating HTTPClient for
`202.147.31.7'.
2004-09-01 19:40:13 [5950] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <202.147.31.7>
2004-09-01 19:40:13 [5950] [3] INFO: sendsms used by <janelang>
2004-09-01 19:40:13 [5950] [3] INFO: sendsms sender:<janelang:136>
(202.147.31.7) to:<09228051616> msg:<Wednesday>
2004-09-01 19:40:13 [5950] [3] DEBUG: message length 9, sending 1
messages
2004-09-01 19:40:13 [5950] [3] DEBUG: Status: 202 Answer: <Sent.>
2004-09-01 19:40:13 [5950] [3] DEBUG: HTTP: Resetting HTTPClient for
`202.147.31.7'.
 
2004-09-01 19:41:29 [5950] [2] DEBUG: HTTP: Creating HTTPClient for
`202.147.31.7'.
2004-09-01 19:41:29 [5950] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <202.147.31.7>
2004-09-01 19:41:29 [5950] [3] INFO: sendsms used by <janelang>
2004-09-01 19:41:29 [5950] [3] INFO: sendsms sender:<janelang:136>
(202.147.31.7) to:<09228051616> msg:<test madami
dhjfggffgklklkklljjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjdfudfjafdajfhjgfhjgfhj
gfhfghjfhjfhgfhgfhjfhjgfhjgfhjgfhjgfhfhjgfgfhjjgfjkgfjkgfjkfgjkgfhdhjffh
jgfsddod>
2004-09-01 19:41:29 [5950] [3] DEBUG: message length 164, sending 2
messages
2004-09-01 19:41:29 [5950] [3] DEBUG: Status: 202 Answer: <Sent. Message
splits: 2>
2004-09-01 19:41:29 [5950] [3] DEBUG: HTTP: Resetting HTTPClient for
`202.147.31.7'.
 


-----Original Message-----
From: Rafael 'Dido' Sevilla [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 01, 2004 5:57 PM
To: Jane P. Ifurung
Subject: Re: FW: Sendsms

On Wed, Sep 01, 2004 at 06:05:07PM +0800, Jane P. Ifurung wrote:
  
I've tried to send a SMS message through the sendsms in a browser and
the browser displayed a "Sent" message but there is nothing
displayed/sent message in my phone...What's happening here?
    

Please, can you tell us what the logs say?  I think they should have
mentioned what happened if anything.

  

Reply via email to