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
[email protected]
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] [email protected]     - 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@metalink:2] JabberSend("SIP/649EF376CA25-0000000c", 
"testaccount,[email protected],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 
[email protected]<mailto:[email protected]> 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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to