Summary:ASTERISK-05353: [branch] AstJAB: res_jabber && chan_jingle
Reporter:Matt O'Gorman (mogorman)Labels:
Date Opened:2005-10-23 00:03:48Date Closed:2006-05-22 23:27:00
Versions:Frequency of
Description:This is my first big update of the work I have been doing with jabber.  It currently supports, Client or component connections, connections to transports, creation of its own roster and cleaning it up.  It can absorb all jabber related events, however it currently only has a hook for agent.  I am not finished with it yet but I did want to see what the community thought of it so far.  And I am looking for suggestions, comments, and ideas for the future.  Thanks
Comments:By: Matt O'Gorman (mogorman) 2005-10-23 00:09:44

ohh yeah it also adds two apps

xmppsend and xmpp status show application on either will explain what they do. ^_^

By: Olle Johansson (oej) 2005-10-23 10:49:04

Have you considered doing this as a channel so we can support sendtext and the extension/device status that we currently have?

By: Matt O'Gorman (mogorman) 2005-10-23 10:59:10

I didn't when I started.  As I started before File's patch.  At somepoint It woud be usefull to have it.  Right now you can ony send text to users, I havent implemented a generic xmpprecieve mostly because I haven't implemented a message stack.  which is aso on my todo list.  Anyways I hope this answers your question Olle.

By: Matt O'Gorman (mogorman) 2005-10-23 12:10:27

Updated patch as well as a a patch against asterisk-1.2-beta 1 for people to play around with.  Enjoy

By: Matt O'Gorman (mogorman) 2005-10-23 12:57:31

oh and before I get any complaints here as well.  You will need iskemel v 1.2 most distributions have packages for it.  Get the development libraries and the library to work.

By: Olle Johansson (oej) 2005-10-23 13:40:08


By: Olle Johansson (oej) 2005-10-23 13:44:36

This patch is pretty intrusive. Is there a way to develop this without making app.c and chan_agent depend upon res_xmpp and the external library?

Maybe an #ifdef that can be set in the makefile if iksemel exists?

By: Matt O'Gorman (mogorman) 2005-10-23 13:50:02

yes in the end there will be #ifdefs fro app.c and any other place i stick it, just havent done it yet to be honest olle.  It is however already set up that if you don't have res_xmpp.so loaded asterisk will operate fine.

By: Olle Johansson (oej) 2005-10-23 13:51:52

xmpp.h is missing from patch.

gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/local/include -L/usr/local/lib -march=i386 -D_THREAD_SAFE         -fomit-frame-pointer    -c -o config.o config.c
In file included from config.c:50:
include/asterisk/app.h:30:27: asterisk/xmpp.h: No such file or directory
In file included from config.c:50:
include/asterisk/app.h:116: warning: "struct axi_master" declared inside parameter list
include/asterisk/app.h:116: warning: its scope is only this definition or declaration, which is probably not what you want
include/asterisk/app.h:116: warning: "struct axi_master" declared inside parameter list
include/asterisk/app.h:120: warning: "struct axi_master" declared inside parameter list
include/asterisk/app.h:124: warning: "struct axi_master" declared inside parameter list
gmake: *** [config.o] Error 1

By: Matt O'Gorman (mogorman) 2005-10-23 15:16:23

fixes for olle, i talked with olle and i have a fair bit of cleaning to do,  the patch works and works well but documentation is outdated... i need to fix stuff and make it pretty but enjoy.

By: Matt O'Gorman (mogorman) 2005-10-24 20:48:01

New patches!!!! fixed some more bugs, corrected some documentation, thought more about writing documentation, probably get it done tonight enjoy.

By: Matt O'Gorman (mogorman) 2005-11-10 13:52:11.000-0600

new patch that is more uptodate works with head and release 1.2rc1 no new features.


By: Russell Bryant (russell) 2005-12-21 03:00:33.000-0600

This patch is now being maitained in an SVN Branch:

svn co http://svn.digium.com/svn/asterisk/team/mogorman/asterisk-xmpp asterisk-xmpp


By: Guenther Starnberger (gst) 2005-12-21 06:30:01.000-0600

any plans on including libjingle (http://code.google.com/apis/talk/index.html) for voice support?

By: Matt O'Gorman (mogorman) 2005-12-22 06:06:35.000-0600

Hi like russell said i am maintaining it in my own branch.  I just posted a rather large update to finish support for jabber2 servers and sasl etc.  lots of fun stuff. anyways.  libjingle is very intresting to me. I am also going to make real time handlers just for fun, never done it before.  other than that i am working on creating a system for hooks, basically allowing for better passing of events.

Anyways its been a long night.  Also anyone using old config files they are no longer compatible please look at the new sample


By: mikma (mikma) 2006-01-31 14:28:26.000-0600

What is the status of Jingle support in Asterisk? According to http://blog.tmcnet.com/blog/tom-keating/asterisk/chitchat-with-mark-spencer.asp "Mark said that Jingle support will be coming very soon".

By: Matt O'Gorman (mogorman) 2006-05-04 09:38:08

well check it out and you will know ^_^

By: Matt O'Gorman (mogorman) 2006-05-22 23:26:55

committed into trunk