Cisco Unified Application Environment Developer Forums

« Back to Developers

Detect dial pattern

Combination View Flat View Tree View
Threads [ Previous | Next ]
is it possible to detect a particular dial pattern and generate alerts in CuCM 6.0?

For example if "1800" is dialed can the CuCM generate alerts or logs as the number is dialed?

Edited by: Vishnu Kannan on Feb 6, 2009 1:03 PM

Hello Vishnu, Is CUAE present in the mix. If yes, you can do couple of
things.

1. If the phone is monitored, you can get the digits in your application
and take any actions
2. You can setup a route pattern and use a SIP trunk to get the call to
the CUAE and in your application do any actions

Thanks,
Rajesh

-----Original Message-----
From: cuae-developers-bounces@developer.cisco.com
mailto:cuae-developers-bounces@developer.cisco.com On Behalf Of Vishnu
Kannan
Sent: Friday, February 06, 2009 12:03 PM
To: cuae-developers@developer.cisco.com
Subject: [Cuae-developers] Detect dial pattern

is it possible to detect a particular dial pattern and generate alerts
in CuCM 6.0?

For example if "1800" is dialed can the CuCM generate alerts or logs as
the number is dialed?

Edited by: Vishnu Kannan on Feb 6, 2009 1:03 PM
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

Rajesh,
 
Yes CUAE is there. i currently have an application that runs through the SIP Trunk. I am more interested in third party monitoring without interfering in the normal call flow. Can you guide me on how to monitor the phone to get a JTAPI call on a CUAE server? I can write a script which can handle that JTAPI call to do the stuff I want to do.
 
Thanks
--Vishnu
 
Hello Vishnu, Is CUAE present in the mix. If yes, you can do couple of
things.

1. If the phone is monitored, you can get the digits in your application
and take any actions
2. You can setup a route pattern and use a SIP trunk to get the call to
the CUAE and in your application do any actions

Thanks,
Rajesh

-----Original Message-----
From: cuae-developers-bounces@developer.cisco.com
mailto:cuae-developers-bounces@developer.cisco.com On Behalf Of Vishnu
Kannan
Sent: Friday, February 06, 2009 12:03 PM
To: cuae-developers@developer.cisco.com
Subject: [Cuae-developers] Detect dial pattern

is it possible to detect a particular dial pattern and generate alerts
in CuCM 6.0?

For example if "1800" is dialed can the CuCM generate alerts or logs as
the number is dialed?

Edited by: Vishnu Kannan on Feb 6, 2009 1:03 PM
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

hey Vishnu,
 
an approached we used was SNR. we configured SNR (with 0ms delay ring) remote device profiles for the specific numbers of interest. obviously, not a very scalable solution (SNR and Cost restrictions) however, for a small subset of numbers this process worked fine.
 
our situtation required that we monitor and responded to 8 emergency service numbers. each with SNR configured, that would route the second leg of the call to cuae. this allowed us to observe the incodent call, without disrupting the normal call flow.
 
Regan

Hi Vishnu,
 
You can monitor the phone in question by:
- Adding the device to an application user granted Standard CTI permissions (CCM end)
- Following this, creating a device pool (CUAE end) and adding the device to it
 
You can then use JTAPI APIs (pl refer to the API Reference guide - http://developer.cisco.com/static/cuae/2.5/2.5.1SR1/Designer/index.html) to monitor the device. In the particular case, you can use the JtapiIncomingCall API to monitor incoming calls to a particular number. For this, you will need to specify the number in the "To" section of the event parameters for the OnJtapiIncomingCall event.
You can also monitor incoming calls to multiple numbers by specifying the numbers in the "To" section in the form of a regular expression. Please see the 'Managing Applications' section of the 2.5 Administration Guide for further info on this (http://www.cisco.com/en/US/docs/voice_ip_comm/cuae/2_5/english/administration/guide/applications.html).
 
Hope this helps,
Neha

Hi Vishnu,
 
I am attaching here a simple CUAD application I've created to log calls made to a specified number.
Please let me know if you need any other information.
 
Thanks,
Neha
Attachments:

I greatly appreciate your help Neha. I will try it out and get back..
 
--Vishnu

Neha,
 
When I add a device to the Device pool at the CUAE end, the device blindly rejects any incoming calls. Am I missing any configurations? Do you happen to know why this happens?
 
--Vishnu

Hi Vishnu,
 
I'd check the following:
- Does your device show up on the CUAE as 'Enabled Running'?
- On the Application Configuration page (Applications> List Applications > > Basic Configuration) is the Call Route Group set to default CTI?
- On the CCM end, are the Calling Search Spaces of your calling and called phone both set to the same space?
 
Thanks,
Neha

Neha,
 
I was able to get that app running. Thanks for the help!
 
--Vishnu