|Ismerje meg, hogyan tudja beállítani és használni a legkorszerűbb mobil, VoIP, SMS és web funkciókat.|
In this command, an API extension calls a number and once the phone is picked up, a CallConnected request will be sent to the specified URL. In response to this request a set of commands in OzML format can be provided regarding this call. There are OzML examples on the bottom half of the page.
While using an IVR a client can order a call command. For example you could give your clients a method to give pre-recorded gift calls to their friends. For example your client could play a birthday or christmas song for his/her friend.
|Parameter name||Value||Description||Default value||Mandatory|
|The phone number you want to call. Can be provided between the command nodes.||(None)||Yes|
|The phone number of the API extension which makes the call.||(None)||Yes|
|The phone number the callee sees as the caller.||ApiExtension parameter value||No|
e.g. John Smith
|The displayed name of the caller.||ApiExtension parameter value||No|
|The URL the OzML response is downloaded from. If it is empty or the URL can't be downloaded then the call will be hung up.||(None)||Yes|
|This URL is requested if any errors occur during the call. If it is empty then there will be no error notification sent to it.||(None)||No|
<?xml version="1.0"?> <Response> <Call Url="http://yourdomain.com/ozml_example/call_connected.php" CallerId="3000">2310</Call> </Response>
1st the speach engine says: "We will call your friend, Joe and play him the birthday song." It dials 2310 and shows caller ID 3000 to the callee. After the callee picks it up the OzML runs from this link: http://yourdomain.com/birthday.php. In the end the speach engine tells you: "We are playing Joe the birthday song."
<?xml version="1.0"?> <Response> <Speak>We will call your friend, Joe and play him the birthday song.</Speak> <Call Url="http://yourdomain.com/birthday.php" CallerId="3000">2310</Call> <Speak>We are playing Joe the birthday song.</Speak> </Response>
After the target party picks the phone up it delays 1 second then says: "Congratulations, this is your first OzML Response command." Then it delays 1 more second and says: "Have a nice day!" Then it plays testsound.wav from the local C drive. Finally the call will be hung up.
After the target party picks the phone up it delays 1 second then says: "Hello, you will be transferred to another extension. Goodbye!" Then it blind transfers the target party to extension 101. If it can't be blind transfered the next command will execute which says: "Sorry, but blind transfer failed. Please setup extension number 101 in the system." and the call will be hung up.
After the target party picks the phone up it delays 1 second then says: "Hello, a test SMS will be sent." Then it tries to send an SMS to recipient 45026467 with this content: "Hello from Ozeki Phone System XE!" After that it delays 1 more second and the call will be hung up.
This speaks the 4 sentences between the <InitialCommands></InitialCommands> nodes repeatedly with a 10 second delay and scans the pressed numbers at the same time.
By pressing 1 an SMS will be sent to 45026467 containing: "Hello from Ozeki Phone System XE!"
By pressing 2 this sentence will be read by the speak engine: "You pressed button 2. You did nothing."
By pressing 3, you will be blind transferred to number 101. If the transfer was unsuccessfull it says: "Sorry, but blind transfer failed to extension 101."