i write a configuration file according to the user guide.
   i can send sms well. i may receive sms well, but i don't know.
i thought i received sms right, but nothing happens. I was hoping my chrome would show something.

   can someone tell me what will happen if i receive sms well?

   Thanks!

the smsbox-access.log smsbox.log and configuration file show below.
smsbox-access.log's content:
 1 2011-02-12 19:08:20 Log begins
2 2011-02-12 19:08:45 SMS HTTP-request sender:+8613424154541 request: 'from : +8613424154541to : +8613430916358text : MGDJWTMAtime : 2011-02-12 11:07:51' url: 'http://localhost/sms.php?from=%2B8613424154541&to=%2B8613430916358&tex t=MGDJWTMA&time=2011-02-12+11:07:51' reply: 200 '<< successful >>'
 3 2011-02-12 19:09:53 Log ends
 4 2011-02-12 19:09:55 Log begins
~
smsbox.log's content:
2011-02-12 19:09:55 [13441] [0] DEBUG: ----------------------------------------------
2011-02-12 19:09:55 [13441] [0] DEBUG: Kannel smsbox version 1.4.3 starting
2011-02-12 19:09:55 [13441] [0] DEBUG:   dumping group (sendsms-user):
2011-02-12 19:09:55 [13441] [0] DEBUG:     <user-allow-ip> = <127.0.0.1>
2011-02-12 19:09:55 [13441] [0] DEBUG:     <user-deny-ip> = <*.*.*.*>
2011-02-12 19:09:55 [13441] [0] DEBUG:     <group> = <sendsms-user>
2011-02-12 19:09:55 [13441] [0] DEBUG:     <username> = <siat>
2011-02-12 19:09:55 [13441] [0] DEBUG:     <password> = <siat>
2011-02-12 19:09:55 [13441] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2011-02-12 19:09:55 [13441] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2011-02-12 19:09:55 [13441] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2011-02-12 19:09:55 [13441] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 13441. 2011-02-12 19:09:55 [13441] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 13441. 2011-02-12 19:09:55 [13441] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 13441. 2011-02-12 19:09:55 [13441] [0] INFO: Connected to bearerbox at localhost port 13003. 2011-02-12 19:09:55 [13441] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2011-02-12 19:09:55 [13441] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 13441. 2011-02-12 19:30:57 [13441] [4] INFO: Starting to service <final test> from <+8613424154541> to <+8613430916358> 2011-02-12 19:30:57 [13441] [4] DEBUG: Started thread 8 (gwlib/fdset.c:poller) 2011-02-12 19:30:57 [13441] [4] DEBUG: Started thread 9 (gwlib/http.c:write_request_thread) 2011-02-12 19:30:57 [13441] [9] DEBUG: Thread 9 (gwlib/http.c:write_request_thread) maps to pid 13441.
2011-02-12 19:30:57 [13441] [9] DEBUG: Queue contains 0 pending requests.
2011-02-12 19:30:57 [13441] [9] DEBUG: Parsing URL `http://localhost/sms.php?from=%2B8613424154541&to=%2B8613430916358&text=final+test&time=2011-02-12+11:30:03':
2011-02-12 19:30:57 [13441] [9] DEBUG:   Scheme: http://
2011-02-12 19:30:57 [13441] [9] DEBUG:   Host: localhost
2011-02-12 19:30:57 [13441] [9] DEBUG:   Port: 80
2011-02-12 19:30:57 [13441] [9] DEBUG:   Username: (null)
2011-02-12 19:30:57 [13441] [9] DEBUG:   Password: (null)
2011-02-12 19:30:57 [13441] [9] DEBUG:   Path: /sms.php
2011-02-12 19:30:57 [13441] [9] DEBUG: Query: from=%2B8613424154541&to=%2B8613430916358&text=final+test&time=2011-02-12+11:30:03
2011-02-12 19:30:57 [13441] [9] DEBUG:   Fragment: (null)
2011-02-12 19:30:57 [13441] [9] DEBUG: HTTP: Opening connection to `localhost:80' (fd=28).
2011-02-12 19:30:57 [13441] [9] DEBUG: Socket connecting
2011-02-12 19:30:57 [13441] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller) maps to pid 13441.
2011-02-12 19:30:57 [13441] [8] DEBUG: Get info about connecting socket
2011-02-12 19:30:57 [13441] [8] DEBUG: HTTP: Sending request:
2011-02-12 19:30:57 [13441] [8] DEBUG: Octet string at 0x9646ac0:
2011-02-12 19:30:57 [13441] [8] DEBUG:   len:  175
2011-02-12 19:30:57 [13441] [8] DEBUG:   size: 1024
2011-02-12 19:30:57 [13441] [8] DEBUG:   immutable: 0
2011-02-12 19:30:57 [13441] [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 2e 70 68 70 3f 66 72 6f GET /sms.php?fro 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 6d 3d 25 32 42 38 36 31 33 34 32 34 31 35 34 35 m=%2B86134241545 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 34 31 26 74 6f 3d 25 32 42 38 36 31 33 34 33 30 41&to=%2B8613430 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 39 31 36 33 35 38 26 74 65 78 74 3d 66 69 6e 61 916358&text=fina 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 6c 2b 74 65 73 74 26 74 69 6d 65 3d 32 30 31 31 l+test&time=2011 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 2d 30 32 2d 31 32 2b 31 31 3a 33 30 3a 30 33 20 -02-12+11:30:03 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 HTTP/1.1..Host: 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 6c 6f 63 61 6c 68 6f 73 74 0d 0a 43 6f 6e 6e 65 localhost..Conne 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 ction: keep-aliv 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 65 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 4b e..User-Agent: K 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 61 6e 6e 65 6c 2f 31 2e 34 2e 33 0d 0a 0d 0a annel/1.4.3....
2011-02-12 19:30:57 [13441] [8] DEBUG: Octet string dump ends.
2011-02-12 19:30:57 [13441] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2011-02-12 19:30:57 [13441] [8] DEBUG: HTTP: Received response:
2011-02-12 19:30:57 [13441] [8] DEBUG: Octet string at 0x9646ac0:
2011-02-12 19:30:57 [13441] [8] DEBUG:   len:  332
2011-02-12 19:30:57 [13441] [8] DEBUG:   size: 1024
2011-02-12 19:30:57 [13441] [8] DEBUG:   immutable: 0
2011-02-12 19:30:57 [13441] [8] DEBUG: data: 44 61 74 65 3a 20 53 61 74 2c 20 31 32 20 46 65 Date: Sat, 12 Fe 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 62 20 32 30 31 31 20 31 31 3a 33 30 3a 35 37 20 b 2011 11:30:57 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 41 70 61 GMT..Server: Apa 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 63 68 65 2f 32 2e 32 2e 31 32 20 28 55 62 75 6e che/2.2.12 (Ubun 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 74 75 29 0d 0a 58 2d 50 6f 77 65 72 65 64 2d 42 tu)..X-Powered-B 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 79 3a 20 50 48 50 2f 35 2e 32 2e 31 30 2d 32 75 y: PHP/5.2.10-2u 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 62 75 6e 74 75 36 2e 37 0d 0a 56 61 72 79 3a 20 buntu6.7..Vary: 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 41 63 63 65 70 74 2d 45 6e 63 6f 64 69 6e 67 0d Accept-Encoding. 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a .Content-Length: 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 20 39 39 0d 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 99..Keep-Alive: 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 20 74 69 6d 65 6f 75 74 3d 31 35 2c 20 6d 61 78 timeout=15, max 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 3d 31 30 30 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e =100..Connection 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a 43 6f : Keep-Alive..Co 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 ntent-Type: text 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 2f 68 74 6d 6c 0d 0a 0d 0a 66 72 6f 6d 20 3a 20 /html....from : 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 2b 38 36 31 33 34 32 34 31 35 34 35 34 31 3c 62 +8613424154541<b 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 72 3e 74 6f 20 3a 20 2b 38 36 31 33 34 33 30 39 r>to : +86134309 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 31 36 33 35 38 3c 62 72 3e 74 65 78 74 20 3a 20 16358<br>text : 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 66 69 6e 61 6c 20 74 65 73 74 3c 62 72 3e 74 69 final test<br>ti 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 6d 65 20 3a 20 32 30 31 31 2d 30 32 2d 31 32 20 me : 2011-02-12 2011-02-12 19:30:57 [13441] [8] DEBUG: data: 31 31 3a 33 30 3a 30 33 3c 62 72 3e 11:30:03<br>
2011-02-12 19:30:57 [13441] [8] DEBUG: Octet string dump ends.
2011-02-12 19:30:57 [13441] [5] INFO: No reply sent, denied.
2011-02-12 19:31:12 [13441] [8] DEBUG: HTTP: Server closed connection, destroying it <localhost:80:0::><0x964b0c0><fd:28>.


configuration file content :

# core -- bearerbox
group = core
admin-port = 13000
admin-password = "zxg422184"
admin-deny-ip = "*.*.*.*"
admin-allow-ip = 127.0.0.1
smsbox-port = 13003
box-deny-ip = "*.*.*.*"
box-allow-ip = 127.0.0.1
# may change
log-file = "/home/zxg/python/szmb/kannel/kannel.log" log-level = 1
# may change
access-log = "/home/zxg/python/szmb/kannel/kannel.access" unified-prefix = "+86,0086"

# smsc -- smsbox
group = smsc
smsc = at
smsc-id = GSMModem
sim-buffering = true
# may change
modemtype = wavecom # may change
device = /dev/ttyUSB0
speed = 9600
# sim-buffering = true
# may change
my-number = +8613430916358
sms-center = +8613800755500

group = modems
id = wavecom
name = siatmodems
detect-string = "WAVECOM"
message-storage = SM

# smsbox -- smsbox
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
# may change
global-sender = +8613430916358
log-file = "/home/zxg/python/szmb/kannel/smsbox.log"
log-level = 0
access-log = "/home/zxg/python/szmb/kannel/smsbox-access.log"

# sendsms-user -- smsbox
group = sendsms-user
# may change
username = siat # may change password = siat user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"

# sms-service -- smsbox
group = sms-service
keyword = default
get-url = "http://localhost/sms.php?from=%p&to=%P&text=%a&time=%t";
max-messages = 0

Reply via email to