I did swap the lines and it worked correctly.  I believe that using the 
address type read from the PDU is the proper logic.  Certainly reading a 
PDU that explicitly tags the TON as "international" then switching it to 
"unknown" because the number lacks a leading '+' is wrong, and swapping the 
lines repairs that.  Not clear an SMS would ever really have the embedded 
'+' in any case.

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/smslib/8cb08db3-54f6-44d5-bc1c-c5a2c7669ace%40googlegroups.com.

Reply via email to