Re: [PATCH] Shortcode detection in smsc_smpp.c (1.4.3 based)
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, -1 for this patch because it's just misconfiguration at your side. Try to remove all of these from your smsc group: > source-addr-autodetect = yes > dest-addr-ton = 1 > dest-addr-npi = 1 > source-addr-ton = 1 > source-addr-npi = 1 and sent sms with shortcode as sender and you will see that it works as expected. for the testcase (1) you should send as +421XXXXX and kannel will autodetect international numberplan and set it. Thanks, Alex Am 02.03.2009 um 13:10 schrieb Slavoj Hruška: > Hi, > > at first sorry about my poor english ;) I hope that my patch will be > better > ;) > > Description: > > problematic setup: > > source-addr-autodetect = yes > dest-addr-ton = 1 > dest-addr-npi = 1 > source-addr-ton = 1 > source-addr-npi = 1 > > Testcase 1) > > FROM = 421xxxYYYYYY (international formated) > TO = 420xxxYYYYYY (international formated) > > result = OK > > > Testcase 2) > > FROM = SANTA (Alphanumeric sender) > TO = 420xxxYYYYYY (international formated) > > result = OK > > > > Testcase 3) > > FROM = 12345 (shortcode) > TO = 420xxxYYYYYY (international formated) > > result = PROBLEM > MT show sender as +12345 and SMS can not be replyed. > > After that patch everything is ok. > > I hope that my "SHORTCODE ENGLISH" explanation was clear to clear > purpose > of that patch ;) > > PS: Stipe, thnx for "howto" > > -- > > -- > S pozdravom / Sincerely Yours > > Slavoj Hruska > Director > > SMS-Brana.SK > ------------------------------------ > Tel. (SK) : +421-47-2250119 > Tel. (UK) : +44-203-1296148 > Tel. (USA): +1-235-397-1823 > Tel. (SK) : +421-650-822969 - HaVel VoIP > Fax. (SK) : +421-2-20252478 > > E-Mail : [email protected] > WEB : http://www.sms-brana.sk/ > ------------------------------------ > > XEN-Housing s.r.o. > Panenská 24 > 811 09 Bratislava > > IČO: 44 010 567 > DIČ: 2022556030 > Registrácia: Okresný súd Bratislava I, odd.: Sro, vl.č.: 51050/ > B<smsc_smpp.patch>