Quantcast
Channel: VOIP-info.org Page Changes
Viewing all articles
Browse latest Browse all 2667

Asterisk func message

$
0
0
Diff from version 1 to 1 (current)

@@ -1 +1,26 @@

+!Synopsis:
+ MESSAGE(argument)
+^new in Asterisk 10^
 
+
+!Description:
+ MESSAGE(argument)
+* __argument__ can be:
+** __to__ - Read-only. The destination of the message
+**__from__ - Read-only. The source of the message. If you want sent message from Asterisk and need change __from__, use ((Asterisk cmd MessageSend))
+** __body__ - Read/Write. The text of message.
+
+
+!Example
+
+Send message from Asterisk.
+
+exten => 123,1,Set(MESSAGE(from)=sip:11111) ; no affect, no error, from is read only
+exten => 123,n,Set(MESSAGE(body)=test message) ; don't use "
+exten => 123,n,MessageSend(sip:22222,sip:11111)
+
+!!See also
+* ((Asterisk cmd MessageSend))
+* ((Asterisk func MESSAGE_DATA))
+* ((Asterisk cmd SendText))
+* ((Asterisk cmd SMS))
UserCommentTimeVersion
zerog2013-06-24 19:251

Viewing all articles
Browse latest Browse all 2667

Trending Articles