Hi 

I just managed to compile kannel 1.2.1 on FreeBSD 4.7 and configured the
whole stuff. It seems to run very well, messages are forwarded to SMS services
and sent back to SMSC's. There is just one problem: 
One of teh operators I have to deal with (Orange) defines multiple log-ins
to bill cusomers. They provide a log-in to tehir SMSC to get the messages and
then other acconuts to bill CHF 0.10, 0.20 and so on to the customers, let's
call those SMSC accounts "billing SMSC's". I guess, I managed the routing of
the response message using the X-Kannel -Headers in the HTTP-Response to the
message. On my MT, the messages also arrive with the right originator number
(replaced by the SMSC).

Now for the problems (questions...)

- The response message I get delivered to the MT always requests a Reply. Is
this a automatic service of the SMSC or may I tell the SMSC not to request a
Reply? (The response I sent back is mainly to bill the customer for the
service he/her requested). Maybe this is a feature caused by the MT (T68i) but I
do not think so...

- The five SMSC-connections for the different billing-values are
disconnected by the SMSC after about 60 to 80s. Kannel then automatically reconnects to
the SMSC automatically. Because there willbe no messages coming in through
the billing-Accounts, i think, it is not necessary that kannel keeps the
connections to the "billing SMSC'". Therefore I set the keepalive-value of those
SMSC to 0, but this is not the solution (see log-file below). 

Any Idea?
Thanks for your help.

Regards,
Oli

Environment:
Operating system and version: FreeBSD, 4.7 stable 
Kannel version: 1.2.1 
Libxml version: libxml2 2.4.24

Kannel configuration file 
--------------------------

# orange read
group = smsc
smsc = cimd2
smsc-id = orange
host = ***.***.***.***
port = 9971
smsc-username = ***
smsc-password = ***
keepalive = 1
allowed-smsc-id = ""

# Orange bill 10
group = smsc
smsc = cimd2
smsc-id = orange10
host = ***.***.***.***
port = 9971
smsc-username = ***
smsc-password = ***
keepalive = 0 
allowed-smsc-id = "orange;orange10"

# Orange bill 20
group = smsc
smsc = cimd2
smsc-id = orange20
host = ***.***.***.***
port = 9971
smsc-username = ***
smsc-password = ***
keepalive = 0 
allowed-smsc-id = "orange;orange20"

# Orange bill 40 
group = smsc
smsc = cimd2
smsc-id = orange40
host = ***.***.***.***
port = 9971
smsc-username = ***
smsc-password= ***
keepalive = 0 
allowed-smsc-id = "orange;orange40"

Kannel log (cutout)
--------------------------

