cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
404
Views
0
Helpful
2
Replies

Add a ConferenceBridge to a MediaResourceGroup using AXL9

fabien.bonic
Level 5
Level 5

Hi,

I have a MediaResourceGroup linked to a Conference Bridge. I want to link it to a second Conference Bridge. The request is :

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Body>

<ns2:updateMediaResourceGroup xmlns:ns2="http://www.cisco.com/AXL/API/9.0">

<name>MRG_FB2</name>

<description/>

<multicast>false</multicast>

<removeMembers/>

<addMembers><member><deviceName>CFB_3</deviceName></member></addMembers>

</ns2:updateMediaResourceGroup>

</S:Body>

</S:Envelope>

But the answer of the CUCM is : "At least one Media Resource is required for a Group. Please select a Media Resource to continue".

So how can I link a new Conference Bridge to this Media Resource Group ?

Thanks,

Fabien

1 Accepted Solution

Accepted Solutions

amoherek
Cisco Employee
Cisco Employee

Hi Fabien,

Please delete <removeMembers/> from your request.

I originally thought this was a bug, but found out if you have null values for <removeMembers> and/or <members> then it will not work correctly. You will have to use only one of the three elements in your request: removeMembers, addMembers, or members.

Here is a working example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.0">

<soapenv:Header/>

<soapenv:Body>

    <ns:updateMediaResourceGroup sequence="?">

        <name>Media Resource Group 1</name>

        <description/>

        <multicast>false</multicast>

        <addMembers>

            <member>

                <deviceName uuid="43ebf083-0124-4635-8bfa-849e5903afb3">CFB_2</deviceName>

            </member>

        </addMembers>

    </ns:updateMediaResourceGroup>

</soapenv:Body>

</soapenv:Envelope>

Thanks,

Adrienne

View solution in original post

2 Replies 2

amoherek
Cisco Employee
Cisco Employee

Hi Fabien,

Please delete <removeMembers/> from your request.

I originally thought this was a bug, but found out if you have null values for <removeMembers> and/or <members> then it will not work correctly. You will have to use only one of the three elements in your request: removeMembers, addMembers, or members.

Here is a working example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.0">

<soapenv:Header/>

<soapenv:Body>

    <ns:updateMediaResourceGroup sequence="?">

        <name>Media Resource Group 1</name>

        <description/>

        <multicast>false</multicast>

        <addMembers>

            <member>

                <deviceName uuid="43ebf083-0124-4635-8bfa-849e5903afb3">CFB_2</deviceName>

            </member>

        </addMembers>

    </ns:updateMediaResourceGroup>

</soapenv:Body>

</soapenv:Envelope>

Thanks,

Adrienne

Hi Adrienne,

Thank you for this answer. You are right, deleting "removeMember from the request made a correct result.

Thanks,

Fabien