cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
296
Views
1
Helpful
1
Replies
Highlighted
Rising star

creating device profile template - how to set tkdeviceprofile

Having mastered (or.. found all the bugs ) in phone template creation, I've now moved on to device template creation.

My first attempt was successful, so I figured I was off to a good start. Exception that for the life of me, I couldn't get the UDP Template listed. I checked the database, and the record was there. Finally, I searched under the regular device profiles Device - Device Settings - Device Profile, and it was there.


I figured perhaps it wasn't considering my class attribute, so I checked the AXL logs:


2017-10-26 19:41:28,621 DEBUG [http-bio-443-exec-225] axlapiservice.Handler - insert into Device ( Description,tkDeviceProtocol,ignorePI,tkProtocolSide,fkPhoneTemplate,tkDNDOption,Name,tkUserLocale,tkStatus_AlwaysUsePrimeLineForVM,tkClass,tkStatus_AlwaysUsePrimeLine,tkBarge,tkStatus_joinacrosslines,UserHoldMOHAudioSourceID,pkid,tkDeviceProfile,tkPreemption,tkProduct ) values ( 'template','11','f','1','dc22560e-9f27-44e0-9d32-f1118bc5c2fb','2','Template UDP CIPC','1','2','252','2','3','2','1','e6b48e36-9b87-4343-766b-a043400a3ed0','1','0','30041' )


tkClass is 252 which is UDP Template. Sounds like what I want, right? Then I compared a record that I created in ccmadmin. Using AXL I didn't get anywhere so I went back to the database, and found that records that show up where they should have tkclass = 252 (DeviceProfile), and tkdeviceprofile = 4 (User Template Profile). And, the record I created  has tkclass = 254 and tkdeviceprofile. So, it seems that AXL once again forgets to realize I actually want a template. And for some reason, the database turns that insert with tkClass = 252 into a record that has tkclass 254.


If I then run an sql query to update tkClass (set it to 252) and tkdeviceprofile (set it to 4) the item finally shows up where it's supposed to.


To illustrate what's going on, here's my AXL create and an sql get that shows how the insert inserts a different value than the get extracts again from the database:


2017-10-26 20:21:55,036 DEBUG [http-bio-443-exec-165] filters.TimingFilter - Received request 1505911707762 from sdkuser at IP 10.80.0.168

2017-10-26 20:21:55,037 DEBUG [http-bio-443-exec-165] wrappers.RequestHeaderWrapper - Inside Request Header Wrapper

2017-10-26 20:21:55,037 DEBUG [http-bio-443-exec-165] filters.AuthenticationFilter - Operation:add api:addDeviceProfile

2017-10-26 20:21:55,040 DEBUG [http-bio-443-exec-165] filters.ThrottlingFilter - DBLCNQueue Count: 0

2017-10-26 20:21:55,040 DEBUG [http-bio-443-exec-165] filters.ThrottlingFilter - Successfully set the value of counter: 4 value: 0

2017-10-26 20:21:55,040 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - Checking request version [11.5]

2017-10-26 20:21:55,040 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - Checking if requested api [addDeviceProfile] the implementedHandlers list

2017-10-26 20:21:55,041 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - [addDeviceProfile] is not in the implementedHandlers list

2017-10-26 20:21:55,041 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - Checking if version is 8.x

2017-10-26 20:21:55,041 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - function to check if the version is 8.x

2017-10-26 20:21:55,041 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - version is not 8.x

2017-10-26 20:21:55,041 INFO  [http-bio-443-exec-165] servletRouters.AXLAlpha - Executing api: addDeviceProfile in axis

2017-10-26 20:21:55,042 DEBUG [http-bio-443-exec-165] wrappers.RequestNamespaceWrapper - Inside Request Wrapper

