[asterisk-users] Asterisk 11 - XMPP and JabberSend()

Noah Engelberth Noah at directlinkcomputers.com
Tue Aug 21 14:51:39 CDT 2012


I'm trying to get my Asterisk 11 test box set up with XMPP, having troubles with JabberSend().

My jabber.conf file is as follows:
[general]
debug=no
autoprune=no

[testaccount]
type=client
serverhost=my.jabber.server
username=myaccount at my.jabber.server
secret=mypassword
port=jabberport
usetls=yes
usesasl=yes

xmpp show connections gives the following output from the console:
testasterisk11*CLI> xmpp show connections
Jabber Users and their status:
       [testaccount] asterisk at jabber.metalink.net     - Connected
----
   Number of clients: 1

xmpp show buddies lists out the users that are being auto-added to the "buddy list" from the XMPP server.  I try to have a test extension send a message, and get this output (and the call fails with a "Declined" message on the calling phone).
    -- Executing [20005 at metalink:2] JabberSend("SIP/649EF376CA25-0000000c", "testaccount,user at my.jabber.server,Test") in new stack
[Aug 21 15:42:54] WARNING[20469][C-0000000c]: res_xmpp.c:1752 xmpp_send_exec: JabberSend requires arguments (account,jid,message)

I've tried putting in the full username and the [testaccount] for the first argument to JabberSend.  I've tried just the username as well as the full user at my.jabber.server<mailto:user at my.jabber.server> in the jid argument.  I've tried multi-word and single word messages.  I've tried encapsulating each argument in quotes.  With XMPP debug on, I can see presence messages being received "XMPP received from 'test account'", but no XMPP debug output occurs when I try to place my test call to send the XMPP message.

Kinda going cross-eyed from looking at this - is there anything else I should try or anything wrong in my configuration?

Thank you,

Noah Engelberth
MetaLINK Technologies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120821/82865192/attachment.htm>


More information about the asterisk-users mailing list