Ticket #2762: install.php

File install.php, 2.2 kB (added by Nick_Lewis, 8 months ago)
Line 
1 <?php
2
3 // Unconditional Call Forwarding
4 $fcc = new featurecode('callforward', 'cfon');
5 $fcc->setDescription('My Call Forward All Activate');
6 $fcc->setDefault('*72');
7 $fcc->update();
8 unset($fcc);
9
10 $fcc = new featurecode('callforward', 'cfoff');
11 $fcc->setDescription('My Call Forward All Deactivate');
12 $fcc->setDefault('*73');
13 $fcc->update();
14 unset($fcc);
15
16 $fcc = new featurecode('callforward', 'cfon_any');
17 $fcc->setDescription('Remote Call Forward All Activate');
18 $fcc->setDefault('*76');
19 $fcc->update();
20 unset($fcc);
21
22 $fcc = new featurecode('callforward', 'cfoff_any');
23 $fcc->setDescription('Remote Call Forward All Deactivate');
24 $fcc->setDefault('*74');
25 $fcc->update();
26 unset($fcc);
27
28 // Call Forward on Busy
29 $fcc = new featurecode('callforward', 'cfbon');
30 $fcc->setDescription('My Call Forward Busy Activate');
31 $fcc->setDefault('*90');
32 $fcc->update();
33 unset($fcc);
34
35 $fcc = new featurecode('callforward', 'cfboff');
36 $fcc->setDescription('My Call Forward Busy Deactivate');
37 $fcc->setDefault('*91');
38 $fcc->update();
39 unset($fcc);
40
41 $fcc = new featurecode('callforward', 'cfbon_any');
42 $fcc->setDescription('Remote Call Forward Busy Activate');
43 $fcc->setDefault('*93');
44 $fcc->update();
45 unset($fcc);
46
47 $fcc = new featurecode('callforward', 'cfboff_any');
48 $fcc->setDescription('Remote Call Forward Busy Deactivate');
49 $fcc->setDefault('*92');
50 $fcc->update();
51 unset($fcc);
52
53 // Call Forward on No Answer/Unavailable (i.e. phone not registered)
54 $fcc = new featurecode('callforward', 'cfuon');
55 $fcc->setDescription('My Call Forward No Answer Activate');
56 $fcc->setDefault('*52');
57 $fcc->update();
58 unset($fcc);
59
60 $fcc = new featurecode('callforward', 'cfuoff');
61 $fcc->setDescription('My Call Forward No Answer Deactivate');
62 $fcc->setDefault('*53');
63 $fcc->update();
64 unset($fcc);
65
66 $fcc = new featurecode('callforward', 'cfuon_any');
67 $fcc->setDescription('Remote Call Forward No Answer Activate');
68 $fcc->setDefault('*57');
69 $fcc->update();
70 unset($fcc);
71
72 $fcc = new featurecode('callforward', 'cfuoff_any');
73 $fcc->setDescription('Remote Call Forward No Answer Deactivate');
74 $fcc->setDefault('*58');
75 $fcc->update();
76 unset($fcc);
77
78 // Call Forward All to Here
79 $fcc = new featurecode('callforward', 'cfhon');
80 $fcc->setDescription('Remote Call Forward All Here');
81 $fcc->setDefault('*96');
82 $fcc->update();
83 unset($fcc);
84
85 ?>
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads