Tuesday, April 19, 2011

Cisco CUCM Web Dialer Form

As a proof of concept I decided to create a form to dial phone number based on a selection from a drop down.  Here's the working code:

<p style="font: 14pt/20pt Garamond, Georgia, serif;color:#ff9900;">Web Dialer</P>
<FORM name="foo" action="https://cucm-ip:8443/webdialer/Webdialer" method="get">
  
 <P>
    <INPUT type="hidden" name="cmd" value="doMakeCall">
    <input type="hidden" name="sub" value="false" />
    <input type="hidden" name="red" value="null" />
    <INPUT type="hidden" name="uid" value="username">
    <INPUT type="hidden" name="pwd" value="password">
    <select name="destination" onChange="document.forms['foo'].submit()">
     <option selected>choose a number..</option>
     <option value="917145551111">Cell</option> 
     <option value="917145552222">GVoice</option> 
     <option value="917145553333">Desk</option>
    </select>
    </P>
</FORM>

No comments:

The Network