Hi!

We got the following situation: A carrier requires us to configure a receiver connection to one IP address and a transmitter connection to another one. Obviously in this setup, inbound messages will com through the receiver connection, and outboud must go through de transmitter one.

Till now, we've always worked on transceiver-mode, routing the outgoing messages through the same SMSC where messages come through, which it's the most common situation

Our scripts are made to route MTs through the same smsc-id from where the MOs were received, so we must now route the outbound messages through the new transmitter connection, but using the same smsc-id of the receiver connection

We're thinking of using an allowed-smsc-id directive on the receiver connection, containing the receiver's smsc-id, and a preferred-smsc-id directive with the same receiver's smsc-id

Here's the conf we would use:

# Receiver connection
#
group             = smsc
smsc              = smpp
interface-version = 34
smsc-id           = "A"
allowed-smsc-id   = "A"
host              = 196.168.1.1
receive-port      = 8038
port              = 0
smsc-username     = "myUsername"
smsc-password     = "myPassword"
enquire-link-interval = 300
system-type       = "NULL"
source-addr-ton   = 1
source-addr-npi   = 1
dest-addr-ton     = 5
dest-addr-npi     = 1
throughput        = 5
address-range     = "161"
msg-id-type       = 0x01
log-file          = "/var/log/kannel/mySmscA.log"
log-level         = 0

# Transmitter connection
#
group             = smsc
smsc              = smpp
interface-version = 34
smsc-id           = "B"
allowed-smsc-id   = "A"
preferred-smsc-id = "A"
host              = 192.168.1.2
port              = 8038
receive-port      = 0
smsc-username     = "myUsername"
smsc-password     = "myUsername"
enquire-link-interval = 300
system-type       = "NULL"
source-addr-ton   = 1
source-addr-npi   = 1
dest-addr-ton     = 5
dest-addr-npi     = 1
throughput        = 5
address-range     = "161"
msg-id-type       = 0x01
log-file          = "/var/log/kannel/mySmscB.log"
log-level         = 0


Is this the correct way to accomplish the beheaviour we desire?
Also is it fine to use the:

allowed-smsc-id   = "A"

on the receiver connection or we don't need it since we got the preferred-smsc-id set in the transmitter connection?

Thnx in advance,

Juan

Reply via email to