[asterisk-bugs] [JIRA] Assigned: (ASTERISK-20405) MessageSend() suggests 'from' isn't required in XMPP message responses, but it is

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Oct 5 17:07:27 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett reassigned ASTERISK-20405:
------------------------------------------

    Assignee:     (was: Richard Mudgett)

> MessageSend() suggests 'from' isn't required in XMPP message responses, but it is
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20405
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20405
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: 11.0.0-beta1
>            Reporter: Leif Madsen
>            Severity: Minor
>
> 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'.
> {code}
>     -- Executing [s at IncomingMessages:8] MessageSend("Message/ast_msg_queue", "xmpp:leif at leifmadsen.com") in new stack
> [Sep 11 07:36:55] ERROR[17839][C-00000000]: res_xmpp.c:2033 xmpp_send_cb: MESSAGE(from) of '' invalid for XMPP
> {code}
> When sending via XMPP, it needs to be:
> xmpp:asterisk
> where 'asterisk' is the [account_name] as defined in xmpp.conf

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list