Does anyone have a sample of AXL script for CUCM 8.6 to bulk add route-patterns?

Answered Question
Apr 25th, 2012
User Badges:

So sad, need to configure over 500 route patterns.

Need something like this, but for route-pattern.


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm

lns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org

/2001/XMLSchema">


<SOAP-ENV:Body>

<addRouteGroup>

<routeGroup>

<name>RG-ICT-FMPREPROD-AMRSS

</name>

<dialPlanWizardGenId>0</dialPlanWizardGenId>

<members>

<deviceSelectionOrder>1</deviceSelectionOrder>

<dialPlanWizardGenId>0</dialPlanWizardGenId>

<deviceName></deviceName>

</members>

</routeGroup>

</addRouteGroup>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>


Thanx in advance!

Correct Answer by Ayodeji Okanlawon about 5 years 9 hours ago

If you dont get AXL script, try import/export..Export an existing RP from CUCM or configure just one. and then edit it and add to it. Then Import it back. It works great!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Ayodeji Okanlawon Wed, 04/25/2012 - 23:40
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

If you dont get AXL script, try import/export..Export an existing RP from CUCM or configure just one. and then edit it and add to it. Then Import it back. It works great!

Gordon Ross Thu, 04/26/2012 - 00:15
User Badges:
  • Blue, 1500 points or more

You're probably better off asking over in the developer forums for AXL queries.


If you want, you could probably reverse engineer the AXL SOAP query from the WSDL.


I tend to just you SQL INSERT/UPDATEs, rather than the SOAP functions.


GTG

Aaron Harrison Thu, 04/26/2012 - 00:57
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Yeah - if you're a developer, check the developer.cisco.com website and the forums there.


If you are not a developer you would be better off using the export function to export a 'template' route pattern you have configured manually, then copy/editing that in the exported file before importing it again.


Aaron

Frederick Nielsen Thu, 04/26/2012 - 06:33
User Badges:
  • Bronze, 100 points or more

Like this, but you will definitely want to investigate the schema def if you haven't already, and agree with the others, if you are in the dev program that forum can be very helpful:





911

Emergency Services (Urgent)

LA-EMERGENCY-PT

false

true

true








PSTN-LRG-RL





Ayodeji Okanlawon Wed, 05/16/2012 - 14:35
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

You are welcome..It has worked wonders for me. Thanks for the nice rating

Dennis Mink Wed, 05/16/2012 - 17:03
User Badges:
  • Gold, 750 points or more

500 RP's is a lot, are you using Standard Local Route Groups at all?

Actions

This Discussion