|
ejabberd mod-client-asterisk is a module for ejabberd which connect to an Asterisk Management Interface listening to Call events. This allows the Jabber users to know about the call state of their buddies.
Download
Gui Screenshot  Our Jabber Client (here Empathy) says user "nico" is on the phone. How to use mod-client-asterisk ?- Put the file mod_client_asterisk.beam in /usr/lib/ejabberd/ebin/
- Edit /etc/ejabberd/ejabberd.cfg, and add the lines in the modules definitions :
{modules, [ {mod_client_asterisk, [ {server_asterisk, SERVER_NAME}, {port_asterisk, SERVER_PORT}, {username, "USERNAME"}, {secret, "SECRET"}, {directory,[ {"NUM1","USER1","DOMAIN"}, {"NUM2","USER2","DOMAIN"}, {"NUM3","USER3","DOMAIN"} ... ]} ]}, ... {mod_shared_roster,[]}, ... {mod_vcard, []}, {mod_version, []} ]}. SERVER_NAME and SERVER_PORT (without quotation mark) are the name of the pabx and the AMI port used (usually 5038),
USERNAME and SECRET (with quotation mark) are the parameters to connect to asterisk, NUM1, USER1 and DOMAIN (with quotation mark) are the phone number, the Jabber name and the jabber domain used of the first user.
You need the mod_shared_roster to be activated. LicencesGNU GPL v2 OS CompatibilityAnywhere you have an Erlang VM : Linux, Windows, MAC OS X LanguagesEnglish |