2017-10-26 20:21:55,050 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - AXL REQUEST :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"><soapenv:Header/><soapenv:Body><ns:addDeviceProfile sequence="0"> <deviceProfile><name>Template UDP CIPC</name><description>template</description><product>Cisco IP Communicator</product><class>UDP Template</class><protocol>SIP</protocol><protocolSide>User</protocolSide><userHoldMohAudioSourceId>1</userHoldMohAudioSourceId><lines/><phoneTemplateName uuid="{DC22560E-9F27-44E0-9D32-F1118BC5C2FB}">Standard CIPC SIP</phoneTemplateName><userLocale>English United States</userLocale><singleButtonBarge>Default</singleButtonBarge><joinAcrossLines>Default</joinAcrossLines><ignorePresentationIndicators>false</ignorePresentationIndicators><dndOption>Use Common Phone Profile Setting</dndOption><dndStatus>false</dndStatus><alwaysUsePrimeLine>Default</alwaysUsePrimeLine><alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage><callInfoPrivacyStatus>Default</callInfoPrivacyStatus><services><service><telecasterServiceName uuid="{9AD02745-7E47-E24C-6D03-3485C1DDDDED}">HuntGroupManager</telecasterServiceName><name>HuntGroupManager</name><url>http://10.145.18.82:8084/HuntGroupManager/index.jsp?device=#DEVICENAME#</url><urlButtonIndex>0</urlButtonIndex></service></services></deviceProfile></ns:addDeviceProfile></soapenv:Body></soapenv:Envelope>

2017-10-26 20:21:55,050 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - Request processed by AXIS

2017-10-26 20:21:55,052 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - dbConnector Initialization in handler.java

2017-10-26 20:21:55,052 DEBUG [http-bio-443-exec-165] axlapiservice.Axl - Connection given to current thread

2017-10-26 20:21:55,053 DEBUG [http-bio-443-exec-165] axlapiservice.AXLCallFlow - In begin transaction of AXLCallflow and created pub connector

2017-10-26 20:21:55,053 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,053 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,054 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,054 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,055 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select tksupportsfeature, tkdeviceprotocol,param from ProductSupportsFeature where tkproduct='30041'  and tkdeviceprotocol in ('11',99)

2017-10-26 20:21:55,056 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Product 30041 does not support feature 35

2017-10-26 20:21:55,057 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - getPkid Query is :select pkid from PhoneTemplate where my_lower(name ) =my_lower('Standard CIPC SIP' )

2017-10-26 20:21:55,058 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select enum from TypeUserLocale where name='English United States'

2017-10-26 20:21:55,058 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,059 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,060 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,061 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,061 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,062 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - insert into Device ( Description,tkDeviceProtocol,ignorePI,tkProtocolSide,fkPhoneTemplate,tkDNDOption,Name,tkUserLocale,tkStatus_AlwaysUsePrimeLineForVM,tkClass,tkStatus_AlwaysUsePrimeLine,tkBarge,tkStatus_joinacrosslines,UserHoldMOHAudioSourceID,pkid,tkDeviceProfile,tkPreemption,tkProduct ) values ( 'template','11','f','1','dc22560e-9f27-44e0-9d32-f1118bc5c2fb','2','Template UDP CIPC','1','2','252','2','3','2','1','88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f','1','0','30041' )

2017-10-26 20:21:55,242 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - update DndDynamic set DNDStatus='f' where fkdevice='88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f'

2017-10-26 20:21:55,246 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Inside addTkdataAXIS utils part

2017-10-26 20:21:55,247 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - update DevicePrivacyDynamic set tkStatus_CallInfoPrivate='2' where fkdevice='88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f'

2017-10-26 20:21:55,250 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select fknumplan, numplanindex from devicenumplanmap where fkdevice = '88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f'

2017-10-26 20:21:55,251 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - Product 30041 supports feature 1

2017-10-26 20:21:55,252 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select pkid from TelecasterSubscribedService where fkdevice = '88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f'

2017-10-26 20:21:55,252 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - delete from TelecasterSubscribedService where fkDevice='88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f'

2017-10-26 20:21:55,255 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - getPkid Query is :select pkid from TelecasterService where my_lower(name ) =my_lower('HuntGroupManager' )

2017-10-26 20:21:55,256 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - insert into TelecasterSubscribedService ( ServiceName,fkTelecasterService,fkDevice,pkid,URLButtonIndex ) values ( 'HuntGroupManager','9ad02745-7e47-e24c-6d03-3485c1dddded','88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f','f083670e-7f47-150a-3961-515b5403c4d4','0' )

