This is more of an Asterisk development request, but it is the next logical step for fully leveraging this plug-in with Asterisk. An application within Asterisk is needed to query an XMPP server (ie - Jive Messenger) for the status of a user. This could then be returned in a variable and used to make routing decisions within the dialing plan.
So something like:
exten => s,1,QueryXMPP(firstname.lastname@example.org)
exten => s,2,GotoIf($[$ = "Available"]?is_avail|s|1:3)
Also, would be great to have an /etc/asterisk/xmpp.conf file to connect to XMPP at startup in order to have the appropriate connections open prior to calling the application in the dialplan.