[asterisk-bugs] [JIRA] Status Changed to Waiting for Development: (ASTERISK-20405) MessageSend() suggests 'from' isn't required in XMPP message responses, but it is

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Oct 5 17:01:27 CDT 2012


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

Matt Jordan updated ASTERISK-20405:
-----------------------------------

    Status: Open  (was: Triage)

> 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
>            Assignee: Richard Mudgett
>            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