SendMsg command
The SendMsg command can send a message to a specified connection. For example, you can send the message to an e-mail connection, that will forward this message to the specified address.
Parameters
Parameter name | Example value | Description | Mandatory |
Text | Hello world! | The content of the sent message. | yes |
ToAddress | test.ozeki@gmail.com | Some connections require a 'ToAddress' parameter. For example, the Gmail client connection sends the contents of the message to the email address provided here. | no |
ToConnection | gmail_client_1@localhost | It determines the connection where the message will be sent. | yes |
OzML example
This simple example is about to send an e-mail message to test.ozeki@gmail.com. So, first, the message will be routed to the connection, that you provided in the ToConnection attribute. Then this connection will send the message to the given address.
<?xml version="1.0"?> <Response> <SendMsg ToConnection="gmail_client_1@localhost" ToAddress="test.ozeki@gmail.com">Hello world!</SendMsg> </Response>
More information
- AttendedTransfer parancs
- BlindTransfer parancs
- Hívás parancs
- ForwardCall parancs
- ListCallHistory parancs
- Hangup parancs
- Hold parancs
- ListActiveCalls parancs
- ListExtensions parancs
- ListExtensionTypes parancs
- Lejátszás parancs
- Felvétel parancs
- Kérés parancs
- SendDTMF parancs
- Beszéd
- Unhold parancs
- ReceiveMessage parancs
- SendEmail parancs
- SendMessage parancs
- SendSMS parancs
- Tömb parancs
- Beep parancs
- Késleltetés parancs
- DeleteFile parancs
- ForEach parancs
- GoTo parancs
- MoveFile parancs
- Elutasítás parancs
- Útvonal parancs
- SendAlarmNotification parancs
- SendMsg parancs
- UserInput parancs
- Var parancs
- WaitForMsg parancs
- CallSetup parancs
- Kilépés parancs
- ListAddressbokkContacts
- ListAddressbookNames parancs
- ReceiveAlarmNotification