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 10:08 Uhr, Stipe Tolj wrote: >> the problem here is that the number now became suddendly a national >> number by removing the 00 and 41 (country code) and replace it with a >> national long distance prefix 0. >> to fix this is easy. We re-internationalize the number again. >> However, some users might not want to have it this way. So another >> config variable has to be added maybe which I really want to avoid. > > can't we use 'unified-prefix' directive with the normalization rules > in it?! This would mean we call normalize_number() somewhere in the > smsc_emi2.c processing before doing the dlr_find()? > Well we would to have to use it the other way around. and it would have to be SMSC specific. Imagine you have one EMI link to germany and one to switzerland and you get "country specific" numbers on each of them. My approach would simply to specify international and national prefixes and country codes on the SMSC link. This would also help on the sending side where a + currently is replaced hardcoded with 00 which is not really always true. Andreas Fink Global Networks, Inc. ------------------------------------------------------------------ Tel: +41-61-6666333 Fax: +41-61-6932729 Mobile: +41-79-2457333 Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland Web: http://www.global-networks.ch/ [email protected] ------------------------------------------------------------------ Member of the GSM Association