You can create users on Openfire and use their mobile numbers as usernames. But you would have to create them manually one by one. You can’t import them automatically. Then you can search and add them in a client (Spark, or say Yaxim for android).
I am sorry for repeating again but I am stuck here…
what about if I write a plugin which receive client request i.e upload contacts and then my plugin update the user roster table using database plugin API, is it possible to do or not ?
Anything is possible to code But, say you import mobile numbers and create users using mobile numbers automatically via plugin. These will be local users in Openfire, you won’t be able to talk to them just like that. They (the new users) will have to use some sort of client and login to your Openfire server. You can’t talk to your phone book contacts just by importing them to some server, they have to use same server/client too. Same with Whatsup i think. You can’t talk with your friend until he install Whatsup too.