How to catch ALL call events with JTAPI

Hi,
I have my JTAPI application witch is listening for ALL calls that are placed on CUCM system. Based on this information this software is making some routing decisions. At present getting the information about all calls is very inconvenient - I have to track all events from all phones, so my CTI user has to have ALL phones on its Controlled Devices List.
Is there more intelligent way of getting all call events without controlling every single device? I am interested in any version of CM or CUCM.
Regards,
Andrius Kislas
CCIE #18338 Voice

According to the documentation, lineMonitorTones should be available (though that's the 7.0 documentation I'm looking at) - going through a wrapper always add another place where things can go wrong. E.g. we're supposed to get device state events with the latest version but when I tried I still got nothing. If you can handle tapi browser you might want to try it and see if it works, and if so, get in touch with the developer of the lib (I did once... really nice and helpful guy).
Alternatively, there's no need to catch digits.. you may not even be able to terminate the call in the status you're looking at so you could just listen to call events and get the first one where the call actually starts (as in "all digits dialed") and terminate it then.. it probably won't make much of a difference either unless you want to prevent people from making certain calls and cut them off after a few digits.. but that is better done using partitions and css.. they are meant to prevent people from calling certain numbers and it would be ill advised to duplicate this functionality in your own software (which after all could fail every now and then.. or the app could lose the connection to the server, etc.)

