03-31-2014 12:46 AM - edited 03-19-2019 08:03 AM
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
04-01-2014 09:14 AM
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
04-01-2014 06:10 PM
will,
Thanks for your suggestion, I will try to check it.
Best Wishes
Chao
04-02-2014 07:39 PM
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.
04-04-2014 10:44 AM
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
04-07-2014 06:10 PM
will,
Thanks a lot.
Chao
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: