[cisco-voip] CUCM 7-When did phone register

Adel Abushaev adel.abushaev at gmail.com
Fri May 20 18:00:45 EDT 2011


You can use RISPort SOAP to retrieve runtime device info. There are two
interesting fields, one is number of registration, which speaks for itself,
the other is a timestamp. I never looked into the value of the timestamp and
can't tell off top if it's the timestamp of the query or a timestamp of last
update of the structure.

I got the docs here: http://developer.cisco.com/web/sxml/docs - the site
might need a CDN registration of the CCO account, which is a one click
stuff.

RIS data is not stored in database, hence querying a table from admin shell
is not going to help in this particular case.

Cheers,

Adel.


Each Unified CMNode contains a sequence of devices and their registration
status.

<complexType name='CmNode'>

<sequence>

<element name='ReturnCode' type='tns:RisReturnCode'/>

<element name='Name' type='xsd:string'/>

<element name='NoChange' type='xsd:boolean'/>

<element name='CmDevices' type='tns:CmDevices'/>

</sequence>

</complexType>

<complexType name='CmDevices'>

<complexContent>

<restriction base='SOAP-ENC:Array'>

<sequence>

<element name='CmDevice' type='tns:CmDevice' minOccurs='0' maxOccurs='200'/>


</sequence>

</restriction>

</complexContent>

</complexType>

The Unified CM Device information contains the following information.

<complexType name='CmDevice'>

<sequence>

<element name='Name' type='xsd:string'/>

<element name='IpAddress' type='xsd:string'/>

<element name='DirNumber' type='xsd:string'/>

<element name='Class' type='tns:DeviceClass'/>

<element name='Model' type='xsd:unsignedInt'/>

<element name='Product' type='xsd:unsignedInt'/>

<element name='BoxProduct'type='xsd:unsignedInt'/>

<element name='Httpd' type='tns:CmDevHttpd'/>

<element name='RegistrationAttempts' type='xsd:unsignedInt'/>

<element name='IsCtiControllable' type='xsd:boolean'/>

<element name='LoginUserId' type='xsd:string'/>

<element name='Status' type='tns:CmDevRegStat'/>

<element name='StatusReason' type='xsd:unsignedInt'/>

<element name='PerfMonObject' type='xsd:unsignedInt'/>

<element name='DChannel' type='xsd:unsignedInt'/>

<element name='Description' type='xsd:string'/>

<element name='H323Trunk' type='tns:H323Trunk'/>

<element name='TimeStamp' type='xsd:unsignedInt'/>

</sequence>

</complexType>


On Fri, May 20, 2011 at 2:01 PM, Mark Pratt <Mark.Pratt at wageworks.com>wrote:

> Anyone know if it is possible and if so how to tell when a phone registered
> with CallManager? I would like to know date and time if possible. I am
> trying to determine if a specific phone is staying up or if it is
> re-registering at random times.
>
>
>
> Thanks
>
> Mark
>
>
>
> *Mark Pratt *
> Telecom Engineer, IT Operations
> *Direct:* 480.291.0431 |  *Mobile:* 602.284.3568 |
> *Email:* Mark.Pratt at wageworks.com <Mark.pratt at wageworks.com>
>
>
> [image: cid:image001.jpg at 01CAEC75.CDB3C580] <http://www.wageworks.com/>
>
> This is a confidential correspondence intended only for the recipient.
> Further distribution or dissemination is prohibited. Please delete if
> received in error. No part may be construed as tax or legal advice. Unless
> indicated otherwise, this email does not constitute a "writing" under
> E-SIGN/UETA, i.e., no contract or agreement is implied or intended.
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110520/899b111b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 11637 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110520/899b111b/attachment.jpg>


More information about the cisco-voip mailing list