Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (15 sloc) 384 Bytes
<?php
require_once dirname(__FILE__)."/sip.base.php";
error_reporting(E_ALL^E_NOTICE);
debug_output("Starting ...");
// Try registering
try {
$sipClient = new BaseSipClass("1001", "127.0.0.1");
$sipClient->debug = TRUE;
$sipClient->register();
$sipClient->close();
} catch (Exception $e) {
die("Caught exception ".$e->getMessage."\n");
}
debug_output("Ending ...");
?>
Something went wrong with that request. Please try again.