cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
866
Views
0
Helpful
4
Replies

using updateRouteList request to add the Route Group member does not work

jdrinkwater
Level 1
Level 1

using updateRouteList request to add the Route Group member does not work

Trying to add the Route Group/Local Route Group using updateRouteList request. Does not produce any errors but does not add the members to Route List. Anyone having same problem?

 

Here is the request and response.


<axl:updateRouteList xmlns:axl="http://www.cisco.com/AXL/API/12.5">
<name>routelist6</name>
<addMembers>
<routeGroupName>routegroup1</routeGroupName>
<selectionOrder>1</selectionOrder>
<calledPartyTransformationMask>
</calledPartyTransformationMask>
<callingPartyTransformationMask>
</callingPartyTransformationMask>
<dialPlanWizardGenId>
</dialPlanWizardGenId>
<digitDiscardInstructionName uuid="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true">
</digitDiscardInstructionName>
<callingPartyPrefixDigits>
</callingPartyPrefixDigits>
<prefixDigitsOut>
</prefixDigitsOut>
<useFullyQualifiedCallingPartyNumber>Default</useFullyQualifiedCallingPartyNumber>
<callingPartyNumberingPlan>Cisco CallManager</callingPartyNumberingPlan>
<callingPartyNumberType>Cisco CallManager</callingPartyNumberType>
<calledPartyNumberingPlan>Cisco CallManager</calledPartyNumberingPlan>
<calledPartyNumberType>Cisco CallManager</calledPartyNumberType>
</addMembers>
</axl:updateRouteList>


<ns:updateRouteListResponse xmlns:ns="http://www.cisco.com/AXL/API/12.5">
<return>{8291F148-A0F2-3F11-E19C-649624AB04D8}</return>
</ns:updateRouteListResponse>

 

4 Replies 4

dstaudt
Cisco Employee
Cisco Employee

It looks like you might be missing the <member> element surrounding the member info:

<axl:updateRouteList xmlns:axl="http://www.cisco.com/AXL/API/12.5">
    <name>routelist6</name>
    <addMembers>
        <member>
            <routeGroupName>routegroup1</routeGroupName>
            <selectionOrder>1</selectionOrder>
            <calledPartyTransformationMask></calledPartyTransformationMask>
            <callingPartyTransformationMask></callingPartyTransformationMask>
            <dialPlanWizardGenId></dialPlanWizardGenId>
            <digitDiscardInstructionName uuid="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></digitDiscardInstructionName>
            <callingPartyPrefixDigits></callingPartyPrefixDigits>
            <prefixDigitsOut></prefixDigitsOut>
            <useFullyQualifiedCallingPartyNumber>Default</useFullyQualifiedCallingPartyNumber>
            <callingPartyNumberingPlan>Cisco CallManager</callingPartyNumberingPlan>
            <callingPartyNumberType>Cisco CallManager</callingPartyNumberType>
            <calledPartyNumberingPlan>Cisco CallManager</calledPartyNumberingPlan>
            <calledPartyNumberType>Cisco CallManager</calledPartyNumberType>
        </member>
    </addMembers>
</axl:updateRouteList>

I tried with <member> and found out that I am sending the wrong format for <digitDisacardInstructionName> attribute. It seems to work now after the fix.

Thanks David!

thedd
Level 1
Level 1

I would always only use the elements i defintly need.

So everything what is not mandatory would not be in my xml.

This helps keeping the xml as simple as possible.

 

To Update a Route Group

updateRouteList.JPG

 

I would use

<name>RL_Name</name>

<addMembers>

    <member>

         <routeGroupName>RG_Name </routeGroupName>

          <selectionOrder>1</selectionOrder>

          <useFullyQualifiedCallingPartyNumber>Default</useFullyQualifiedCallingPartyNumber>

     </member>  

</addMembers>

 

I figured out the problem. I was sending wrong format for the <digitDiscardInstructionName>. I just need to send the uuid as an attribute. Some reason it was not giving me an error which confused me.

Thanks for the reply!

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: