[asterisk-dev] Jabber Manager Command

mogorman mogorman at digium.com
Mon Aug 7 08:02:12 MST 2006


both of these patches are great I intend to look at them today, thanks a
million.

Matt
On Mon, 2006-08-07 at 14:15 +0200, Matt Riddell (NZ) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Russell Bryant wrote:
> > On Sun, 2006-08-06 at 17:17 +0200, Matt Riddell (NZ) wrote:
> >> I'm trying to let the manager send jabber messages
> > 
> >> usr/src/asterisk/manager.c:889: undefined reference to `ast_aji_get_client'
> > 
> > The problem is that this function is not implemented in the Asterisk
> > core.  It is implemented in a module.  It is saying "You used this
> > function, but I can't find it.".
> > 
> >> any ideas?
> > 
> > There are some tricks that would make this possible to implement in
> > manager.c, but there is a better way.  Implement this manager action is
> > res_jabber.c.  See other modules, such as something like chan_sip.c., to
> > see how it "registers" and "unregisters" manager actions when the
> > modules is loaded and unloaded.
> > 
> > Functions of interest when looking up how to do this are:
> > ast_manager_register2() in load_module()
> > ast manager_unregister() in unload_module()
> > 
> 
> Sweeeeeeet! Cheers Russell!
> 
> To send a jabber message using the manager:
> 
> http://bugs.digium.com/view.php?id=7673
> 
> To receive an event when something happens with Jabber:
> 
> http://bugs.digium.com/view.php?id=7666
> 
> :)
> 
> - --
> Cheers,
> 
> Matt Riddell
> _______________________________________________
> 
> http://www.sineapps.com/news.php (Daily Asterisk News - html)
> http://freevoip.gedameurope.com (Free Asterisk Voip Community)
> http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE1y7kS6d5vy0jeVcRArARAJ9yDVm8f2kwY4FnWw597HZIFOXgEQCbBxv4
> 9DOLaoWdKXIeL4lxTpshpEA=
> =x4XV
> -----END PGP SIGNATURE-----
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list