- Installation guide
- Developers guide
- Quick start
- .Net API
- HTTP API
- SQL API
- Third Party Call Control
- OzML AttendedTransfer
- OzML BlindTransfer
- OzML Forward
- OzML Hangup
- OzML Hold
- OzML Play
- OzML Record
- OzML Route
- OzML SendDTMF
- OzML Speak
- OzML Unhold
- API Extension Control
- Install API extension
- Featured articles
The BlindTransfer command is used to connect two phones together. If the connection is established, the phone which connected the phones together will leave the conversation.
Command example usage:
It is used when a line disconnects between a client and a member of the support staff. Then a CallChanged notification is sent and the client is blind transfered to another suppert staff member.
|The call ID of the call you want to run the BlindTransfer command on. By default it is known from the CallChanged notification.||No|
(caller or callee)
|The party member who will make the transfer.||Yes|
|The phone number you want to transfer the party member to.||Yes|
|The ID, the caller, the callee and the duration of the call are sent to this URL.||No|
OzML simple example:
The callee is transferred to 1001.
<?xml version="1.0"?> <Response> <BlindTransfer TransferorParty="callee" Target="1001"></BlindTransfer> </Response>
1st it plays hello.wav from ContentStorage/Static directory
in Ozeki Phone System install directory to all participants of the phone call.
Then says to all participants: "The callee will be transfered to number 1001."
Then it transfers the callee to 1001.
<?xml version="1.0"?> <Response> <Play Party="all">hello.wav</Play> <Speak Party="all">The callee will be transfered to number 1001.</Speak> <BlindTransfer TransferorParty="callee" Target="1001" FinishedUrl="http://domain.com/proc.php"> </BlindTransfer> </Response>
You can see an example solution for processing the FinishedUrl parameter below. When the BlindTransfer is completed, this php file will be called. The application will log the details of the calls into a simple file, and send back an OzML response.
<?php $receiveTime = date("c"); $outString = "BlindTransfer Completed: ID = " .$_REQUEST['Id']. ",Caller=" .$_REQUEST['Caller']. ",Callee=" .$_REQUEST['Callee']. ",Duration=" .$_REQUEST['Duration']. ",Date=$receiveTime\r\n"; file_put_contents('BlindTransferLog.txt', $outString , FILE_APPEND); print "<Response>"; print "<Speak>Thank you for your call!</Speak>"; print "</Response>"; ?>
BlindTransfer command is used in OzML responses to this notification:CallChanged, RecordCompleted
- OzML AttendedTransfer HTTP command to Ozeki Phone System
- OzML Forward HTTP command to Ozeki Phone System
- OzML Hangup HTTP command to Ozeki Phone System
- OzML Hold HTTP command to Ozeki Phone System
- OzML Play HTTP command to Ozeki Phone System
- OzML Record HTTP command to Ozeki Phone System
- Route HTTP command response in OzML
- OzML SendDTMF HTTP command to Ozeki Phone System
- OzML Speak HTTP command to Ozeki Phone System
- OzML Unhold HTTP command to Ozeki Phone System