$sendFaxRequest->SendRef = "Send-Ref-1"; $sendFaxRequest->HeaderFormat = "Testing"; $sendFaxRequest->FaxMessages[] = $faxMessage; $sendFaxRequest->FaxMessages[] = $faxMessage2; $sendFaxRequest->Documents = array($document); $sendFaxRequest->CLI = 3456; /* Send request to Monopond */ $sendRespone = $client->sendFax($sendFaxRequest); /* Display response */ print_r($sendRespone); /* Setup FaxStatusRequest */ $faxStatusRequest = new MonopondFaxStatusRequest(); $faxStatusRequest->MessageRef = "test-2-1-1"; $faxStatusRequest->Verbosity = "all"; /* Send request to Monopond */ $faxStatus = $client->faxStatus($faxStatusRequest); /* Display response */ print_r($faxStatus); /* Setup StopFaxRequest */ $stopFaxRequest = new MonopondStopFaxRequest(); $stopFaxRequest->MessageRef = "test-2-2-1"; /* Send request to Monopond */ $stopFax = $client->resumeFax($stopFaxRequest); /* Display response */ print_r($stopFax); /* Setup StopFaxRequest */ $stopFaxRequest = new MonopondStopFaxRequest(); $stopFaxRequest->MessageRef = "test-2-2-1"; /* Send request to Monopond */ $stopFax = $client->stopFax($stopFaxRequest); /* Display response */