mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-28 10:13:43 +00:00
Updates for the MessageSend Dialplan App
Enhancements: * The MessageSend dialplan application now takes an optional third argument that can set the message's "To" field on outgoing messages. It's an alternative to using the MESSAGE(to) dialplan function. NOTE: No channel driver currently implements this field. A follow-on commit for res_pjsip_messaging will implement it for the chan_pjsip channel driver. * To prevent confusion with the first argument, currently named "to", it's been renamed to "destination". Its function, creating the request URI, hasn't changed. * The documentation for MessageSend was updated to be more clear about the parameters and how they interact the MESSAGE() dialplan function. * With the rename of MessageSend's first parameter, and the fact that message.c references <info> elements in chan_sip.c, res_pjsip_messaging.c and res_xmpp, they each needed documentation updates to use MessageDestinationInfo instead of MessageToInfo. * appdocsxml.dtd was updated to include a missing element declaration for "dataType". This was showing up as an error in Eclipse's dtd editor. * Despite the changes in this commit, there should be no impact to current users of MessageSend. Change-Id: I6fb5b569657a02866a66ea352fd53d30d8ac965a
This commit is contained in:
16
doc/CHANGES-staging/messagesend.txt
Normal file
16
doc/CHANGES-staging/messagesend.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Subject: MessageSend
|
||||
|
||||
The MessageSend dialplan application now takes an
|
||||
optional third argument that can set the message's
|
||||
"To" field on outgoing messages. It's an alternative
|
||||
to using the MESSAGE(to) dialplan function.
|
||||
|
||||
To prevent confusion with the first argument, currently
|
||||
named "to", it's been renamed to "destination".
|
||||
Its function, creating the request URI, hasn't changed.
|
||||
|
||||
The online documentation has also been enhanced to
|
||||
explain the behavior.
|
||||
|
||||
Despite the changes in this commit, there should be
|
||||
no impact to current users of MessageSend.
|
@@ -83,6 +83,8 @@
|
||||
|
||||
<!ELEMENT matchInfo (category|field?)>
|
||||
|
||||
<!ELEMENT dataType (#PCDATA)>
|
||||
|
||||
<!ELEMENT category (#PCDATA)>
|
||||
<!ATTLIST category match (yes|no|true|false) #REQUIRED>
|
||||
|
||||
|
Reference in New Issue
Block a user