02-25-2018 10:35 PM
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:
We've also tried the updatePhone action with the same result. Does anyone have an idea?
Solved! Go to Solution.
02-26-2018 05:30 AM
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>
02-26-2018 05:30 AM
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>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide