[asterisk-dev] Jabber Manager Command

Matt Riddell (NZ) matt.riddell at sineapps.com
Sun Aug 6 09:20:30 MST 2006


-----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()

Cool, thanks for that!

:)

- --
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

iD8DBQFE1hbOS6d5vy0jeVcRAjJOAJ9q8YwmE+nba/leNVMEW/MqFCCKiACfcQDA
E0U/VwJRRP8jkk8DI2pj7bo=
=znwn
-----END PGP SIGNATURE-----



More information about the asterisk-dev mailing list