Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

<h1>MessageSend()</h1>

<h3>Synopsis</h3>

<p>Send a text message.</p>

<h3>Description</h3>

<p>Send a text message. The body of the message that will be sent is what is currently set to <code>MESSAGE(body)</code>.</p>

<p>This application sets the following channel variables:</p>

<ul>
<li><code>MESSAGE_SEND_STATUS</code> - This is the message delivery status returned by this application.
<ul>
<li>INVALID_PROTOCOL - No handler for the technology part of the URI was found.</li>
<li>INVALID_URI - The protocol handler reported that the URI was not valid.</li>
<li>SUCCESS - Successfully passed on to the protocol handler, but delivery has not necessarily been guaranteed.</li>
<li>FAILURE - The protocol handler reported that it was unabled to deliver the message for some reason.</li>
</ul>
</li>
</ul>

<h3>Syntax</h3>

<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[MessageSend(to,from)]]></ac:plain-text-body></ac:macro>

<h5>Arguments</h5>

<ul>
<li><code>to</code> - A To URI for the message.</li>
<li><code>from</code> - A From URI for the message if needed for the message technology being used to send this message.
<ac:macro ac:name="info"><ac:parameter ac:name="title">Note</ac:parameter><ac:rich-text-body>
<p>For SIP the from parameter can be a configured peer name or in the form of "display-name" <URI>.</p></ac:rich-text-body></ac:macro></li>
</ul>

<h3>Import Version</h3>

<p>This documentation was imported from Asterisk Version SVN-branch-10-r383982</p>

  • No labels