Lieve Devvers,
BIj het plaatsen van het volgende bericht, met daarbij gebruik maken van php ipv code krijg ik de volgende error:
Het bericht:
BIj het plaatsen van het volgende bericht, met daarbij gebruik maken van php ipv code krijg ik de volgende error:
DIt is trouwens bij het drukken op voorbeeld, heb hem niet daadwerkelijk proberen te submitten.Fatal error: Maximum execution time of 30 seconds exceeded in /mnt/web/react/got/react/global/non-www/classes/rml_advanced.class.inc.php on line 1882
Het bericht:
tftp of http, afhankelijk van welke toestellen je heb verschilt de syntax waarin het moet komen te staan. Ik heb ervaring met de Linksys SPA942's, dit kan gewoon via http en had een xml-achtige syntax, stukje van scriptje wat ik er voor gebruik:
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56$config = array( 'Admin_Passwd' => 'admin', 'Connection_Type' => 'DHCP', 'Text_Logo' => $naam[$id], 'Select_Logo' => 'Text Logo', 'Select_Background_Picture' => 'Text Logo', 'Domain' => 'voip', 'Primary_DNS' => '192.168.2.129', 'Primary_NTP_Server' => '192.168.2.129', 'Syslog_Server' => '192.168.2.129', 'Voice_Mail_Number' => '50', 'Debug_Level' => 3, 'Enable_VLAN' => 'Yes', 'VLAN_ID' => '2', 'Station_Name' => $id, 'HostName' => 'LSYS-'.$id, 'Extension_1_' => 1, 'Short_Name_1_' => 'Extern', 'Extension_2_' => 1, 'Short_Name_2_' => 'Extern', 'Extension_3_' => 2, 'Short_Name_3_' => 'Support', 'Extension_4_' => '1', 'Short_Name_4_' => 'Intern', 'Provision_Enable' => 'yes', 'Resync_On_Reset' => 'yes', 'Profile_Rule' => 'http://192.168.2.129/spa942/'.$id, 'Upgrade_Enable' => 'no', 'Time_Zone' => 'GMT+02:00', 'Date_Format' => 'day/month', 'Time_Format' => '24hr', 'Line_Enable_1_' => 'yes', 'Proxy_1_' => '192.168.2.129', 'Display_Name_1_' => 'Hoofd', 'User_ID_1_' => $id, 'Password_1_' => weggehaald, 'Auth_ID_1_' => $id, 'Line_Enable_2_' => 'yes', 'Proxy_2_' => '192.168.2.129', 'Display_Name_2_' => 'Support', 'User_ID_2_' => $id2, 'Password_2_' => weggehaald, 'Auth_ID_2_' => $id2 ); echo '<flat-profile> '; #loopje door config values foreach($config as $value => $key) echo '<'.$value.'>'.$key.'</'.$value.'> '; # loopje door config values echo '</flat-profile>