}
}
+ /**
+ * get phone book entrys
+ *
+ * @return array
+ */
+ public function getPhoneBookEntrys () {
+ $data = $this->getData('PhoneBook');
+ $data = $this->getValues($data);
+
+ if (isset($data['addbookentry'])) {
+ return $data['addbookentry'];
+ }
+ else {
+ return array();
+ }
+ }
+
/**
* get uptime based on online (connection) time
*
--- /dev/null
+<?php
+require_once('config.php');
+print_r($sp->getPhoneBookEntrys());
+$sp->logout();
<?php
require_once('config.php');
-print_r($sp->changeConnectionStatus('offline'));
+print_r($sp->changeDSLStatus('offline'));
print_r($sp->reconnectLte());
-print_r($sp->changeConnectionStatus('online'));
+print_r($sp->changeDSLStatus('online'));
$sp->logout();