Re: delivery reports and EMI [known bug issue]
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mittwoch, November 13, 2002, at 07:45 Uhr, Nisan Bloch wrote: > Hi > > At 12:22 AM 11/13/02 +0100, Andreas Fink wrote: > > Does anyone has some brilliant ideas how we can solve this "always > unify the number format" for EMI without making configuration of the > SMSC a nightmare of config variables? > Should we simply replace incoming number with 0 with 00+ country code? > But whats the country code -> config variable again? > > > config vars wont work as u dont know what the country is as one emi > connection may send to many destinations. True and false. Your EMI connection will be a SMSC located in one specific country so you can presume that if this EMI connection returns a local number it is a local number of the EMI SMSC's country. If you use some aggregator who uses EMI protocol, then its his job to supply the number always in international format. > We have a work around, which is a bit hacky but works for us. We use > the 8 right most digits of the number to match the DLR in the > db/store. > That would not be good enough in most cases.