2017-10-26 20:21:55,264 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select urlTemplate from TelecasterService WHERE pkid = '9ad02745-7e47-e24c-6d03-3485c1dddded'

2017-10-26 20:21:55,265 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - select pkid, defaultvalue from TelecasterServiceParameter WHERE fkTelecasterService = '9ad02745-7e47-e24c-6d03-3485c1dddded'

2017-10-26 20:21:55,266 DEBUG [http-bio-443-exec-165] axlapiservice.Handler - update TelecasterSubscribedService set ServiceUrl=null where pkid='f083670e-7f47-150a-3961-515b5403c4d4'

2017-10-26 20:21:55,270 DEBUG [http-bio-443-exec-165] axlapiservice.AddDeviceProfileHandler - AddDeviceProfile completed

2017-10-26 20:21:55,277 DEBUG [http-bio-443-exec-165] axlapiservice.AXLCallFlow - In commit transaction and created pub connector

2017-10-26 20:21:55,278 DEBUG [http-bio-443-exec-165] axlapiservice.Axl - Connection closed and hashmap entry removed in AXL.java closing connection

2017-10-26 20:21:55,278 DEBUG [http-bio-443-exec-165] axlapiservice.AXLCallFlow - Commit transaction connector object closed

2017-10-26 20:21:55,281 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:addDeviceProfileResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5"><return>{88C28643-0E1C-E069-8CA4-B0B7BB3CFE4F}</return></ns:addDeviceProfileResponse></soapenv:Body></soapenv:Envelope>

2017-10-26 20:21:55,281 DEBUG [http-bio-443-exec-165] servletRouters.AXLAlpha - Finished processing request

2017-10-26 20:21:55,282 INFO  [http-bio-443-exec-165] filters.TimingFilter - Request 1505911707762 received from sdkuser at ip 10.80.0.168 was processed in 246ms

2017-10-26 20:21:55,443 DEBUG [Thread-36] cnf.AXLCNFListener - Received CNF

2017-10-26 20:21:55,443 DEBUG [Thread-36] cnf.AXLCNFListener - Inserting CNF for table 'device', Action 'i' into processing queue.

2017-10-26 20:21:55,444 DEBUG [Thread-37] cnf.CNFWorker - Got ChangeNotification from queue for table 'device' with action 'i'

2017-10-26 20:21:55,444 DEBUG [Thread-37] cnf.CNFWorker - Found matching filter; handler: DeviceProfile

2017-10-26 20:21:55,444 DEBUG [Thread-37] cnf.CNFWorker - Completed CNF processing for table: device

2017-10-26 20:21:55,444 DEBUG [Thread-37] cnf.CNFWorker - Processing queue has 0 pending ChangeNotification objects.

2017-10-26 20:21:55,444 DEBUG [Thread-36] cnf.AXLCNFListener - Done inserting CNF into queue.

2017-10-26 20:21:55,450 DEBUG [Thread-36] cnf.AXLCNFListener - Received CNF

2017-10-26 20:21:55,451 DEBUG [Thread-36] cnf.AXLCNFListener - Inserting CNF for table 'telecastersubscribedservice', Action 'i' into processing queue.

2017-10-26 20:21:55,451 DEBUG [Thread-36] cnf.AXLCNFListener - Done inserting CNF into queue.

2017-10-26 20:21:55,451 DEBUG [Thread-37] cnf.CNFWorker - Got ChangeNotification from queue for table 'telecastersubscribedservice' with action 'i'

2017-10-26 20:21:55,451 INFO  [Thread-37] daos.DeviceDAO - SELECT Device.tkDeviceProtocol AS t0_tkDeviceProtocol, Device.tkClass AS t0_tkClass, Device.tkModel AS t0_tkModel, Device.tkProtocolSide AS t0_tkProtocolSide, Device.tkDeviceProfile AS t0_tkDeviceProfile, Device.tkPreemption AS t0_tkPreemption, Device.tkProduct AS t0_tkProduct FROM Device WHERE Device.pkid = ?