2003-02-18 17:26:08 [0] DEBUG: HTTP: Opening server at port 13000.
2003-02-18 17:26:08 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2003-02-18 17:26:08 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2003-02-18 17:26:08 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2003-02-18 17:26:08 [0] DEBUG: starting smsbox connection module
2003-02-18 17:26:08 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2003-02-18 17:26:08 [0] DEBUG: Started thread 5
(gw/smsc/smsc_fake.c:fake_listener)
2003-02-18 17:26:08 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949 logged in.
2003-02-18 17:26:08 [0] DEBUG: Started thread 6
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:08 [0] DEBUG: Started thread 7
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:08 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949p10 logged
in.
2003-02-18 17:26:08 [0] DEBUG: Started thread 8
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:08 [0] DEBUG: Started thread 9
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949p20 logged
in.
2003-02-18 17:26:09 [0] DEBUG: Started thread 10
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:09 [0] DEBUG: Started thread 11
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949p40 logged
in.
2003-02-18 17:26:09 [0] DEBUG: Started thread 12
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:09 [0] DEBUG: Started thread 13
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949p100 logged
in.
2003-02-18 17:26:09 [0] DEBUG: Started thread 14
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:09 [0] DEBUG: Started thread 15
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:26:09 [0] DEBUG: Started thread 16
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:09 [0] DEBUG: Started thread 17
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] INFO: CIMD2:212.35.32.204:9971:Zwixsunrise logged
in.
2003-02-18 17:26:09 [0] DEBUG: Started thread 18
(gw/smsc/smsc_wrapper.c:wrapper_receiver)
2003-02-18 17:26:09 [0] DEBUG: Started thread 19
(gw/smsc/smsc_wrapper.c:wrapper_sender)
2003-02-18 17:26:09 [0] DEBUG: Started thread 20
(gw/bb_smscconn.c:sms_router)
2003-02-18 17:26:09 [0] INFO: ----------------------------------------
2003-02-18 17:26:09 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2003-02-18 17:26:09 [0] INFO: MAIN: Start-up done, entering mainloop
2003-02-18 17:26:09 [0] DEBUG: smsc_fake: start called
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [0] DEBUG: Starting wrapper
2003-02-18 17:26:09 [20] DEBUG: sms_router: time to sleep
2003-02-18 17:26:09 [20] DEBUG: sms_router: list_len = 0
2003-02-18 17:26:09 [6] ERROR: cimd2_pending_smsmessage: unexpected response
packet
2003-02-18 17:26:09 [6] DEBUG: Octet string at 0x80fca70:
2003-02-18 17:26:09 [6] DEBUG:   len:  11
2003-02-18 17:26:09 [6] DEBUG:   size: 12
2003-02-18 17:26:09 [6] DEBUG:   immutable: 0
2003-02-18 17:26:09 [6] DEBUG:   data: 02 35 31 3a 30 30 31 09   .51:001.
2003-02-18 17:26:09 [6] DEBUG:   data: 33 43 03                  3C.
2003-02-18 17:26:09 [6] DEBUG: Octet string dump ends.
2003-02-18 17:26:09 [6] ERROR: cimd2_pending_smsmessage: unexpected response
packet
2003-02-18 17:26:09 [6] DEBUG: Octet string at 0x80fca70:
2003-02-18 17:26:09 [6] DEBUG:   len:  11
2003-02-18 17:26:09 [6] DEBUG:   size: 12
2003-02-18 17:26:09 [6] DEBUG:   immutable: 0
2003-02-18 17:26:09 [6] DEBUG:   data: 02 35 31 3a 30 30 31 09   .51:001.
2003-02-18 17:26:09 [6] DEBUG:   data: 33 43 03                  3C.
2003-02-18 17:26:09 [6] DEBUG: Octet string dump ends.
2003-02-18 17:27:04 [4] DEBUG: Started thread 21 (gw/bb_boxc.c:function)
2003-02-18 17:27:04 [21] INFO: Client connected from <127.0.0.1>
2003-02-18 17:27:04 [21] DEBUG: Started thread 22 (gw/bb_boxc.c:boxc_sender)
2003-02-18 17:27:23 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:27:23 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:27:23 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:27:23 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:27:23 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:28:25 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:28:25 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:28:25 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:28:26 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:28:26 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:29:32 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:29:32 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:29:32 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:29:32 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:29:32 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:30:16 [10] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:30:16 [10] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p20>: reconnect started
2003-02-18 17:30:16 [10] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:30:16 [12] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:30:16 [12] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p40>: reconnect started
2003-02-18 17:30:16 [12] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:30:16 [14] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:30:16 [14] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p100>: reconnect started
2003-02-18 17:30:16 [14] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:30:16 [10] INFO: CIMD2:213.55.128.103:9971:zwix9949p20 logged
in.
2003-02-18 17:30:16 [10] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p20 succeeded.
2003-02-18 17:30:16 [12] INFO: CIMD2:213.55.128.103:9971:zwix9949p40 logged
in.
2003-02-18 17:30:16 [12] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p40 succeeded.
2003-02-18 17:30:16 [14] INFO: CIMD2:213.55.128.103:9971:zwix9949p100 logged
in.
2003-02-18 17:30:16 [14] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p100 succeeded.
2003-02-18 17:30:38 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:30:38 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:30:38 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:30:42 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:30:42 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:31:44 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:31:44 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:31:44 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:31:44 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:31:44 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:32:46 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:32:46 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:32:46 [16] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:32:47 [16] INFO: CIMD2:213.55.128.103:9971:zwix9949p200 logged
in.
2003-02-18 17:32:47 [16] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p200 succeeded.
2003-02-18 17:33:21 [14] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:33:21 [14] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p100>: reconnect started
2003-02-18 17:33:21 [14] WARNING: Attempting to re-open CIMD2 connection
2003-02-18 17:33:21 [14] INFO: CIMD2:213.55.128.103:9971:zwix9949p100 logged
in.
2003-02-18 17:33:21 [14] INFO: Re-open of
CIMD2:213.55.128.103:9971:zwix9949p100 succeeded.
2003-02-18 17:33:53 [16] WARNING: cimd2_pending_smsmessage: service center
closed connection.
2003-02-18 17:33:53 [16] DEBUG: smsc_wrapper
<CIMD2:213.55.128.103:9971:zwix9949p200>: reconnect started
2003-02-18 17:33:53 [16] WARNING: Attempting to re-open CIMD2 connection

(continues...)



-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!


Reply via email to