Similar Messages

  • How to return all columns starting with E?

    How to return all columns starting with E in emp table?
    My attempts (below) were unsuccessful.
    SQL> SELECT E* from emp;
    SELECT E* from emp
    ERROR at line 1:
    ORA-00936: missing expression
    SQL> SELECT E.* FROM EMP;
    SELECT E.* FROM EMP
    ERROR at line 1:
    ORA-00904: "E": invalid identifier
    SQL> SELECT EMP.E* FROM EMP;
    SELECT EMP.E* FROM EMP
    ERROR at line 1:
    ORA-00936: missing expression

    You need to do it dynamically:
    SQL>  var cur refcursor
    SQL>  declare
      co varchar2(40);
    begin
      for c in (select column_name from cols where table_name = 'EMP' and column_name like 'E%') loop
        co := co || c.column_name || ',';
      end loop;
      open :cur for 'select '|| rtrim(co,',') || ' from emp';
    end;
    PL/SQL procedure successfully completed.
    SQL>  print cur
         EMPNO ENAME    
          7369 SMITH    
          7499 ALLEN    
          7521 WARD     
          7566 JONES    
          7654 MARTIN   
          7698 BLAKE    
          7782 CLARK    
          7788 SCOTT    
          7839 KING     
          7844 TURNER   
          7876 ADAMS    
          7900 JAMES    
          7902 FORD     
          7934 MILLER   
    14 rows selected.

  • How to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?

    how to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?
    I have tried with dsquery below but status is not showing there.
    dsquery * -filter "(objectCategory=computer)" -attr name operatingSystem

    last logon user name - not really stored (or lined) with computer object.  However, you can get this info during the logon process or from the computer.  Here is method:
    http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • How to set all new vm with VLAN ID as a default settings and alose set the avaiablity high .

    How to set all new vm with VLAN ID as a default settings and alose set the avaiablity high .

    Hi Ramy,
    As a work around , you can create a VM without installing OS and  configure the Vlan of VNic , then export it .
    The new VM will be with Vlan ID when you import the "export file".(note : you need to select "copy the virtual machine " in the tab "choose import type" during importing ) .
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to catch the mouse event from the JTable cell of  the DefaultCellEditor

    Hi, my problem is:
    I have a JTable with the cells of DefaultCellEditor(JComboBox) and added the mouse listener to JTable. I can catch the mouse event from any editor cell when this cell didn't be focused. However, when I click the editor to select one JComboBox element, all the mouse events were intercepted by the editor.
    So, how can I catch the mouse event in this case? In other word, even if I do the operation over the editor, I also need to catch the cursor position.
    Any idea will be highly appreciated!
    Thanks in advance!

    Hi, bbritta,
    Thanks very much for your help. Really, your code could run well, but my case is to catch the JComboBox event. So, when I change the JTextField as JComboBox, it still fail to catch the event. The following is my code. Could you give me any other suggestion?
    Also, any one has a good idea for my problem? I look forward to the right solution to this problem.
    Thanks.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test3
    extends JFrame {
    // JTextField jtf = new JTextField();
    Object[] as = {"aa","bb","cc","dd"};
    JComboBox box = new JComboBox(as);
    public Test3() {
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container content = getContentPane();
    String[] head = {
    "One", "Two", "Three"};
    String[][] data = {
    "R1-C1", "R1-C2", "R1-C3"}
    "R2-C1", "R2-C2", "R2-C3"}
    JTable jt = new JTable(data, head);
    box.addMouseListener(new MouseAdapter() {
    // jtf.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e)
    System.out.println("-------------------JComboBox mouseclick....");
    jt.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e)
    System.out.println("-------------------JTable mouseclick....");
    // jt.setDefaultEditor(Object.class, new DefaultCellEditor(jtf));
    jt.setDefaultEditor(Object.class, new DefaultCellEditor(box));
    content.add(new JScrollPane(jt), BorderLayout.CENTER);
    setSize(300, 300);
    public static void main(String[] args) {
    new Test3().setVisible(true);
    }

  • Catch all menu events

    Hi, I'm using SAP B1 8.81 with B1DE.
    I have added a large number of custom menu items in an add-on.
    Normal B1DE menu click handling would mean I have to create a class for each created menu and set it's menu Id to filter for the click on the specific menu.
    I want to catch all menu clicks and based on the menuId, call some proc that "knows" what to do for the id in question.
    Is there any way to set up an event handler which will respond to all menu clicks??
    Regards,
    Ben

    Hi Ben
    Use this code  in your EventsHandler class
    <B1Listener(BoEventTypes.et_MENU_CLICK, True)> _
                Public Overridable Function OnBeforeMenuClick(ByVal pVal As MenuEvent) As Boolean
                Dim form As Form = B1Connections.theAppl.Forms.ActiveForm
                'GENERATED CODE
                Return True
            End Function
    <B1Listener(BoEventTypes.et_MENU_CLICK, False)> _
            Public Overridable Sub OnAfterMenuClick(ByVal pVal As MenuEvent)
                'ADD YOUR ACTION CODE HERE ...
            End Sub
    Hope this helps
    Regards
    Arun

  • How to catch ALL Exception in ONE TIME

    I'm explain my issue:
    I'm making a program with Class, Swing, Thread ...
    Then all action I do on my graphical application, I use a new thread, well
    I want to capture in my Startup programs, all unknow exception and then, I display it with a JOptionPane for example
    In fact, I want to do something like Eclipse, when it crash, I capture the error
    Could you help me ? Tell me the best way to do that ?
    This is an exemple
    FILE: Startup.java
    class Startup{
    public static main (String args[]){
    try{
    new Main();
    }catch(Throwable e){
    //Message d'erreur fenetre
    FILE: Main.java
    class Main{
    Main(){
    init_action();
    void init_action(){
    mybutton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e){
    Thread th=new Thread(){
    public void run(){
    int a = 1 / 0;
    th.start();
    Well, in this example I want to capture the Divide By 0, I use the Throwable Exeption, in order to be sure I catch all unknow exeption
    Then, a good job, is to put throws Throwable in all function
    but Thread, and ActionPerformed ... could not implement it
    How to put this exception and jump it to Startup Program ?

    I already do that, what can I do for improving capture ?
    That's impossible ... It will be a great idea to make a Redirection of Error to a Exception class in futur version
    For example, when an unknow error arrive, don't show it on console and crash ... but run a class redirector exception, and magic, it show you a beautiful error warning, and stop properly the programme ...
    I put an error class, and put try {] catch {} everywhere, and run my exception class,
    this class detect the error exception and run a properly beautiful and clear french message (I'm french :d)
    Well, If you have the BEST other idea, tell me, I read your message with a lot of regard
    see you soon
    bye

  • How to set "All day event " as default in Calendar in 9630

    In BB 9630 how do I set "All day event " as the default in Calendar?

    Hello,
    You asked the same question twice, albeit the first time in the wrong place:
    http://supportforums.blackberry.com/t5/BlackBerry-Curve-BlackBerry-8300/How-to-check-as-default-quot...
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to sync all day events on my calendar

    Hello!
    I am able to sync but it is not pulling in the all day events I have set up on my calendar.  I went into the configuration in the BB desktop software but I am unable to choose that column on my device and match it to one in outlook. 
    I use the all day feature a lot to keep track of b-days and anniversaries and such.  Is there a way to do this or a better way way to record these items on my calendar?
    Thank you for your suggestions and help!  Have a fabulous day!!!
    --AKrubygal

    If this is a subscribed calendar that is pulling the events from another server on the internet, and you have a CDMA phone (such as Verizon or Sprint), it may be because your carrier doesn't support simultaneous voice and data (i.e., when you're talking on the phone, the data connection is suspended dropping the subscribed calendar until you're finished with the call).  This is just a guess; I can't confirm this with my phone as I have AT&T which supports simultaneous voice and data.

  • How to catch browser close event excluding navigation events

    Hi,
    I tried using onBeforeUnload event and onUnload events.. but they are catching navigation events within the same site. Could you please let me know how I can catch browser close events without catching Navigation events?
    Thanks.

    Just set them to null when navigation takes place.
    Said that, you should be asking Javascript/DHTML related questions in a forum devoted to Javascript/DHTML. There are ones at webdeveloper.com and dynamicdrive.com. This has nothing to do with Java.

  • How to catch menu click events from B1AddOn Wizard

    Dear Friends,
    I'm adding some custom menus to the SAP BO main menù using B1 Addon Wizard generated code, but then I don't know how to catch the events generated by the menus.
    Thank you for attention
    Massimo

    Thank you Eddy,
    I had a look at the help, but there it is not explainsed that events can be attached only to string menus!!
    It was attempting to do something wrong.
    A further question: is it possible to add new menus and related events to an existing project (I tried with new item and then B1 Addon Component, but it doesn't let me add new menus)?
    Thanks again
    Masimo

  • How to move Projects and Events with iPhoto video included in iMovie '11?

    I work with a group of educators using iPads for video. One method for getting their clips into iMovie '11 is via iPhoto and then using the iPhoto Video link in iMovie to get the footage on a timeline (trying to import directly into iMovie '11, using the iPad as a "camera", has proved inconsistent, especially with footage from iStopMotion or Filmic Pro 1 and 2).
    The problem is, when it comes time to copy or move an event and project, the iPhoto clips don't come along; they are dependent on the iPhoto library, so you can't continue editing on a different machine. I tried File > Consolidate Media, but it was inactive (in my test project, all clips came from iPhoto). If I look at Reveal in Browser, it goes to the bowels of the iPhoto library. If I copy the project to another drive, it too, points to the iPhoto library (if I'm on the same machine; otherwise it doesn't see it). I also tried optimizing the footage in the hope that it would create an Event with optimized clips that I could then transfer.
    Am I missing something? It seems nuts that you can't transfer work to another machine without manually picking through the bowels of iPhoto. These days, lots of shooting is done on iPads and iPhones. Any help would be appreciated.

    My suggestion would be that in the future, they upload photos only to iphoto, and upload video clips directly to iMovie. In the early days of iOS, going through iPhoto was the only way, so it is a habit that I have had to break.
    With iOS 5 and 6, iMovie now recognizes the iPhone and the iPad as cameras.
    I agree that the Consolidate Media command should bring over iPHoto movies along with the photos. I suggest that you go to iMovie/Provide Feedback and let the developers know that you would like this feature.

  • Unable to sync All Day events with a Nokia 61i phone in Mac OS X 10..4.10

    When I sync events that are created in iCal with a Nokia 61i some events is OK other not. What can I do to get everything right?

    First, please check as follows.
    * Launch iSync.
    * Click the icon of your phone.
    * Check the calendar (category) you'd like to sync is checked.
    * Click "option".
    * Check "Sync all day event" is checked.
    I can sync all day events by this way, but have trouble on my N73.
    All day events are synced as "meeting" starting from 12:00am to 11:59pm.
    In iCal, I have a lot of all day events including holidays, so the weekly view is full of black bars covering whole days.
    Should it be synced as "notes"?
    http://discussions.apple.com/thread.jspa?messageID=4513866&tstart=0#4513866
    I hear this problem is partly solved on iSycn 3.0 in Leopard.

  • How to prevent all day events from showing up in notifications?

    When I pull down my notifications list, I want to see the meetings I have for the day.  But notifications is showing me every all day event as well, such as birthdays, holidays, etc.  This happens even though those calendars are not selected in iCal on the phone.  Also, if I try to make an appointment using Siri, she tells me that my appointment conflicts with an appointment I already have:  such as Columbus Day!  Is there a way around this?

    Anyone there?

  • How to delete all the events and create new events from scratch?

    I have all my photos separated into albums and I would like these albums to be considered events in iPhoto. The problem is that there are already lots of events in my iPhoto library that are not "real" events. It just so happens they were uploaded at a certain time and during one of my upgrades of iPhoto all these different uploads became different events. Of course, there are some albums I would like to become a single event as well...but I am not sure how to strip all of my photos of events and then add the photos to new events?

    Select all the pics in an Album and Flag them.
    Then go Events Menu -> Create Event from Flagged Photos
    A new Event is created that moves the pics from their existing Event
    Unflag the Photos then move to the next album. Repeat.
    Regards
    TD

Maybe you are looking for

  • Combine Multiple Worksheets into one table

    Hello Everyone! I have 2 Excel worksheets within the same workbook. Both have identical tables with almost the same fields except for 2 or 3 different columns in one of the sheets. Currently I have a macro assigned to a button on one of the sheets an

  • Cannot Print/Save PDF To Destination

    I have historically created PDF files from various applications with the ability to save the PDF document to a specific destination folder. Now when I choose Adobe PDF 8.0 from the Mac printer options, the new PDF file is created and located on my de

  • PS CC Converting to profile and embedding a profile

    Hi, I just started using PS CC 2014. I have a number of variables that have changed, such as a new iMac, secondary monitor etc. I am working in aRGB when processing and I go to print via the Canon plug-in for Photoshop. I convert to profile using the

  • Finished podcast missing tracks on playback

    OK, my brother's a digital audio engineer. I'm not. I recorded students in class using (a very grindy-sounding) iPod 80G and a Griffin iTalk mic. Uneven, but it was the first time. I didn't even try to fool with taking out the whirring disk noise und

  • Variable Credit Card Payments

    I'd like to develop an application but I need to know if it is possible to make users pay variable amount of money directly through my application.