cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
39
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Scott Brady on 28-12-2009 11:51:28 PM
I'm integrating my company's internal CRM with our Cisco phone system.  I'm implementing code to dial a number on an IP phone.  This is working...but I'd really like to force the IP phone to wait for the user to press a button on the keypad or something before actually making the call.  In other words, I want the CRM to send a phone number to the IP phone, but I don't want it to dial automatically.  This would help guarantee that the person placing the call is next to phone, thus preventing embarrasing situations with clients.
 
Currently, I'm using CiscoCall.connect(...) to make the call.

Subject: RE: It possible to prevent a call from dialing automatically?
Replied by: Chikeobi Njaka on 29-12-2009 12:27:02 AM
If your application has a HTTP server (Xlightweb, Jetty, etc), you can post CiscoIPPhoneMenu XML to the phone that allows the user to select a menu item in order to complete the call. Of course you can get really creative; for example, instituting a timeout, clearing the menu if the call is not made in X seconds, etc).

Subject: RE: It possible to prevent a call from dialing automatically?
Replied by: Scott Brady on 29-12-2009 10:58:11 PM
Thanks for your help.  Unfortunately, my CRM isn't running a web-server.
 
I've
found a straight forward soltuion to this problem.  The application
waits for the terminal to be in an active state before connecting:
 
                            while (true) {
                                int deviceState = terminal.getDeviceState();

                                if (deviceState == CiscoTerminal.DEVICESTATE_ACTIVE) {

                                    dialNumber();

                                    break;

                                }
                           }
 
My code does more than this, such as setting timeout, and waiting between retries.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links