d92024246ced4765386caed212acebe090c96142
1 <h2><img alt="" align="middle" src="images/select_phone.png"> {t}Specific Phone settings{/t}</h2>
3 <table width="100%" cellpadding=10>
4 <tr>
5 <td width="40%" colspan="2">
6 <table width="100%">
7 <tr>
8 <td>
9 {t}Phone type{/t}{$staticAddress}
10 <select size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" style="width:200px;" onchange="mainform.submit();">
11 {html_options options=$categories selected=$selected_categorie}
12 </select>
13 <input type="submit" value="{t}refresh{/t}" name="refresh">
14 </td>
15 </table>
16 </tr>
18 {if $selected_categorie eq '0'}
20 <tr>
21 <td>
22 <table>
23 <tr>
24 <td>
25 {t}Mode{/t}{$staticAddress}
26 </td>
27 <td>
28 <select size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
29 {html_options options=$goFonTypes selected=$goFonType}
30 </select>
31 </td>
32 </tr>
33 <tr>
34 <td >
35 {t}DTMF mode{/t}
36 </td>
37 <td>
38 <select size="1" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
39 {html_options options=$goFonDmtfModes selected=$goFonDmtfMode}
40 </select>
41 </td>
42 </tr>
43 <tr>
44 <td >
45 {t}Default IP{/t}
46 </td>
47 <td>
48 <input style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
49 </td>
50 </tr>
51 <tr>
52 <td >
53 {t}Response timeout{/t}
54 </td>
55 <td>
56 <input style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
57 </td>
58 </tr>
59 </table>
60 </td>
61 <td>
62 </td>
63 </tr>
64 </table>
65 {/if}
67 {if $selected_categorie eq '1'}
69 <tr>
70 <td style="vertical-align:top">
71 <table width="100%">
72 <tr>
73 <td width="25%">
74 {t}Modus{/t}{$staticAddress}
75 </td>
76 <td >
77 <select size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
78 {html_options options=$goFonTypes selected=$goFonType}
79 </select>
80 </td>
81 </tr>
82 <tr>
83 <td >
84 {t}Default IP{/t}
85 </td>
86 <td>
87 <input style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
88 </td>
89 </tr>
90 <tr>
91 <td >
92 {t}Response timeout{/t}
93 </td>
94 <td>
95 <input style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
96 </td>
97 </tr>
98 <tr>
99 <td colspan=2>
100
101 </td>
102 </tr>
103 <tr>
104 <td width="25%">
105 {t}Authtype{/t}
106 </td>
107 <td>
108 <select size="1" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
109 {html_options options=$goFonAuths selected=$goFonAuth}
110 </select>
111 </td>
112 </tr>
113 <tr>
114 <td>
115 {t}Secret{/t}
116 </td>
117 <td>
118 <input style="width:200px" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
119 </td>
120 </tr>
121 <!-- <tr>
122 <td>
123 {t}GoFonInkeys{/t}
124 </td>
125 <td>
126 <input style="width:200px" name="goFonInkeys" value="{$goFonInkeys}" {$goFonInkeysUSED}>
127 </td>
128 </tr>
129 <tr>
130 <td>
131 {t}GoFonOutKeys{/t}
132 </td>
133 <td>
134 <input style="width:200px" name="goFonOutkey" value="{$goFonOutkey}" {$goFonOutkeyUSED}>
135 </td>
136 </tr> -->
137 <tr>
138 <td colspan=2>
139
140 </td>
141 </tr>
142 <tr>
143 <td>
144 {t}Account code{/t}
145 </td>
146 <td>
147 <input style="width:200px" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
148 </td>
149 </tr>
150 <tr>
151 <td width="25%">
152 {t}Trunk lines{/t}
153 </td>
154 <td>
155 <select size="1" name="goFonTrunk" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTrunkUSED}>
156 {html_options options=$goFonTrunks selected=$goFonTrunk}
157 </select>
158 </td>
159 </tr>
161 </table>
162 </td>
163 <td valign="top" style="vertical-align:top">
164 <table width="100%">
165 <tr>
166 <td style="vertical-align:top;">
167 {t}Hosts that are allowed to connect{/t}<br>
168 <select style="width:300px; height:80px;" name="goFonPermitS" size=15
169 multiple title="{t}List of alternative mail addresses{/t}">
170 {html_options values=$goFonPermit output=$goFonPermit}
171 <option disabled></option>
172 </select>
173 <br>
174 <input name="goFonPermitNew" size=30 align="middle" maxlength="65" value="">
175 <input type=submit value="{t}Add{/t}" name="goFonPermitAdd"
176 <input type=submit value="{t}Delete{/t}" name="goFonPermitDel"
177 <br><br>
178 </td>
179 </tr>
180 <tr>
181 <td style="vertical-align:top;">
182 {t}Hosts that are not allowed to connect{/t}<br>
183 <select style="width:300px; height:80px;" name="goFonDenyS" size=15
184 multiple title="{t}List of alternative mail addresses{/t}">
185 {html_options values=$goFonDeny output=$goFonDeny}
186 <option disabled></option>
187 </select>
188 <br>
189 <input name="goFonDenyNew" size=30 align="middle" maxlength="65" value="">
190 <input type=submit value="{t}Add{/t}" name="goFonDenyAdd"
191 <input type=submit value="{t}Delete{/t}" name="goFonDenyDel"
192 </td>
193 </table>
194 </td>
195 </td>
196 </tr>
197 </table>
198 {/if}
200 {if $selected_categorie eq '2'}
201 <tr>
202 <td>
203 <table width="100%">
204 <tr>
205 <td width="25%">
206 {t}MSN{/t}
207 </td>
208 <td>
209 <input style="width:200px" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
210 </td>
211 </tr>
212 </table>
213 </td>
214 <td>
215
216 </td>
217 </tr>
218 </table>
219 {/if}