Help me to configure Asterisk IM

Hello ,

I have trouble when I configure Asterisk IM . I installed Openfire with MySQL . And my hostname is localhost.

Here is my Asterilsk config.

sip.conf

type=friend

secret=9999

callerid=“9999” <9999>

dtmfmode = rfc2833

context=test

host=dynamic

canreinvite=yes

disallow=all

allow=gsm

allow=ulaw

allow=alaw

type=friend

secret=9998

dtmfmode = rfc2833

callerid=“9998” <9998>

context=test

host=dynamic

nat=no

canreinvite=yes

disallow=all

allow=gsm

allow=ulaw

allow=alaw

extensions.conf

exten => 9999,1,Dial(SIP/9999)

exten => 9998,1,Dial(SIP/9998)

manager.conf

displaysystemname = yes

enabled = yes

;webenabled = yes

port = 5038

bindaddr = 0.0.0.0

secret=admin

deny=0.0.0.0/0.0.0.0

permit=192.168.1.199/255.255.255.0

permit=127.0.0.1/255.255.255.0

read = system,call,log,verbose,command,agent,user,config

write = system,call,log,verbose,command,agent,user,config

Here is my srcreenshot .

http://img141.imageshack.us/img141/7950/snapshot1kl2.png

I’ve added 2 user in Users/Group Openfire . These names are 1234 and 4321 .

But I don’t know how to configure phone mappings in Asterisk IM . So I can’t chat between SIP users of Asterisk. Please help me .

I’m using Xlite as a client .

Phone mappings are a seperate section on the left in the Asterisk-IM tab of the admin page.