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

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

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>

 

Everyone's tags (1)
4 REPLIES 4
Cisco Employee

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

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>
Beginner

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

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!

Beginner

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

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>

 

Beginner

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

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!

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.