UserExternalCustomRingbackModifyRequest
Bases: OCIRequest
Modify the user level data associated with External Custom Ringback. The user SIP URI, when selected, it replaces the SP address, port and prefix. The user SIP URI, if selected, is the Request URI of the SIP INVITE sent to the external server. When the service provider data is used instead, the Request URI is constructed using the prefix, address, port and the user DN. The timeout value is the only SP configuration used when the user SIP URI is selected. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
user_id (str):
is_active (Optional[bool]):
use_setting_level (Optional[str]):
sip_request_uri (Optional[Nillable[str]]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserExternalCustomRingbackModifyRequest
client = Client()
command = UserExternalCustomRingbackModifyRequest(
user_id=...,
is_active=...,
use_setting_level=...,
sip_request_uri=...,
)
response = client.command(command)
print(response)