cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
667
Views
0
Helpful
1
Replies

Set recording options and profile on addPhone doesn't work (SOAP API 11.5)

ManuelDev
Level 1
Level 1

We've been trying to set the recording options and profile with the addPhone SOAP request (line 36 and 38):

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <ns:addPhone xmlns:ns="http://www.cisco.com/AXL/API/11.5">

      <phone>

        <name>TCTLUI0086</name>

        <description>blabla</description>

        <product>Cisco Dual Mode for iPhone</product>

        <model>Cisco Dual Mode for iPhone</model>

        <class>Phone</class>

        <protocol>SIP</protocol>

        <callingSearchSpaceName>css_test_a</callingSearchSpaceName>

        <devicePoolName>Default</devicePoolName>

        <locationName>Batman</locationName>

        <phoneTemplateName>Standard Dual Mode for iPhone</phoneTemplateName>

        <userLocale></userLocale>

        <enableExtensionMobility>false</enableExtensionMobility>

        <ownerUserName>user123456</ownerUserName>

        <presenceGroupName>Standard Presence Group</presenceGroupName>

        <allowCtiControlFlag>false</allowCtiControlFlag>

        <vendorConfig>

          <ciscoSupportField>configurationfile=uds-p0-h0-vm0-imp1-cfb0-pcfb0.xml</ciscoSupportField>

        </vendorConfig>

        <lines>

          <line>

            <index>1</index>

            <label>hello world</label>

            <display>Testuser 0084 UCC TEST (Int)</display>

            <displayAscii>Testuser 0084 UCC TEST (Int)</displayAscii>

            <dirn>

              <pattern>\+4141414638999</pattern>

              <routePartitionName>Partition_V2</routePartitionName>

            </dirn>

            <e164Mask>12345</e164Mask>

            <busyTrigger>1</busyTrigger>

            <missedCallLogging>false</missedCallLogging>

            <recordingOptions>Automatic Call Recording Enabled</recordingOptions>

            <recordingMediaSource>Phone Preferred</recordingMediaSource>

            <recordingProfile>RecordingTestprofileB</recordingProfile>

            <associatedEndusers>

              <enduser>

                <userid>user123456</userid>

              </enduser>

            </associatedEndusers>

          </line>

        </lines>

      </phone>

    </ns:addPhone>

  </soap:Body>

</soap:Envelope>

Creating the phone works but these two properties are not set:

recording_properties.png

We've also tried the updatePhone action with the same result. Does anyone have an idea?

1 Accepted Solution

Accepted Solutions

ManuelDev
Level 1
Level 1

We've solved the problem.

Incorrect:

<recordingOptions>Automatic Call Recording Enabled</recordingOptions>

<recordingProfile>RecordingTestprofileB</recordingProfile>

Correct:

<recordingFlag>Automatic Call Recording Enabled</recordingFlag>

<recordingName>RecordingTestprofileB</recordingProfileName>

View solution in original post

1 Reply 1

ManuelDev
Level 1
Level 1

We've solved the problem.

Incorrect:

<recordingOptions>Automatic Call Recording Enabled</recordingOptions>

<recordingProfile>RecordingTestprofileB</recordingProfile>

Correct:

<recordingFlag>Automatic Call Recording Enabled</recordingFlag>

<recordingName>RecordingTestprofileB</recordingProfileName>

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: