MuppetMaster

Feature request - Query XMPP Server from Asterisk

Discussion created by MuppetMaster on Oct 16, 2005
Latest reply on Nov 13, 2005 by corris

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(xmpp_status=my_user@jabber.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.

Outcomes