2017-10-26 20:21:55,452 DEBUG [Thread-37] beans.SqlUtil - The sql query took 0ms

2017-10-26 20:21:55,452 DEBUG [Thread-37] beans.SqlUtil - The reflection and reading the result set took 0ms

2017-10-26 20:21:55,453 DEBUG [Thread-37] cnf.CNFWorker - Completed CNF processing for table: telecastersubscribedservice

2017-10-26 20:21:55,453 DEBUG [Thread-37] cnf.CNFWorker - Processing queue has 0 pending ChangeNotification objects.

2017-10-26 20:22:02,703 DEBUG [http-bio-443-exec-127] filters.TimingFilter - Received request 1505911707763 from sdkuser at IP 10.80.0.168

2017-10-26 20:22:02,703 DEBUG [http-bio-443-exec-127] wrappers.RequestHeaderWrapper - Inside Request Header Wrapper

2017-10-26 20:22:02,703 DEBUG [http-bio-443-exec-127] filters.AuthenticationFilter - Operation:executeSQLQuery api:executeSQLQuery

2017-10-26 20:22:02,704 DEBUG [http-bio-443-exec-127] filters.ThrottlingFilter - Successfully set the value of counter: 4 value: 0

2017-10-26 20:22:02,704 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - Checking request version [11.5]

2017-10-26 20:22:02,704 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - Checking if requested api [executeSQLQuery] the implementedHandlers list

2017-10-26 20:22:02,704 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - [executeSQLQuery] is not in the implementedHandlers list

2017-10-26 20:22:02,704 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - Checking if version is 8.x

2017-10-26 20:22:02,705 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - function to check if the version is 8.x

2017-10-26 20:22:02,705 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - version is not 8.x

2017-10-26 20:22:02,705 INFO  [http-bio-443-exec-127] servletRouters.AXLAlpha - Executing api: executeSQLQuery in axis

2017-10-26 20:22:02,705 DEBUG [http-bio-443-exec-127] wrappers.RequestNamespaceWrapper - Inside Request Wrapper

2017-10-26 20:22:02,715 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - AXL REQUEST :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"><soapenv:Header/><soapenv:Body><ns:executeSQLQuery sequence="0"> <sql>select * from device where name = &apos;Template UDP CIPC&apos;</sql></ns:executeSQLQuery></soapenv:Body></soapenv:Envelope>

2017-10-26 20:22:02,715 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - Request processed by AXIS

2017-10-26 20:22:02,718 DEBUG [http-bio-443-exec-127] axlapiservice.Handler - dbConnector Initialization in handler.java

2017-10-26 20:22:02,718 DEBUG [http-bio-443-exec-127] axlapiservice.Axl - Connection(RO) given to current thread

2017-10-26 20:22:02,719 DEBUG [http-bio-443-exec-127] axlapiservice.AXLAPIServiceSkeleton - In ExecuteSQLQueryResponseDocument

2017-10-26 20:22:02,719 DEBUG [http-bio-443-exec-127] axlapiservice.ExecuteSqlHandler - select * from device where name = 'Template UDP CIPC'

2017-10-26 20:22:02,742 DEBUG [http-bio-443-exec-127] axlapiservice.ExecuteSqlHandler - XML Response Size :6434

2017-10-26 20:22:02,743 DEBUG [http-bio-443-exec-127] axlapiservice.ExecuteSqlHandler - ColumnCount=173, Row count= 1

2017-10-26 20:22:02,743 DEBUG [http-bio-443-exec-127] axlapiservice.AXLAPIServiceSkeleton - Returning request

2017-10-26 20:22:02,744 DEBUG [http-bio-443-exec-127] axlapiservice.Axl - Connection closed and hashmap entry removed in AXL.java closing connection

