Jabber/Jingle to Google users via local XMPP server

Home » Asterisk Users » Jabber/Jingle to Google users via local XMPP server
Asterisk Users 2 Comments

Hi all,

All the examples I’ve come across seem to suggest configuring
jabber.conf/jingle.conf/gtalk.conf for a real Google account.

What about the scenario where the Asterisk server should connect to an
account on a private Jabber server and using Jingle (voice calling over
Jabber)?

e.g. for the domain widgets.com:

– there is a copy of ejabberd running on the same box as Asterisk, and
Asterisk registers to it using the jabber ID asterisk@widgets.com

– DNS is configured so that user@widgets.com can chat to user@gmail.com
(already working, testing with a chat client such as Empathy or Psi)

Google user friend1@gmail.com wants to make a voice call to
asterisk@widgets.com – is it possible?

For this scenario, is gtalk.conf needed at all? Is gtalk.conf needed
for any Jabber server, such as the ejabbard instance described above?

Regards,

Daniel

2 thoughts on - Jabber/Jingle to Google users via local XMPP server

  • Hi,

    I’m interested in connecting Asterisk to ejabberd. I have Asterisk 1.8 and ejabberd 2.1.6. I have configured jabber.conf to register asterisk to the local ejabberd server. I have created corressponding user asterisk in ejabberd.

    I can see the XMPP message exchange between asterisk and ejabberd up to the point where asterisk sends a STARTTLS to ejabberd. This times out and the sequence starts again. It doesn’t seem to make any difference if I disable TLS in jabber.conf – asterisk still sends STARTTLS

    I’ve tested the ejabberd server witrh Pidgin and that works fine so it seems to be an incompatiblity with asterisk

    I was wondering if you or anyone else had managed to get asterisk to register to ejabberd and what was the jabber.conf used

    Regards,

    [asterisk]
    type=client
    serverhost=ythtv.mpcomms.com.au
    username=
    secret=your_google_password
    port=5222
    usetls=yes
    usesasl=yes
    statusmessage=”I am an Asterisk Server”
    timeout=100

    I can see asterisk trying to register but

  • sorry – I didn’t mean to include the following in my last post – please remove

    Thanks

    [asterisk]
    type=client
    serverhost=ythtv.mpcomms.com.au
    username=
    secret=your_google_password
    port=5222
    usetls=yes
    usesasl=yes
    statusmessage=”I am an Asterisk Server”
    timeout=100

    I can see asterisk trying to register but