Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

UCM Error !

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

 

  • Unified Communications Applications
Everyone's tags (2)
5 REPLIES
Silver

Are you passing the correct

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

New Member

will,Thanks for your

will,

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

 

Best Wishes

Chao

New Member

will,The error is not exited

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.

Silver

Sorry - haven't been able to

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

New Member

will,Thanks a lot. Chao

will,

Thanks a lot.

 

Chao

149
Views
0
Helpful
5
Replies
This widget could not be displayed.