[FYI] behaviour change on number prefixing to smsbox
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Hi list, I just commited this: 2003-09-05 Stipe Tolj <[email protected]> * gw/smsc/smsc_smpp.c: changed pdu_to_msg() to recode source_addr and destination_addr on the MO side. We will pass an prefixed '+' to the smsbox side. Otherwise there is no chance for backend applicatins, like smsbox to descide what type of number it is. BEWARE: this may be an behaviour change for your individual setup, if you relly that the number is transmitted in pure TON=1 notation to the smsbox. In this case please use unified-prefix on the smsc group level to get rid of the prefixed '+'. Thanks to Alex for providing the patch. which means SMPP based links will now pass international source and destination numbers with a prefixed '+' to smsbox connections. This is required to distinguish what kind of type of number we pass to the smsbox. If you need to have the number without leading prefix, then please use unified-prefix to recreate it. This works at least for source addr on the MO side. Destination addr is *not* unified in any case, so the behaviour change is still there. Alex and I have been thinking of how the unified-prefix can cover both, source and destination number for both MO and MT directions. Any comments and/or suggestions on this please?! Stipe [email protected] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [email protected] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are