You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a function for the creation of a SoftPhone device and it fails because there is a missing element for lines.
The exception is: zeep.exceptions.ValidationError: Missing element recordingMediaSource (addPhone.phone.lines)
This is the lines definition as described in the documentation: lines=[(extension, 'Internal', fullname, fullname, fullname, '')]
when "fullname" is the name of the user I'm creating it for and the extension is the directory number.
I have exactly the same issue with the addPhone method.
zeep.exceptions.ValidationError: Missing element recordingMediaSource (addPhone.phone.lines)
I have cross checked the input expected on axl.addPhone, so the input provided by my script should be correct. I was getting a different error in case input was not formatted correctly.
Hi,
I'm trying to write a function for the creation of a SoftPhone device and it fails because there is a missing element for lines.
The exception is:
zeep.exceptions.ValidationError: Missing element recordingMediaSource (addPhone.phone.lines)
This is the lines definition as described in the documentation:
lines=[(extension, 'Internal', fullname, fullname, fullname, '')]
when "fullname" is the name of the user I'm creating it for and the extension is the directory number.
Adding the function:
`
I will really appreciate your help and guidance
Thanks
The text was updated successfully, but these errors were encountered: