Asterisk Project : Asterisk 10 Function_MESSAGE This page last changed on Oct 14, 2011 by wikibot. # MESSAGE() ### Synopsis Create a message or read fields from a message. ### Description This function will read from or write a value to a text message. It is used both to read the data out of an incoming message, as well as modify or create a message that will be sent outbound. ### Syntax
    MESSAGE(argument)
##### Arguments `argument` - Field of the message to get or set. `to` - Read-only. The destination of the message. When processing an incoming message, this will be set to the destination listed as the recipient of the message that was received by Asterisk. `from` - Read-only. The source of the message. When processing an incoming message, this will be set to the source of the message. `body` - Read/Write. The message body. When processing an incoming message, this includes the body of the message that Asterisk received. When MessageSend() is executed, the contents of this field are used as the body of the outgoing message. The body will always be UTF-8. ### See Also Asterisk 10 Application_MessageSend ### Import Version This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:25