cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
679
Views
5
Helpful
2
Replies
Leoni Wartung
Beginner

CUCM AXL - TCT device - Update Product Specific Configuration Layout

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
Beginner

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
Beginner

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
Beginner

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

Create
Recognize Your Peers
Content for Community-Ad