02-03-2023 12:17 PM
How do i update the recording option (Automatic Call Recording Enabled) and Recording Profile (QM_Call_Recording) on the line?
The XML im passing is:
Solved! Go to Solution.
02-04-2023 02:58 AM
Yes, but that is a "line appearance" setting, not a DN/line setting. Here is a snippet where I updated it using updatePhone as @npetrele suggested.
single_line = dphone['return']['phone']['lines']['line'][0]
update_line_appearances = dphone['return']['phone']['lines']
update_line_appearances.line[0].displayAscii = ipcc_line.displayAscii
update_line_appearances.line[0].e164Mask = ipcc_line.e164Mask
update_line_appearances.line[0].maxNumCalls = max_calls
update_line_appearances.line[0].busyTrigger = busy_trigger
update_line_appearances.line[0].recordingProfileName = recording_profile
update_line_appearances.line[0].display = ipcc_line.display
update_line_appearances.line[0].monitoringCssName = monitor_css
update_line_appearances.line[0].recordingFlag = ipcc_line.recordingFlag
update_line_appearances.line[0].recordingMediaSource = ipcc_line.recordingMediaSource
if ReadOnly == False:
# update destination phone line appearances
pupd = destination_axl.updatePhone(name=csf_dev,lines=update_line_appearances)
if Debug:
print('pupd',pupd)
02-03-2023 12:32 PM
That's not an option in updateLine. I think you want updatePhone.
02-03-2023 08:08 PM
I'm looking specifically to set this on the line
02-04-2023 02:58 AM
Yes, but that is a "line appearance" setting, not a DN/line setting. Here is a snippet where I updated it using updatePhone as @npetrele suggested.
single_line = dphone['return']['phone']['lines']['line'][0]
update_line_appearances = dphone['return']['phone']['lines']
update_line_appearances.line[0].displayAscii = ipcc_line.displayAscii
update_line_appearances.line[0].e164Mask = ipcc_line.e164Mask
update_line_appearances.line[0].maxNumCalls = max_calls
update_line_appearances.line[0].busyTrigger = busy_trigger
update_line_appearances.line[0].recordingProfileName = recording_profile
update_line_appearances.line[0].display = ipcc_line.display
update_line_appearances.line[0].monitoringCssName = monitor_css
update_line_appearances.line[0].recordingFlag = ipcc_line.recordingFlag
update_line_appearances.line[0].recordingMediaSource = ipcc_line.recordingMediaSource
if ReadOnly == False:
# update destination phone line appearances
pupd = destination_axl.updatePhone(name=csf_dev,lines=update_line_appearances)
if Debug:
print('pupd',pupd)
02-06-2023 09:05 AM
Do you have documentation on this? I do not see update line appearance as part of the Cisco AXL 12.5 schema documentation.
I attempted to use update phone with the line update in the SOAP XML below but did not work:
02-06-2023 11:05 AM - edited 02-06-2023 11:06 AM
It is definitely in there. https://developer.cisco.com/docs/axl-schema-reference/
Look for "updatePhone".
Edit: I am using the Python Zeep libraries, not direct XML.
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