I've found a few bugs in EMI/UPC which i've fixed now.

If you pass an "From" number of style:
        +12345
it was presuming an alphanumeric originator which then was limiting 
it to 11 digits. Now it is treated as pure numerical again. As + is 
not a valid sign for EMI/UPC it is now removed from the digits and 
the number type is now set to international so the receiving phone 
does add the + again. Also it does clip the digits to 22 digits or 11 
alphas as if you pass more it was rejected by the SMSC.

Same goes for the "To:" number which is clipped to 16 digits (no 
alpha format here). As there is no number type field for the "To:" it 
has always to be in numerical format. In some configs you might end 
up seening "+" there which confuses the SMSC. In that case a + is 
replaced with "00" which is a good default for most countries. This 
should really be done with the unified-prefix config option but some 
people with mixed SMSC's might get a problem with it as one SMSC does 
want to have the + while the other doesnt want to have it at all.

I'll post it on CVS later today.

-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink

Reply via email to