|Ismerje meg, hogyan tudja beállítani és használni a legkorszerűbb mobil, VoIP, SMS és web funkciókat.|
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.
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|
<?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 XE 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>"; ?>