powered by Jive Software

Controlling presence via wildfire

I’'ve installed Spark and Wildfire on a network of 200 users, and its great!

My goal is to produce a plugin which will allow Spark to display which users are currently on their IP phones. We have CallManager, and I have some development done with JTAPI. I have only deployed Spark/Wildfire recently, so I know I have a lot of reading to do. My main question at this point is, should i be developing a Spark plugin, or a Wildfire plugin, if I am looking to set users presence information on Spark reflecting their phone status…does anyone have any good source for setting presence (i am looking at the presence plugin for retrieving presence).

Is there a good plugin development tutorial out there? So far, I have just been browsing through source code…

thanks,

avidan

just clarified a little.

Message was edited by: avidan

Hi avidan,

It’‘s good to hear you’'re enjoying Spark and Wildfire.

For what you’‘re looking to do you’'ll want to develop a Wildfire plugin, and in fact, the url=http://www.jivesoftware.org/wildfire/plugins.jspAsterisk plugin[/url] would be a great reference plugin for you to work with since it integrates Wildfire with Asterisk (an IP based PBX). Probably the best place for you to start is download or checkout from svn the url=http://www.jivesoftware.org/source.jspsource[/url] of both the Wildfire and Asterisk-IM projects.

As for documentation on how to build plugins and Wildfire, there are url=http://www.jivesoftware.org/community/kbcategory.jspa?categoryID=17these[/url] kb articles and the Plugin Developer Guide[/url].

Hope that helps,

Ryan

Thank you!

I will start reading today.

-Avidan

So I started by downloading the source for both wildfire and asterisk-im.

Firstly, excellent coding style. The OOP is stellar. (and there are comments!)

In looking into the asterisk-im plugin, it seems there are only 4 files that refer to the asterisk-java library. 2 of them are short and informational. Am I correct in assuming that all the Asterisk interaction is occuring in these two files?

AsteriskEventHandler.java

AsteriskPhoneManager.java

If so, will my goal be to re-create the same output as Asterisk-java creates, just by using Cisco’'s JTAPI? I dont think it will be a simple task, but i do look forward to it.

Whats the quickest way to compile asterisk-im and do basic testing, if i dont have asterisk installed…

thanks.

Hi avidan,

Unfortunately, my dreams of deploying Asterisk where I work never came to fruition so I have never really worked with the plugin and my knowledge of it is very limited. However, building the Asterisk-IM plugin should be the same as any other plugin; copy the asterisk-im source directory to the wildifre/target/plugins directory and then use the “plugin” ant target. As for testing, it looks like there is a test source directory but it looks like it doesn’'t do much. You might want to try posting in the url=http://www.jivesoftware.org/community/forum.jspa?forumID=47Asterisk-IM Support[/url] forum to see if someone over there can provide you with more detailed help.

Hope that helps,

Ryan