[asterisk-users] Doubt regarding jabber
Jonathan Rose
jrose at digium.com
Tue Dec 18 10:01:57 CST 2012
Harish Mandowara wrote:
> I have Asterisk server 1.8.19 with jabber enabled.
>
> On the other side i have openfire server with asterisk-im enabled.
>
> I have a doubt, whether my sip client connected with asterisk can
> send message to other sip client, which is connected to same
> asterisk server.
>
>
> I have jitsi as a sip client.
>
> If its possible. Than please suggest any documentation regarding
> this.
>
> any help??
>
> THanks a lot
As far as I'm aware, SIP clients are generally incapable of using
XMPP to send and receive messages. I'm aware Jitsi can act as an
XMPP client, but its functionality as one has basically nothing to
do with Asterisk. Asterisk can use XMPP send and receive messages
to/from an XMPP server (also clients on that server by relay).
Jabber is also used for Google Talk and Google Voice, but I'm not
sure which versions those features work best in. I'd imagine 11
would be your best bet if you wanted that functionality since it
has a bunch of Jabber improvements as well as chan_motif.
So if you want Asterisk to send jitsi an IM, you need to set up
account on an XMPP server for them to use (as well as profiles to
connect with). Once you are sure you have Asterisk and the Jitsi
client connected to the XMPP server, you can send the message with
the dialplan application 'JabberSend' which takes arguments of
account (which is the account you are using to send), jid (who
is receiving the message) and the message itself. You can similarly
receive messages on Asterisk by using the JABBER_RECEIVE function
with similar arguments except no message and an optional timeout.
More information about the asterisk-users
mailing list