Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hello all,
 
I am just starting to play with AXL and an idea I have had for a while for phone administration. I am wondering if its posible to reference phone templates in the BAT secion of CCM admin when adding a phone through AXL?

 
Also as I said I am new to this so I am still trying to understand the CUCM admin XML Interface Spec. Is there a document somewhere that explains how to use it. for example what's the difference between Elements, Complex types, and Simple types?
 
Thank you for the help
Jacob.

It looks like the BAT templates of each type (e.g. phone) are stored in their respective tables in UCM, but marked as template types.  For example:
 
>run sql select name from device where tkclass = 253
 
will return all of the BAT phone templates.  ('253' in the 'typeclass' table is 'Phone Template')
 
You could then use AXL GetPhone to retrieve the details of a particular template, and use those settings in an AXL addPhone request.
 
There is no way to 'shortcut' filling out the addPhone fields by just specifying the template name...

How to add phone using Phone Template in CUCM 9 using C#?

Hi,
I'm trying to achieve the same thing. I'm not using a BAT phone template but a simple device. The idea is to create a new device by copying another one, just changing some properties like DN, MAC, ...
Using C# and the Proxy class, I'm unable to fill my new device (XPhone) with the properties of the device template which I got from an AXL Getphone Request(RPhone). Explicit and Implicit Casting isn't working between XPhone and RPhone. :-(
E.g: Xphone.Xbusylampfieds=RPhone.Xbusylampfields or Xphone.lines=RPhone.lines
How are you handling this in your code?
any example is welcome
Regards,
./WM

Crossposted: http://developer.cisco.com/web/axl/community/-/message_boards/view_message/9382619