MessageSend
Arguments
ActionID- ActionID for this transaction. Will be returned.Destination- A To URI for the message. If Destination is provided, the To parameter can also be supplied and may alter the message based on the specified message technology.To- A To URI for the message if needed for the message technology being used to send this message. This can be a SIP(S) URI, such asAlice <sip:alice@atlanta.com>, or a string in the formatalice@atlanta.com.From- A From URI for the message if needed for the message technology being used to send this message.Body- The message body text. This must not contain any newlines as that conflicts with the AMI protocol.Base64Body- Text bodies requiring the use of newlines have to be base64 encoded in this field. Base64Body will be decoded before being sent out. Base64Body takes precedence over Body.Variable- Message variable to set, multiple Variable: headers are allowed. The header value is a comma separated list of name=value pairs.
User Notes
No notes yet. Be the first to contribute a tip or example.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
AMI Actions
Command
AGI
AOCMessage
AbsoluteTimeout
AgentLogoff
Agents
Atxfer
BlindTransfer
Bridge
BridgeDestroy
BridgeInfo
BridgeKick
BridgeList
BridgeTechnologyList
BridgeTechnologySuspend
BridgeTechnologyUnsuspend
CancelAtxfer
Challenge
ChangeMonitor
ConfbridgeKick
ConfbridgeList
ConfbridgeListRooms
ConfbridgeLock
ConfbridgeMute
ConfbridgeSetSingleVideoSrc
ConfbridgeStartRecord
ConfbridgeStopRecord
ConfbridgeUnlock
ConfbridgeUnmute
ControlPlayback
CoreSettings
CoreShowChannelMap
CoreShowChannels
CoreStatus
CreateConfig
DAHDIDNDoff
DAHDIDNDon
DAHDIDialOffhook
DAHDIHangup
DAHDIRestart
DAHDIShowChannels
DAHDIShowStatus
DAHDITransfer
DBDel
DBDelTree
DBGet
DBGetTree
DBPut
DeviceStateList
DialplanExtensionAdd
DialplanExtensionRemove
Events
ExtensionState
ExtensionStateList
FAXSession
FAXSessions
FAXStats
Filter
GetConfig
GetConfigJSON
Getvar
Hangup
IAXnetstats
IAXpeerlist
IAXpeers
IAXregistry
JabberSend
ListCategories
ListCommands
LocalOptimizeAway
LoggerRotate
Login
Logoff
MWIDelete
MWIGet
MWIUpdate
MailboxCount
MailboxStatus
MeetmeList
MeetmeListRooms
MeetmeMute
MeetmeUnmute
MessageSend
MixMonitor
MixMonitorMute
ModuleCheck
ModuleLoad
Monitor
MuteAudio
Originate
PJSIPHangup
PJSIPNotify
PJSIPQualify
PJSIPRegister
PJSIPShowAors
PJSIPShowAuths
PJSIPShowContacts
PJSIPShowEndpoint
PJSIPShowEndpoints
PJSIPShowRegistrationInboundContactStatuses
PJSIPShowRegistrationsInbound
PJSIPShowRegistrationsOutbound
PJSIPShowResourceLists
PJSIPShowSubscriptionsInbound
PJSIPShowSubscriptionsOutbound
PJSIPUnregister
PRIDebugFileSet
PRIDebugFileUnset
PRIDebugSet
PRIShowSpans
Park
ParkedCalls
Parkinglots
PauseMonitor
Ping
PlayDTMF
PlayMF
PresenceState
PresenceStateList
QueueAdd
QueueChangePriorityCaller
QueueLog
QueueMemberRingInUse
QueuePause
QueuePenalty
QueueReload
QueueRemove
QueueReset
QueueRule
QueueStatus
QueueSummary
QueueWithdrawCaller
Redirect
Reload
SIPnotify
SIPpeers
SIPpeerstatus
SIPqualifypeer
SIPshowpeer
SIPshowregistry
SKINNYdevices
SKINNYlines
SKINNYshowdevice
SKINNYshowline
SendFlash
SendText
Setvar
ShowDialPlan
SorceryMemoryCacheExpire
SorceryMemoryCacheExpireObject
SorceryMemoryCachePopulate
SorceryMemoryCacheStale
SorceryMemoryCacheStaleObject
Status
StopMixMonitor
StopMonitor
UnpauseMonitor
UpdateConfig
UserEvent
VoicemailBoxSummary
VoicemailForward
VoicemailMove
VoicemailRefresh
VoicemailRemove
VoicemailUserStatus
VoicemailUsersList
WaitEvent