cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
911
Views
5
Helpful
2
Replies

CUCM AXL - TCT device - Update Product Specific Configuration Layout

Leoni Wartung
Level 1
Level 1

Hi guys,

 

I'm trying to add a new TCT device by AXL. Basically it work for me but I cannot figure out how to set the emergency numbers.

 

If I create the device manually on CUCM via GUI and read then the phone by AXL

echo "vendorConfig  ".$response->return->phone->vendorConfig->any; 

I get this result 0100110000999,911,112,01

The string reflect this settings:

1                        Allow End User Configuration Editing
1                        Cisco Usage and Error Tracking
0                        Enable Sip Digest Authentication
0                        Dial via Office
1                        Enable Voice Dialing Motion
1                        Add Voice Dialing to Favorites
0                        Sign In Feature
1                        Transfer to Mobile Network
0                        Enable LDAP User Authentication
0                        Enable LDAP SSL
999,911,112      Emergency Numbers
0                        Default Ringtone
1                        Video Capabilities

 

Now I try to change the value by AXL

$response = $client->UpdateCommonPhoneConfig(array("name"=>"TCTTEST","description"=>"tes2323t","vendorConfig"=>array("any"=>"0100110000999,911,112,11001")));

The description field will change but the emergency number or any other vendorConfig specific items do not change.

 

What do I wrong?


Thanks

filip

 

1 Accepted Solution

Accepted Solutions

Leoni Wartung
Level 1
Level 1

Well, we figured out the right code:

$response = $client->UpdatePhone(array("name"=>"TCTTEST","description"=>"tes2323t","vendorConfig"=>array("any"=>"<dialerEmergencyNumbers>999,911,112,110</dialerEmergencyNumbers>")));
 
<vendorConfig>
            <paramEditability>0</paramEditability>
            <cuetLevel>1</cuetLevel>
            <cucmUseSipDigest>0</cucmUseSipDigest>
            <dialViaOffice>0</dialViaOffice>
            <cucmUseVoiceDialing>1</cucmUseVoiceDialing>
            <cucmAddVoiceDialingNumberToFavorites>1</cucmAddVoiceDialingNumberToFavorites>
            <emEnabled>0</emEnabled>
            <cucmGSMHandoffPreference>1</cucmGSMHandoffPreference>
            <ldapUseLDAPUserAuthentication>0</ldapUseLDAPUserAuthentication>
            <ldapUseSSL>0</ldapUseSSL>
            <dialerEmergencyNumbers>999,911,112</dialerEmergencyNumbers>
            <Ringtone>0</Ringtone>
            <videoCapability>1</videoCapability>
</vendorConfig>

Regards

filip

View solution in original post

2 Replies 2

Osama Mahmoud
Level 1
Level 1

I think the real XML sent from the Call Manager has the Vendorconfig represented as XML , I think the vendorconfig is read as a concatenated string of values cause you are requesting what is inside the tag as text but it is really in XML form so you should get the XML form and do the change on it and send it back

Leoni Wartung
Level 1
Level 1

Well, we figured out the right code:

$response = $client->UpdatePhone(array("name"=>"TCTTEST","description"=>"tes2323t","vendorConfig"=>array("any"=>"<dialerEmergencyNumbers>999,911,112,110</dialerEmergencyNumbers>")));
 
<vendorConfig>
            <paramEditability>0</paramEditability>
            <cuetLevel>1</cuetLevel>
            <cucmUseSipDigest>0</cucmUseSipDigest>
            <dialViaOffice>0</dialViaOffice>
            <cucmUseVoiceDialing>1</cucmUseVoiceDialing>
            <cucmAddVoiceDialingNumberToFavorites>1</cucmAddVoiceDialingNumberToFavorites>
            <emEnabled>0</emEnabled>
            <cucmGSMHandoffPreference>1</cucmGSMHandoffPreference>
            <ldapUseLDAPUserAuthentication>0</ldapUseLDAPUserAuthentication>
            <ldapUseSSL>0</ldapUseSSL>
            <dialerEmergencyNumbers>999,911,112</dialerEmergencyNumbers>
            <Ringtone>0</Ringtone>
            <videoCapability>1</videoCapability>
</vendorConfig>

Regards

filip