2017-10-26 20:22:02,747 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:executeSQLQueryResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5"><return><row><pkid>88c28643-0e1c-e069-8ca4-b0b7bb3cfe4f</pkid><name>Template UDP CIPC</name><description>template</description><tkmodel>30016</tkmodel><tkdeviceprotocol>11</tkdeviceprotocol><tkprotocolside>1</tkprotocolside><specialloadinformation/><fkdevicepool/><fkphonetemplate>dc22560e-9f27-44e0-9d32-f1118bc5c2fb</fkphonetemplate><fkcallingsearchspace/><ctiid>212</ctiid><tkclass>254</tkclass><fkprocessnode/><defaultdtmfcapability>0</defaultdtmfcapability><fklocation>29c5c1c4-8871-4d1e-8394-0b9181e8c54d</fklocation><tkproduct>30041</tkproduct><dialplanwizardgenid/><deviceleveltraceflag>f</deviceleveltraceflag><fkenduser/><allowhotelingflag>f</allowhotelingflag><tkdeviceprofile>1</tkdeviceprofile><ikdevice_defaultprofile/><fkmediaresourcelist/><userholdmohaudiosourceid>1</userholdmohaudiosourceid><networkholdmohaudiosourceid/><unit>0</unit><subunit>0</subunit><tkcountry/><tkuserlocale>1</tkuserlocale><tkproduct_base/><fkcallingsearchspace_aar/><fkaarneighborhood/><fksoftkeytemplate/><retryvideocallasaudio>t</retryvideocallasaudio><routelistenabled>f</routelistenabled><fkcallmanagergroup/><tkstatus_mlppindicationstatus>0</tkstatus_mlppindicationstatus><tkpreemption>0</tkpreemption><tkstatus_builtinbridge>2</tkstatus_builtinbridge><mtprequired>f</mtprequired><tkqsig>4</tkqsig><tkpacketcapturemode>0</tkpacketcapturemode><packetcaptureduration>0</packetcaptureduration><authenticationstring/><tkcertificatestatus>1</tkcertificatestatus><upgradefinishtime/><fkmlppdomain/><transmitutf8>f</transmitutf8><ignorepi>f</ignorepi><tknetworklocation>2</tknetworklocation><v150modemrelaycapable>f</v150modemrelaycapable><tkcertificateoperation>1</tkcertificateoperation><fksecurityprofile/><fkdialrules/><fkcallingsearchspace_reroute/><fkcallingsearchspace_refer/><unattended_port>f</unattended_port><tkdtmfsignaling>1</tkdtmfsignaling><requiredtmfreception>f</requiredtmfreception><publickey/><fksipprofile/><rfc2833disabled>f</rfc2833disabled><allowcticontrolflag>t</allowcticontrolflag><datetimeinserted/><sshpassword/><sshuserid/><fkcallingsearchspace_restrict/><fkmatrix_presence>ad243d17-98b4-4118-8feb-5ff2e1b781ac</fkmatrix_presence><fkcommonphoneconfig>ac243d17-98b4-4118-8feb-5ff2e1b781ac</fkcommonphoneconfig><tkkeyauthority>0</tkkeyauthority><tksipcodec_mtppreferredorigcodec>1</tksipcodec_mtppreferredorigcodec><md5hash/><srtpallowed>f</srtpallowed><isstandard>f</isstandard><resettoggle>f</resettoggle><tkreset>2</tkreset><versionstamp>0000000000-c7a6c673-7479-46b0-839e-014d3d093963</versionstamp><fkcommondeviceconfig/><huntlistforvm>f</huntlistforvm><remotedevice>f</remotedevice><tkstatus_devicemobilitymode>2</tkstatus_devicemobilitymode><dndtimeout>0</dndtimeout><tkdndoption>2</tkdndoption><tkringsetting_dnd/><isdualmode>f</isdualmode><fkcallingsearchspace_cgpntransform/><fkenduser_mobility/><tkoutboundcallrollover>0</tkoutboundcallrollover><tkphonepersonalization>3</tkphonepersonalization><tkstatus_joinacrosslines>2</tkstatus_joinacrosslines><tkbarge>3</tkbarge><tkstatus_usetrustedrelaypoint>2</tkstatus_usetrustedrelaypoint><istrustedrelaypoint>f</istrustedrelaypoint><srtpfallbackallowed>f</srtpfallbackallowed><ispaienabled>t</ispaienabled><isrpidenabled>t</isrpidenabled><tksipprivacy>0</tksipprivacy><tksipassertedtype>0</tksipassertedtype><fkcallingsearchspace_cdpntransform/><usedevicepoolcdpntransformcss>t</usedevicepoolcdpntransformcss><nationalprefix>Default</nationalprefix><internationalprefix>Default</internationalprefix><unknownprefix>Default</unknownprefix><subscriberprefix>Default</subscriberprefix><usedevicepoolcgpntransformcss>t</usedevicepoolcgpntransformcss><ikdevice_primaryphone/><tkstatus_audiblealertingidle>2</tkstatus_audiblealertingidle><tkstatus_audiblealertingbusy>2</tkstatus_audiblealertingbusy><isactive>t</isactive><tkphoneservicedisplay>3</tkphoneservicedisplay><isprotected>f</isprotected><fkmobilesmartclientprofile/><tkstatus_alwaysuseprimeline>2</tkstatus_alwaysuseprimeline><tkstatus_alwaysuseprimelineforvm>2</tkstatus_alwaysuseprimelineforvm><callednationalprefix>Default</callednationalprefix><calledinternationalprefix>Default</calledinternationalprefix><calledunknownprefix>Default</calledunknownprefix><calledsubscriberprefix>Default</calledsubscriberprefix><callednationalstripdigits/><calledinternationalstripdigits/><calledunknownstripdigits/><calledsubscriberstripdigits/><fkcallingsearchspace_callednational/><fkcallingsearchspace_calledintl/><fkcallingsearchspace_calledunknown/><fkcallingsearchspace_calledsubscriber/><hotlinedevice>f</hotlinedevice><fkgeolocation/><fkgeolocationfilter_lp/><sendgeolocation>f</sendgeolocation><nationalstripdigits/><internationalstripdigits/><unknownstripdigits/><subscriberstripdigits/><fkcallingsearchspace_cgpnnational/><fkcallingsearchspace_cgpnintl/><fkcallingsearchspace_cgpnunknown/><fkcallingsearchspace_cgpnsubscriber/><usedevicepoolcalledcssnatl>t</usedevicepoolcalledcssnatl><usedevicepoolcalledcssintl>t</usedevicepoolcalledcssintl><usedevicepoolcalledcssunkn>t</usedevicepoolcalledcssunkn><usedevicepoolcalledcsssubs>t</usedevicepoolcalledcsssubs><pstnaccess>f</pstnaccess><fkvipre164transformation/><usedevicepoolcgpntransformcssnatl>t</usedevicepoolcgpntransformcssnatl><usedevicepoolcgpntransformcssintl>t</usedevicepoolcgpntransformcssintl><usedevicepoolcgpntransformcssunkn>t</usedevicepoolcgpntransformcssunkn><usedevicepoolcgpntransformcsssubs>t</usedevicepoolcgpntransformcsssubs><fkfeaturecontrolpolicy/><runonallnodes>f</runonallnodes><enableixchannel>f</enableixchannel><tkdevicetrustmode>0</tkdevicetrustmode><usedevicepoolrdntransformcss>t</usedevicepoolrdntransformcss><fkcallingsearchspace_rdntransform/><enablebfcp>f</enablebfcp><requirecerlocation>f</requirecerlocation><usedevicepoolcgpningressdn>t</usedevicepoolcgpningressdn><fkcallingsearchspace_cgpningressdn/><earlyoffersupportforvoicecall>f</earlyoffersupportforvoicecall><enablegatewayrecordingqsig>f</enablegatewayrecordingqsig><calreference>-1</calreference><tkcalmode/><ndescription>template</ndescription><msisdn/><fkwirelesslanprofilegroup/><enablecallroutingtordwhennoneisactive>f</enablecallroutingtordwhennoneisactive><fkwifihotspotprofile/><allowcfbcontrolofcallsecurityicon>f</allowcfbcontrolofcallsecurityicon><fkelingroup/><ecpublickeycurve/><lscvaliduntil>0</lscvaliduntil><lscissuername/><lscissuervaliduntil>0</lscissuervaliduntil></row></return></ns:executeSQLQueryResponse></soapenv:Body></soapenv:Envelope>

