Asterisk integration to Openfire
i have installed openfire for implementing 'jabber'  and asterisk for SIP .I have connected the asterisk with the openfire through the plugins "SIP Phone Plugin " and successfully making audio chat through spark(jabber client)but, i want to register the users for 'Asterisk' like jabber through client or 'http'I was able to register the users for 'openfire' through the plugin 'User service' with http request but how to connect this registered user to the asterisk extensions automatically?
Asterisk integration to Openfire
===

i have installed openfire for implementing 'jabber'  and asterisk for SIP .I have connected the asterisk with the openfire through the plugins "SIP Phone Plugin " and successfully making audio chat through spark(jabber client)but, i want to register the users for 'Asterisk' like jabber through client or 'http'I was able to register the users for 'openfire' through the plugin 'User service' with http request but how to connect this registered user to the asterisk extensions automatically?