Registered by Julien Destombes

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.

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"},
        {message, "TEXT"},
        {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,

TEXT (with quotation mark) is the text shown in Jabber when the user makes a call,

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.

Project information

Maintainer:
ejabberd mod-client-asterisk devTeam
Driver:
Not yet selected
Licence:
GNU GPL v2

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
Erlang

All packages Packages in Distributions

Downloads

Latest version is 2.1
released

All downloads