How to import all extensions from Asterisk to Openfire IM

Hi All,

Recently I installed OpenFire on my asterisk machine and I followed all the steps given to setup OpenFire IM for Asterisk. Everything works fine after intallation and I am able to create accounts in OpenFire (using spark IM client). How can I import all Extensions in Asterisk to OpenFire server so that all the clients using spark get their contact lisk populated? Please help.

-Y