Permission is hereby granted, free of charge, to use, copy or modify this software. Use at your own risk.
Please submit problem or error reports to https://github.com/zgr024/CommPortal/issues
$cp = new CommPortal($dn,$password);
$session = $cp->_session;
$cp = new CommPortal($session);
Note: To use SSO you must install a certificate on the EAS server and create a private key file on your web server
$cp = new CommPortal($dn);
foreach ($cp->Voicemails as $voicemail) {
print_r($voicemail);
}
$voicemails = $cp->getVoicemails();
foreach ($voicemails as $voicemail) {
print_r($voicemail);
}
$oicemailCounts = $cp->getVoicemailsCounts();
$deletedVoicemailCounts = $cp->getDeletedVoicemailsCounts();
$deletedVoicemails = $cp->getDeletedVoicemails();
$url = getVoicemailURL($voicemailID);
getVoicemailURL($voicemailID,true,'filename.wav');
$busyForwarding = $cp->getCallForwarding('Busy');
$busyForwarding = setCallForwarding(true,'Busy',$number);
$busyForwarding = setCallForwarding(false,'Busy');
$classOfService = $cp->getClassOfService();
$classOfService = $cp->getClassOfService();
$classOfService = $cp->getCustomer();
$classOfService = $cp->get3Way();
$classOfService = $cp->getCustomer();