HTML |
---|
<h2>Background</h2><p>As described <p>Allabove, ofwhen the websystem pagesprocesses andeach scriptsline thatof TIMPABX Enterprisedata, servesit areextracts protectedthe byvarious acomponents login that is provided by of a usercall when entering their username and password into a pop-up dialog presented by their web browser.</p> <p>In some situations, it is desirable to suppress this dialog box demanding the username and password. An example might be the deployment of a stand-alone computer displaying a pre-defined wallboard on a large screen; it would become tedious having to log in to the web page every time that computer is restartedrecord (eg. extension number, trunk, date components, duration components, etc.) using a lookup in the associated template file. For each type of call, the template file contains a line containing various characters which mark the position on each line of call data, where it should extract each element from.</p> <p>Different<p>The webfollowing browserscharacters behaveare differentlyused when asked to automaticallyextract logcall inrecord to web sites. Variously, they range components from completeeach prohibitionline of the practise to permitting it only if certain system parameters are configured.PABX data:</p> <h2>Specifics</h2> <p>In this article, details of how to allow automatic logging-in to a web page concerns the Microsoft Internet Explorer (version 6 and above) browsers only. Please consult your browser documentation for a solution related to your own choice of browser.</p> <p>The solution involves creating a specially-crafted URL in the following form:-</p> |
Code Block | ||
---|---|---|
| ||
http://username:password@serverhost/ |
HTML |
---|
<h2>Solution</h2>
<p>Although including the username and password in a URL is disabled by
default on Windows Internet Explorer since it is considered a security
risk, you can override this restriction by making the following changes
to the Windows Registry.</p> |
Warning |
---|
Since you'll be exposing a username and password as part of a URL, it is recommended that you create a dedicated web user object inside the TIM Enterprise directory that will be used solely for this purpose. See the Saving configurations page for details of how to set up a web user. |
HTML |
---|
<p>Open Windows Registry Editor, <span class="keyword">REGEDIT.EXE</span>, from the Windows <span class="keyword">Start Menu ? Run</span>. Locate the following registry key:-</p> |
Code Block | ||
---|---|---|
| ||
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE |
HTML |
---|
Inside this registry key, add the following <span class="keyword">DWORD</span> entries:- |
Code Block | ||
---|---|---|
| ||
IEXPLORE.EXE (Set DWORD value to 0, zero)
EXPLORER.EXE (Set DWORD value to 0, zero) |
HTML |
---|
<p>Close the Registry Editor and create a bookmark in Internet Explorer, specifying the URL as per the following example:-</p> |
Code Block | ||
---|---|---|
| ||
http://USERNAME:PASSWORD@HOSTNAME/display/?suiv=12345 |
HTML |
---|
<p>Replace the following items:-</p> <ul> <li><span class="keyword">USERNAME</span> replace with the username of the web user you use to access the page</li> <li><span class="keyword">PASSWORD</span> replace with the password of the web user you use to access the page</li> <li><span class="keyword">HOSTNAME</span> replace with the host name or IP address of the machine running TIM Enterprise</li> </ul> <h2>References</h2> <p>This information is available in more detail at the Microsoft Support site:-</p> <a href="http://support.microsoft.com/kb/834489">http://support.microsoft.com/kb/834489</a><table class="confluenceTable"> <tbody> <tr> <th class="confluenceTh" width=120>Character</th> <th class="confluenceTh" width=480>Cell record element</th> </tr> <tr> <td class="confluenceTd"><b>a</b></td> <td class="confluenceTd">Date: DAY</td> </tr> <tr> <td class="confluenceTd"><b>b</b></td> <td class="confluenceTd">Date: MONTH</td> </tr> <tr> <td class="confluenceTd"><b>c</b></td> <td class="confluenceTd">Date: YEAR</td> </tr> <tr> <td class="confluenceTd"><b>d</b></td> <td class="confluenceTd">Time: HOUR</td> </tr> <tr> <td class="confluenceTd"><b>e</b></td> <td class="confluenceTd">Time: MINUTE</td> </tr> <tr> <td class="confluenceTd"><b>f</b></td> <td class="confluenceTd">Time: SECOND</td> </tr> <tr> <td class="confluenceTd"><b>g</b></td> <td class="confluenceTd">Duration: HOURS</td> </tr> <tr> <td class="confluenceTd"><b>h</b></td> <td class="confluenceTd">Duration: MINUTES</td> </tr> <tr> <td class="confluenceTd"><b>i</b></td> <td class="confluenceTd">Duration: SECONDS</td> </tr> <tr> <td class="confluenceTd"><b>j</b></td> <td class="confluenceTd">Extension Number</td> </tr> <tr> <td class="confluenceTd"><b>k</b></td> <td class="confluenceTd">Trunk Access Code</td> </tr> <tr> <td class="confluenceTd"><b>l</b></td> <td class="confluenceTd">Dialled Number / Dialled Digits</td> </tr> <tr> <td class="confluenceTd"><b>m</b></td> <td class="confluenceTd">Trunk/Line Number</td> </tr> <tr> <td class="confluenceTd"><b>n</b></td> <td class="confluenceTd">Response Time: MINUTES</td> </tr> <tr> <td class="confluenceTd"><b>o</b></td> <td class="confluenceTd">Response Time: SECONDS</td> </tr> <tr> <td class="confluenceTd"><b>p</b></td> <td class="confluenceTd">Account Code</td> </tr> <tr> <td class="confluenceTd"><b>q</b></td> <td class="confluenceTd">Calling Line Identification (CLI)</td> </tr> <tr> <td class="confluenceTd"><b>r</b></td> <td class="confluenceTd">History: Value (historic)</td> </tr> <tr> <td class="confluenceTd"><b>s</b></td> <td class="confluenceTd">History: Pointer (historic)</td> </tr> </tbody> </table> |