Hello All;
I was able to get it working simple by changing the port in
smskannel.conf to the following:
# SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13001
#sendsms-port = 13013
But now, I can neither receive or send SMS messages. Receiving the
phone receives it but not Kannel, and sending well, the log is below. I
have an idea that the error has to do with the missing "include =
modems.conf" but when I had that it said "error include was invalid" so
I copied another conf file which I found on the mail list from someone
using a T28 (which had group = modems), the include line again was a
problem, as was the lines group= modem and name = Ericcson_r520m"
2003-03-05 15:08:25 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2003-03-05 15:08:25 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2003-03-05 15:08:29 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2003-03-05 15:08:29 [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2003-03-05 15:08:29 [3] INFO: /sendsms used by <tim>
2003-03-05 15:08:29 [3] INFO: /cgi-bin/sendsms sender:<tim:2010****>
(127.0.0.1) to:<0101015380> msg:<Hello world>
2003-03-05 15:08:29 [3] DEBUG: Status: 202 Answer: <Sent.>
2003-03-05 15:08:29 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2003-03-05 15:08:29 [1] DEBUG: HTTP: Destroying HTTPClient area 0x81b3608.
2003-03-05 15:08:29 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2003-03-05 15:08:29 [0] INFO: Connection closed by the bearerbox
2003-03-05 15:08:29 [0] INFO: Received (and handled?) 0 requests in 4
seconds (0.00 per second)
2003-03-05 15:08:29 [0] INFO: Kannel smsbox terminating.
2003-03-05 15:08:29 [6] DEBUG: Thread 6
(gw/heartbeat.c:heartbeat_thread) terminates.
2003-03-05 15:08:29 [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate
2003-03-05 15:08:29 [3] DEBUG: HTTP: No clients with requests, quitting.
2003-03-05 15:08:29 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
terminates.
2003-03-05 15:08:29 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
terminates.
2003-03-05 15:08:29 [1] WARNING: Destroying fdset with 1 active entries.
2003-03-05 15:08:29 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2003-03-05 15:08:29 [0] DEBUG: Waiting for 4
(gw/smsbox.c:obey_request_thread) to terminate
2003-03-05 15:08:29 [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) terminates.
2003-03-05 15:08:29 [0] DEBUG: Waiting for 5
(gw/smsbox.c:url_result_thread) to terminate
2003-03-05 15:08:29 [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread)
terminates.
2003-03-05 15:08:29 [0] DEBUG: Immutable octet strings: 142.
2003-03-05 15:08:29 [0] DEBUG: Current allocations: 10 areas, 872 bytes
2003-03-05 15:08:29 [0] DEBUG: Highest number of allocations: 944 areas
2003-03-05 15:08:29 [0] DEBUG: Highest memory usage: 50384 bytes
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3b60, size 16, max_size 16
2003-03-05 15:08:29 [0] DEBUG: Allocated by octs2003-03-05 15:08:29 [0]
DEBUG: Area 0x81b3cb8, size 10, max_size 32
2003-03-05 15:08:29 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2003-03-05 15:08:29 [0] DEBUG: Re-allocated by octstr_grow at
gwlib/octstr.c:107
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: 31 32 37 2e 30 2e 30 2e 31 00
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b6a20, size 113, max_size 113
2003-03-05 15:08:29 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: 00 54 54 50 2f 31 2e 31 20 32 30 32 20
46 6f 6f
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3a98, size 32, max_size 32
2003-03-05 15:08:29 [0] DEBUG: Allocated by mutex_create_real at
gwlib/thread.c:26
2003-03-05 15:08:29 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:398
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: be ba fe ca 00 00 00 00 00 00 00 00 00
00 00 00
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b4118, size 525, max_size 525
2003-03-05 15:08:29 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: 47 45 54 20 2f 63 67 69 2d 62 69 6e 2f
73 65 6e
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3a20, size 80, max_size 80
2003-03-05 15:08:29 [0] DEBUG: Allocated by conn_wrap_fd at gwlib/conn.c:397
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: 98 3a 1b 08 e0 3a 1b 08 00 00 00 00 be
ba fe ca
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3b98, size 16, max_size 16
2003-03-05 15:08:29 [0] DEBUG: Allocated by octstr_create_from_data_real
at gwlib/octstr.c:170
2003-03-05 15:08:29 [0] DEBUG: Claimed by octstr_format_valist at
gwlib/octstr.c:1969
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: b8 3c 1b 08 09 00 00 00 0a 00 00 00 00
00 00 00
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3f40, size 32, max_size 32
2003-03-05 15:08:29 [0] DEBUG: Allocated by client_create at
gwlib/http.c:1337
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: c9 32 00 00 20 3a 1b 08 98 3b 1b 08 00
00 00 00
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3ae0, size 32, max_size 32
2003-03-05 15:08:29 [0] DEBUG: Allocated by mutex_create_real at
gwlib/thread.c:26
2003-03-05 15:08:29 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:399
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: be ba fe ca 00 00 00 00 00 00 00 00 00
00 00 00
2003-03-05 15:08:29 [0] DEBUG: Area 0x81b3b28, size 16, max_size 16
2003-03-05 15:08:29 [0] DEBUG: Allocated by octstr_create_from_data_real
at gwlib/octstr.c:170
2003-03-05 15:08:29 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:402
2003-03-05 15:08:29 [0] DEBUG: Contents of area (first 16 bytes):
2003-03-05 15:08:29 [0] DEBUG: 20 6a 1b 08 00 00 00 00 71 00 00 00 00
00 00 00