2017-10-26 20:22:02,748 DEBUG [http-bio-443-exec-127] servletRouters.AXLAlpha - Finished processing request

2017-10-26 20:22:02,748 INFO  [http-bio-443-exec-127] filters.TimingFilter - Request 1505911707763 received from sdkuser at ip 10.80.0.168 was processed in 45ms

1 REPLY 1
Highlighted
Rising star

And on we go.. I had another look at what AXL returns me when I aske it for a UDP created through ccmadmin.

Here's an example

<?xml version='1.0' encoding='utf-8'?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Body>

<ns:getDeviceProfileResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">

<return>

<deviceProfile ctiid="209" uuid="{F12EB340-E128-9456-6279-7EC5866529F4}">

<name>UDP_CIPC</name>

<description/>

<product>Cisco IP Communicator</product>

<model>Cisco IP Communicator</model>

<class>UDP Template</class>

<protocol>SIP</protocol>

<protocolSide>User</protocolSide>

<type>User Template Profile</type>

<userHoldMohAudioSourceId />

<vendorConfig />

<versionStamp>{1509041382-911CA3AD-3B1B-4D4D-AC21-21982DF9281F}</versionStamp>

<traceFlag>false</traceFlag>

<mlppDomainId />

<mlppIndicationStatus>Off</mlppIndicationStatus>

