Asterisk 13 with Jabber support

Hello all,

I am in the process of upgrading our platform to 13, however my biggest pain point is Jabber.
We have a custom extentions.conf to send Jabber alerts, however this does not seem to exist in 13.
I have installed the XMPP module and got my XMPP server working, but I can’t get asterisk to talk to it.

Any idea what I’m missing?

Thank you!

You’ve got the res_xmpp module loaded, right?

Have you looked at this page: Look Here

Short of looking in your logs (which we can’t do, because you didn’t provide anything close to enough detail to do more than guess), I can’t think of anything that would make it not work.

Thank you very much for the response and you are right… details would help.

I have installed res_xmpp and I am fairly sure loaded it:

voip*CLI> xmpp show connections
Jabber Users and their status:

Number of clients: 0

I also have the following in xmpp_custom.conf

[openfire_account]
type=client
serverhost=localhost
username=USER
secret=PASSWORD
port=5222
usetls=yes
usesasl=yes
statusmessage= VOIP CALL ALERTS-I AM A ROBOT
timeout=10000

My goal is to have the following working in my extentions_custom.conf:

[incoming-alert]
; GV Call Notifier: Send Jabber and SMS Alerts for Incoming Asterisk Calls – Nerd Vittles
exten => PHONENUMBER,1,Goto(s,1)
exten => s,1,JabberSend(openfire_account,USER@DOMAIN,${CALLERID(name)}@${CALLERID(num)} to ${CALLERID(dnid)} on ${STRFTIME(,GMT+4,%A %B %d %G at %l:%M:%S %p)})
exten => s,5,Playtones(ring)
exten => s,6,Goto(from-trunk,${CALLERID(dnid)},1)
exten => s,n,Hangup

also, the system was install following http://nerdvittles.com/?p=14208

Your incoming-alert syntax needs work.
exten = >,s,n,Playtones…

You don’t have a s,2, but you have an s,1.

Other than that, I don’t see anything glaringly wrong. Did you double check for new XMPP JabberSend syntax?

Also, are you saying you have a modified extensions.conf, or are you actually using extensions_custom.conf for this. If the former, FreePBX will overwrite your Jabber syntax on a reload. If the latter, good for you.

I am using extentions_custom.conf.
The incoming-alerts was trimmed down for the post.

My 1st hurdle right now is, I can’t even get Asterisk to login via XMPP and other than the commands I get from “core show help xmpp”, I can’t find any to help me troubleshoot or force a login.

OK, made the connection.
Here’s my config for anyone else that runs into this:

[openfire_account]
type=client
serverhost=jabber.DOMAIN.com
[email protected]
secret=PASSWORD
port=5222
usetls=yes
usesasl=yes
statusmessage=VOIP CALL ALERTS-I AM A ROBOT
timeout=10000
keepalive=yes
autoregister=yes
debug=yes
[email protected]