|Summary:||ASTERISK-20405: MessageSend() suggests 'from' isn't required in XMPP message responses, but it is|
|Reporter:||Leif Madsen (lmadsen)||Labels:|
|Date Opened:||2012-09-11 08:11:59||Date Closed:||2012-10-05 20:51:27|
|Description:||If you do 'core show application MessageSend' and look at the 'from' field documentation, nothing about XMPP is listed (it is in the 'to' field). Also, the syntax for the MessageSend() seems to indicate the 'from' field is optional, which it doesn't look to be.|
The following error is found when not passing the 'from'.
-- Executing [s@IncomingMessages:8] MessageSend("Message/ast_msg_queue", "xmpp:email@example.com") in new stack
[Sep 11 07:36:55] ERROR[C-00000000]: res_xmpp.c:2033 xmpp_send_cb: MESSAGE(from) of '' invalid for XMPP
When sending via XMPP, it needs to be:
where 'asterisk' is the [account_name] as defined in xmpp.conf
|Comments:||By: Richard Mudgett (rmudgett) 2012-09-11 09:54:52.645-0500|
Does res_jabber require a 'to' value as well? Or is this specific to res_xmpp?