Re: kannel smpp co-exist problems
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Christopher Kho wrote: > > Hi, > > I am trying to configure 2 kannel (smpp) for 2 > different projects. My provider has set up an login > account for me to connect to their smsc. I am > able to connect to the smsc with no problem. I has > been assigned with 2 different numbers for those > projects, 11111 and 22222. So I setup kannel and > smsbox configuration for both kannel1 (version 1.2.1) > and kannel2 (version 1.3.1). Everthing runs ok ...both > kannel are up. However if I test and send an sms to > 11111 sometime kannel2 (22222) would get it and vice > versa. I suspect that maybe because my provider has > setup the same account for both project so there is a > conflict or is it a bug in kannel? > > I have also tried to combined the 2 project since the > login account is the same for both of them but I still > no luck. There is no smsc mo group so I can't > denied-smsc-id for the mo. Anyone face similar problem > or knows a way to get around this or the proper way of > going about it or even a patch to kannel? Please > advice....Below is a portion of kannel.conf this sounds to me that you are connecting from both kannel instances with the same SMPP login (large account) and the operator has assigned only the shortcode numbers to that *one* large account. Hence if you send an sms from a mobile to one of the numbers, it may be delivererd by the smcs to one of the both connections. Which is not heuristical then. If you need clean seperation of the traffic, then you can ask your provider to have each shortcode number bound to one unique SMPP large account/login. Anyway. You could do the trick also on your own, by setting only *one* kannel instance with either one or two SMPP links, get all sms by those and route by the receiver number (shortcode) within the smsbox via sms-service groups. See user's guide for details on how to match a specific service to an URL. Stipe mailto:[email protected] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[email protected] http://www.wapme-systems.de/ ------------------------------------------------------------------- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.2 (Cygwin) mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2 nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H g2HyLAEKQIp30Q== =aYCI -----END PGP PUBLIC KEY BLOCK-----