Hi,

I want to use Kannel (Kannel2) as an SMSC, receiving UCP requests from
another Kannel (Kannel 1).

I tried the following configuration, but it doesn't fully work: UCP
messages are sent to Kannel 2, but the Kannel 2 doesn't return an aswer.

I get these lines in the error log:

2007-05-08 08:46:37 [5654] [5] INFO: Client connected from <10.10.2.31> 

2007-05-08 08:46:37 [5654] [5] DEBUG: Started thread 86
(gw/bb_boxc.c:function)

2007-05-08 08:46:37 [5654] [86] DEBUG: Thread 86 (gw/bb_boxc.c:function)
maps to pid 5654.

2007-05-08 08:46:37 [5654] [86] DEBUG: Started thread 87
(gw/bb_boxc.c:boxc_sender)

2007-05-08 08:46:37 [5654] [87] DEBUG: Thread 87
(gw/bb_boxc.c:boxc_sender) maps to pid 5654.

2007-05-08 08:47:38 [5654] [86] INFO: Connection closed by the box
<10.10.2.31>

2007-05-08 08:47:38 [5654] [87] DEBUG: send_msg: sending msg to box:
<10.10.2.31>

2007-05-08 08:47:38 [5654] [87] DEBUG: Thread 87
(gw/bb_boxc.c:boxc_sender) terminates.

2007-05-08 08:47:38 [5654] [86] DEBUG: Thread 86 (gw/bb_boxc.c:function)
terminates.

 

What else should I add?

Where do I keep the username and password of my Kannel, acting as SMSC?

 

Here is the configuration I use:

In kannel 1:

I set :

 

group = smsc

smsc = emi

smsc-id = kannel-int80

host = int-80.axismobile.com

port = 13001

smsc-username = tester

smsc-password = foobar

log-file = /home/mailtrex/kannel/log/kannel-int80.log

keepalive = 55

#throughput = 1

 

# SEND-SMS USERS

group = sendsms-user

username = tester

password = foobar

faked-sender = 9080

forced-smsc = kannel-int80

 

In Kannel2:

group = core

admin-port = 13000

smsbox-port = 13001

wapbox-port = 13002

admin-password = bar

#status-password = foo

#admin-deny-ip = ""

#admin-allow-ip = ""

log-file = "/usr/local/kannel/log/kannel.log"

log-level = 0

#box-deny-ip = "*.*.*.*"

box-allow-ip = "10.10.2.31"

unified-prefix = "00358,0"

dlr-storage = internal

 

group = smsc

smsc = emi

smsc-id = dev-31

host = 10.10.2.31

port = 13001

smsc-username = tester

smsc-password = foobar

log-file = /usr/local/kannel/log/dev-31.log

keepalive = 55

throughput = 1

 

# SMSBOX SETUP

group = smsbox

smsbox-id = dlrbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 13013

#sendsms-chars = "0123456789 +-"

log-file = "/usr/local/kannel/log/smsbox.log"

log-level = 0

access-log = "/usr/local/kannel/log/access.log"

 

Knaan Ratosh

R&D Team leader

AxisMobile Ltd.

Consumer Mobile Email

Tel: Int +972-3-7685529

Mobile: Int +972-54-3138460

[EMAIL PROTECTED]

 

Reply via email to