cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
0
Helpful
5
Replies

UCM Error !

chao guo
Level 1
Level 1

Dear Team,

I am using the axl interface method of 'updateline" to update the info of call manager in order to configure the "call forward" function on the phone,I can be configured successfully on call manager 8.6 and 9.1.1, but when I configure this on call manager 9.1.2.10000, I get the error of  "The specified Directory Number was not found". I check the configuration of this phone directory number, I don't find any problems.

the following is the code I used :

 

"POST /axl/ HTTP/1.0\r\n";
"Host:" + Global.CCM_IP + ":8443\r\n";
"Authorization: Basic " + authorization + "\r\n";
"Accept: text/*\r\n";
"Content-type: text/xml\r\n";
"SOAPAction: \"CUCM:DB ver=8.0\"\r\n";
"Content-length: ";
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.cisco.com/AXL/API/8.0\">";
" <soapenv:Header/>";
"<soapenv:Body>";
"<ns:updateLine sequence=\"?\">";
"<pattern>" + phoneNum + "</pattern>";
"<routePartitionName>" + pattern + "</routePartitionName>";
"<callForwardAll>";
"<destination>" + forwardNum + "</destination>";
"</callForwardAll>";
"</ns:updateLine>";
"</soapenv:Body>";
"</soapenv:Envelope>";

it is emergency for me,

 

thanks a lot

 

5 Replies 5

will.alvord
Level 5
Level 5

Are you passing the correct partition name for the routePartitionName? I only ask because your code shows 'pattern'. Possibly, your 8.6 and 9.1.1 systems which you're running this against don't have any partition selected for your test lines, but your 9.1.2 system does?

You might try the devnet axl forum.

 

cheers,

will

will,

Thanks for your suggestion, I will try to check it.

 

Best Wishes

Chao

will,

The error is not exited when I try to using the interface of "updateline", But we met another problem, when using interface "updateline" successful, the result of "call forward" is not set up successfully, my ip phone series is 9951, Does different type of cisco IP phone have any constraint  when using axl ?

 

thanks a lot.

Sorry - haven't been able to get any of my old code to run against v9+. Not sure what the issue is. Phone model won't matter though as you're updating cm which builds the config files and serves them to the phones.

Here's a link to an article from the devnet axl cookbook about doing what you're doing:

https://developer.cisco.com/site/collaboration/management/axl/learn/axl-developer-cookbook/index.gsp

 

Hopefully that helps,

will

will,

Thanks a lot.

 

Chao

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: