iDetails member variable of the TMsvEntry Class contains the number of the sender - if the number is not stored in the contact database or the name of the sender. You can easily filter the required numbers. You can get TMsvEntry from a CMsvEntry by calling the CMsvEntry::Entry() function.