07-08-2008 06:24 AM - edited 03-13-2019 05:26 PM
Any one have any tips on retrieving the route plan report via AXL?
Also Im wondering if any one has tackled uploading a BAT file via AXL?
07-08-2008 09:02 PM
Using axl:listRoutePlanByType and axl:getRoutePattern you can accomplish that objective.
First issue the listRoutePlanByType Request like this:
Then issue individual getRoutePattern requests for each Route Pattern referencing the UUID attribute you get for each pattern from the first call and there you go.
The result of this call gives you back pretty much everthing you can see on the CCM administrator user interface, for example you can catch any errors on Route Patterns with the 'Outside Dial Tone' flag disabled and thus save some precious troubleshooting time unting down the cause of getting secondary dial tone improperly, a common problem with CCM implementations.
Regards.
07-09-2008 06:48 AM
Thanks this did the trick!
Under the first requests I used
Any suggestions on how I could get the request to return only the DN and not the rest of the information?
07-21-2008 06:11 AM
Jeff:
I am new to AXL Programs. I am looking for the directions to start with AXL programs. If you could share some lights on how you retrieve the data, that would help me much.
Thanking You in advance.
Ramesh Vasudevan
07-22-2008 03:55 AM
Pick the developer guide that matches your CCM version:
CCM6.x: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/devguide/6_0_1/cucm_devguide.html
CCM5.1.x:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/5_1_1/nci/ccmdvCh1.html
CCM 5.0x: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/devguide/5_0_4/ccmdev.html
CCM 4.2:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/devguide/axl_prg/4_2_x/axlpg423.html
CCM 4.1:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/devguide/axl_prg/4_1_x/axlpg413.html
And a list of all programming guides for all CCM versions: http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html
03-08-2017 02:13 PM
Found this thread, was useful for me also with something i'm doing in CUCM10.
Cisco's changed the API slightly though, thought i'd post. It's now called 'listRoutePlan'. This call is in CUCM 8.5, 9.1, 10.5, and probably 11.5 also.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
<soapenv:Header/>
<soapenv:Body>
<ns:listRoutePlan sequence="?">
<searchCriteria>
<!--Optional:-->
<dnOrPattern>%</dnOrPattern>
</searchCriteria>
<returnedTags uuid="?">
<!--Optional:-->
<dnOrPattern>?</dnOrPattern>
<!--Optional:-->
<partition uuid="?">?</partition>
<!--Optional:-->
<type>?</type>
<!--Optional:-->
<routeDetail>?</routeDetail>
</returnedTags>
</ns:listRoutePlan>
</soapenv:Body>
</soapenv:Envelope>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide