Re: [PATCH] dlr_mem.c & dlr_sdb.c check for dst
Nicholas Rahn <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2004-04-01 at 16:23, Alexander Malysh wrote: > > > > Anyway, wouldn't be better to normalize destination taken from dlr body? > > nope: (1) too much configuration; (2) why should we do it, when we have a way > to avoid user intervention? > In the end, either way is ok for me. however, i kind of think it makes more sense to normalize the destination number in the dlr_find method. that way the same normalization process (unified_prefix) is used for all phone numbers everywhere. we don't then have a special way of treating the phone number just for dlrs (also then being able to use the less costly "=" rather than "like" in the SQL). and it doesn't require any configuration or user intervention beyond what the user would normally do for his MO/MT messages. any comments? nick