Alex,

Thanks for your advice, unfortunately my version of Kannel (latest CVS
version) doesn't support smsc-name and allowed-smsc for the group smsc.

I had the same trail of thought as you and tried applying smsc-id,
allowed-smsc-id and also tried adding denied-smsc-id. None of these
seemed to resolve the problem.

Does anybody have any other ideas?

Thanks all,

Nick



Date: Thu, 21 Oct 2004 16:52:00 +0200
From: Alexander Malysh <[EMAIL PROTECTED]>
Subject: Re: Reconciling DLR messages for multiple SMSC
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

Hi,

set for both smsc's:
smsc-name = XYZ

than for smsc1:
allowed-smsc = smsc1

for smsc2:
allowed-smsc = smsc2

Nick Branson wrote:

> Users,
>  
> After much fun and games with Kannel I have finally got DLR working!
> Thanks for the help (especially Alejandro!). I now have another
problem:
>  
> I can't match the DLR message with the outgoing message group.
>  
> I'm now having problems reconciling DLR messages to the right SMSC it 
> was sent from. I have a set of configuration files running for one
SMSC.
> The configuration files contain multiple SMSC groups. One for each 
> network at a set premium.
>  
> The example configuration below contains two SMSC's. If I send an SMS 
> over smsc1 it creates the DLR for that SMSC. However, when I get 
> another DLR response it attempts to look for a DLR in the database 
> that was created for the other SMSC, smsc2.  See notes in log file 
> snippet.
>  
> I scoured the mail archive and couldn't seem to find anybody who has 
> had this problem before. Hopefully somebody can help.
>  
>  
[snip]

> 
>  
>  
> Here are my config files:
>  
> Bearerbox config:
>  
> group = core
> admin-port = #####
> wapbox-port = #####
> admin-password = bar
> wdp-interface-name = "*"
> log-file = "bearerbox.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
>  
> group = wapbox
> bearerbox-host = localhost
> log-file = "wapbox.log"
> log-level = 3
> syslog-level = none
>  
> include = "smskannel_test.conf"
>  
> Smsbox config:
>  
> group = core
> admin-port = #####
> smsbox-port = #####
> admin-password = bar
> log-file = "smsbox.log"
> log-level = 5
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> unified-prefix = "00358,0"
> dlr-storage = mysql
>  
> group = smsbox
> smsbox-id = smsbox
> bearerbox-host = localhost
> sendsms-port = #####
> #global-sender = "#####"
> #sendsms-chars = "0123456789 +-"
> log-file = "smsbox.log"
> log-level = 0
> access-log = "access.log"
>  
> # DATABASE CONNECTION FOR DELIVERY RECEIPTS
>  
> group = mysql-connection
> id = mydlr
> host = localhost
> mysql-username = ######
> mysql-password = ######
> database = ######
> max-connections = 1
>  
> group = dlr-db
> id = mydlr
> table = delivery_receipts
> field-smsc = smsc
> field-timestamp = timestamp
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>  
>  
> group = sendsms-user
> username = smsc1
> forced-smsc = smsc1
> default-smsc = smsc1
> password = #####
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1"
> dlr-url = "http://my.web.com/dlr.php?type=%d
> <http://my.web.com/dlr.php?type=%d&bypass=1&using=mblox> "
>  
> group = smsc
> smsc = smpp
> smsc-id = smsc2
> allowed-smsc-id = smsc2
> host = #####
> port = ####
> smsc-username = "######"
> smsc-password = "######"
> enquire-link-interval = 50
> system-type = "VMA"
> address-range = ""
> source-addr-ton = 3
> #source-addr-npi = 1
> dest-addr-npi = 1
> dest-addr-ton = 1
> transceiver-mode = TRUE
> service-type = ####
> msg-id-type = 0x00
>  
> group = sendsms-user
> username = smsc2
> forced-smsc = smsc2
> default-smsc = smsc2
> password = #####
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1;81.89.143.76;81.89.143.77;81.89.143.78"
> dlr-url = "http://my.web.com/dlr.php?type=%d
> <http://my.web.com/dlr.php?type=%d&bypass=1&using=mblox> "
> 
> # there should be default always
> group = sms-service
> keyword = default
> max-messages = 0
> get-url = "http://my.web.com/dlr.php?type=%d
> <http://my.web.com/dlr.php?type=%d&bypass=1&using=mblox> "
>  
> Thanks in advance.
>  
> Nick

--
Thanks,
Alex





Reply via email to