How to find when new devices are added?

Version 1
    This document was generated from CDN thread

    Created by: Mayank Sharma on 07-01-2011 02:38:53 PM
    Is there a way to find when new devices (specifically phones) are added to the call manager through AXL or any other API.
     
    Thanks,
    Max

    Subject: RE: How to find when new devices are added?
    Replied by: Mayank Sharma on 07-01-2011 04:16:01 PM
    Currently there is no way to be notified of this.  About the only work-around is the query the entire list of devices periodically and check for differences.

     
    Thanks David. That was my first instinct.

    Subject: RE: How to find when new devices are added?
    Replied by: douglas conklin on 08-01-2011 01:48:11 AM
    If you add a new device to UCM and then associate it to the JTAPI user, then true, you would get an event.  Usually it's impractical to associate every phone to a JTAPI user, and will exceed performance limits at some point.

    Not to mention that would have to be a part of your provisioning process for every phone: no exceptions.
     
    Association limit for phones per user is still 2000?
     
    Thanks for the clarification, we were trying to figure out from the docs exactly what would trigger that event.
     

    Subject: RE: How to find when new devices are added?
    Replied by: David Staudt on 07-01-2011 04:04:02 PM
    Currently there is no way to be notified of this.  About the only work-around is the query the entire list of devices periodically and check for differences.

    Subject: RE: How to find when new devices are added?
    Replied by: Stefan Slominski on 07-01-2011 07:48:03 PM
    mmh, what about JTAPI ?
    public interface CiscoTermCreatedEv extends CiscoProvEv

    Subject: RE: How to find when new devices are added?
    Replied by: douglas conklin on 07-01-2011 11:31:01 PM
    mmh, what about JTAPI ?
    public interface CiscoTermCreatedEv extends CiscoProvEv


    I'm pretty sure that:
     
    1) device added != device registered.
    and
    2) device registered != term created.
     
        To Mayank: Just out of curiosity, are you asking how to detect when a device is added to the CUCM, or registered?
     
        Regards,
        Douglas D. Conklin
     

    Subject: RE: How to find when new devices are added?
    Replied by: David Staudt on 08-01-2011 01:33:30 AM
    If you add a new device to UCM and then associate it to the JTAPI user, then true, you would get an event.  Usually it's impractical to associate every phone to a JTAPI user, and will exceed performance limits at some point.

    Subject: RE: How to find when new devices are added?
    Replied by: Stefan Slominski on 10-01-2011 10:59:37 AM
    @ Douglas:
    TermCreated = Device added
    CiscoProvTerminalRegisteredEv = Device registered
     
    @ David:
    true, you would have to assign this Terminal to JTAPI user.
    is there no way to configure a user with a right/privilege to control all devices autom. without configuring each one?
     
    for environments with less than 2000 phones (if this limit in fact is still 2000) this would be VERY useful!
    we have some environments with over 1000 phones and a self-written service which observes all phones for certain events.
    we see no performance issues

    Subject: RE: How to find when new devices are added?
    Replied by: Mayank Sharma on 10-01-2011 01:18:11 PM

     
        To Mayank: Just out of curiosity, are you asking how to detect when a device is added to the CUCM, or registered?
     
        Regards,
        Douglas D. Conklin
     

    Douglas-
    I am looking for when devices are added, not registered.
    Thanks.