wxc_sdk.me.callpolicy package

class wxc_sdk.me.callpolicy.MeCallPoliciesApi(*, session: RestSession, base: str | None = None)[source]

Bases: ApiChild

settings() PrivacyOnRedirectedCalls[source]

Get Call Policies Settings for User

Get call policies settings for the authenticated user.

Call Policies in Webex allow you to manage how your call information is displayed and handled. You can view privacy settings for your connected line ID on redirected calls and review other call-related preferences.

This API requires a user auth token with a scope of spark:telephony_config_read.

Return type:

UserCallPoliciesGetConnectedLineIdPrivacyOnRedirectedCalls

update(connected_line_id_privacy_on_redirected_calls: PrivacyOnRedirectedCalls | None = None)[source]

Modify Call Policies Settings for User

Update call policies settings for the authenticated user.

Call Policies in Webex allow you to manage how your call information is displayed and handled. You can configure privacy settings for your connected line ID on redirected calls and control other call-related preferences.

This API requires a user auth token with a scope of spark:telephony_config_write.

Parameters:

connected_line_id_privacy_on_redirected_calls (UserCallPoliciesGetConnectedLineIdPrivacyOnRedirectedCalls) –

  • NO_PRIVACY - Caller sees the final destination’s identity when call is redirected.

  • PRIVACY_FOR_EXTERNAL_CALLS - Internal callers see the final destination’s identity; external callers see the original recipient’s identity.

  • PRIVACY_FOR_ALL_CALLS - All callers see the original recipient’s identity when call is redirected

Return type:

None

base = 'telephony/config/people/me'