Hi guys,

 

Its me again with another bottleneck. My SMSC provider has a different SMSC for MT messages and a different for MO messages.

 

 

For incoming messages, I have a separate SMSC IP and user and for outgoing messages I have a different SMSC IP and user.

 

I have to receive messages from the 1st SMSC and send response back via the 2nd SMSC.

 

In my kannel config, I have created 2 SMSC groups with values specified for MT and MO messages.

 

I have tried all possible combinations of preferred-smsc-id, denied-smsc-id and allowed-smsc-id but cant seem to get through.

 

 

Can anybody suggest any ideas for me to avoid kannel using the source SMSC as the destination SMSC?

 

I have done the following configs:

 

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = bar

#status-password = foo

log-file = "/var/smscgw/gateway.log"

log-level = 0

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

box-allow-ip = "127.0.0.1,x.x.x.x"

unified-prefix="+447,00447,0;+,00;+467,00467,0"

access-log = "/var/smscgw/access.log"

#store-file = "/tmp/kannel.store"

#ssl-server-cert-file = "cert.pem"

#ssl-server-key-file = "key.pem"

#ssl-certkey-file = "mycertandprivkeyfile.pem"

 

# SMSBOX SETUP

group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

sendsms-chars = "0123456789 +-"

global-sender = 13013

log-file = "/var/smscgw/smsbox.log"

log-level = 1

access-log = "/var/smscgw/access.log"

 

# SEND-SMS USERS

group = sendsms-user

username = xxx

password = xxx

user-deny-ip = "x.x.x.xMO"

user-allow-ip = "x.x.x.xMT"

max-messages = 1

forced-smsc = "SMSCMT"

 

# SMSC CONNECTION FOR MO MESSAGES

group = smsc

smsc = smpp

smsc-id = SMSCMO

preferred-smsc-id = "SMSCMT"

denied-smsc-id = "SMSCMO"

smsc-username = "smscmo"

smsc-password = "xxxx"

host = x.x.x.xMO

port = 2775

receive-port = 2775

system-type = "xxx"

interface-version = 34

source-addr-ton = 5

source-addr-npi = 1

 

 

# SMSC CONNECTION FOR MT MESSAGES

group = smsc

smsc = smpp

smsc-id = SMSCMT

denied-smsc-id = "SMSCMO"

smsc-username = "sms"

smsc-password = "xxxx"

host = x.x.x.xMT

port = 2775

receive-port = 2775

system-type = "xxx"

interface-version = 34

source-addr-ton = 5

source-addr-npi = 1

 

 

 

# SERVICES

# there should be default always

group = sms-service

keyword = default

accepted-smsc = "SMSCMT"

text = "No service specified for default"

url="" "

max-messages = 0

 

 

Thanks so much for any kind of help...Its getting real urgent for me to fix this, as one of our orders depend upon a successful demonstration, which in turn depends upon me fixing incoming and outgoing message issue.

 

 

//Rachita

 

Reply via email to