<preemption>Disabled</preemption>

<lines/>

<numberOfButtons>8</numberOfButtons>

<phoneTemplateName uuid="{DC22560E-9F27-44E0-9D32-F1118BC5C2FB}">Standard CIPC SIP</phoneTemplateName>

<speeddials/>

<busyLampFields/>

<blfDirectedCallParks/>

<addOnModules/>

<userLocale />

<defaultProfileName>NullIdValue</defaultProfileName>

<currentProfileName/>

<loginTime />

<loginDuration />

<singleButtonBarge>Default</singleButtonBarge>

<joinAcrossLines>Default</joinAcrossLines>

<loginUserId/>

<ignorePresentationIndicators>false</ignorePresentationIndicators>

<dndOption>Use Common Phone Profile Setting</dndOption>

<dndRingSetting />

<dndStatus>false</dndStatus>

<emccCallingSearchSpace/>

<alwaysUsePrimeLine>Default</alwaysUsePrimeLine>

<alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage>

<softkeyTemplateName/>

<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>

<currentConfig>

<userHoldMohAudioSourceId/>

<phoneTemplateName/>

<mlppIndicationStatus/>

<preemption/>

<softkeyTemplateName/>

<ignorePresentationIndicators/>

<singleButtonBarge/>

<joinAcrossLines/>

<callInfoPrivacyStatus/>

<dndStatus/>

<dndRingSetting/>

<dndOption/>

<alwaysUsePrimeLine/>

<alwaysUsePrimeLineForVoiceMessage/>

<emccCallingSearchSpaceName/>

<deviceName/>

<model/>

<product/>

<deviceProtocol/>

<class/>

<addressMode/>

<allowAutoConfig/>

<remoteSrstOption/>

<remoteSrstIp/>

<remoteSrstPort/>

<remoteSipSrstIp/>

<remoteSipSrstPort/>

<geolocationInfo/>

<remoteLocationName/>

</currentConfig>

<services/>

<featureControlPolicy/>

</deviceProfile>

</return>

</ns:getDeviceProfileResponse>

</soapenv:Body>

</soapenv:Envelope>

note the type tag

<type>User Template Profile</type>

That's the value from tkdevicetemplate. So I went back to the schema.. (https://developer.cisco.com/site/axl/documents/latest-version/axl-soap.gsp), and.. where is that type?

Just to make sure.. I downloaded the schema files from my CUCM (11.5.1SU3), and searched the XDeviceProfile object. But it has no element called type as well.

So..DBL changing values, CUCM returning properties that are not documented.. color me thoroughly confused. I guess I could go adding the new element and see what happens if I send it.. perhaps CUCM actually supports it.

Oh yeah, that reminds me.. writing schemas manually es no bueno. That's exactly the thing that happens. The AXL schema is that big, it's easy enough for things to fall through the cracks.

This widget could not be displayed.