Re: Multiple smsc and exec script replies

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Sergey Saukh wrote:

> Hi,
> 
> I have Kannel 1.3.2 version installed. It works fine, but I've encountered a 
> one problem:
> 
> I have 2 smsc definitions (listed below) and some services set up for use with 
> those smsc. When sms arrives, kannel looks from what smsc and for what msisdn 
> it was and passes it to corresponding sms-service. And I assume that reply 
> from this service _must_ go through the same smsc from which sms was 
> received. But sometimes it tries to send reply through other smsc and it 
> fails, because there are different OA for each smsc. 
> 
> Is there any way to explicitly define an smsc in sms-service group through 
> which replies will be send? Or may be there is other solution?

yes, as smsbox does the sms-service and responds with the same smsc-id to 
bearerbox for the reply MT message, you will have to use 'allowed-smsc-id' 
inside the smsc group to have the message only transported via the originated 
link, ie.

> Here is smsc part of my config:
> 
> group = smsc
> smsc = smpp
> smsc-id = smsc_lich
> host = xx.xx.xx.xx
> port = 3400
> receive-port = 3400
> smsc-username = xxx
> smsc-password = xxx
> system-type = VMA
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
allowed-smsc-id = "smsc_lich"

> 
> group=smsc
> smsc=smpp
> smsc-id=smsc_anton
> host = xx.xx.xx.xx
> port= 3400
> receive-port = 3400
> smsc-username = yyy
> smsc-password = yyy
> system-type = "VMA"
> source-addr-ton=0
> source-addr-npi=1
> dest-addr-ton=1
> dest-addr-npi=1
allowed-smsc-id = "smsc_anton"

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.