@@ -245,7 +245,7 @@ def transfer_call_to_participant(
245245 sip_headers : Optional [Dict [str , str ]] = None ,
246246 voip_headers : Optional [Dict [str , str ]] = None ,
247247 operation_context : Optional [str ] = None ,
248- callback_url_override : Optional [str ] = None ,
248+ callback_url : Optional [str ] = None ,
249249 transferee : Optional ['CommunicationIdentifier' ] = None ,
250250 ** kwargs
251251 ) -> TransferCallResult :
@@ -259,8 +259,10 @@ def transfer_call_to_participant(
259259 :paramtype voip_headers: dict[str, str]
260260 :keyword operation_context: Value that can be used to track this call and its associated events.
261261 :paramtype operation_context: str
262- :keyword callback_url_override: Url that overrides original callback URI for this request.
263- :paramtype callback_url_override: str
262+ :keyword callback_url: Url that overrides original callback URI for this request.
263+ :paramtype callback_url: str
264+ :keyword transferee: Url that overrides original callback URI for this request.
265+ :paramtype transferee: ~azure.communication.callautomation.CommunicationIdentifier
264266 :return: TransferCallResult
265267 :rtype: ~azure.communication.callautomation.TransferCallResult
266268 :raises ~azure.core.exceptions.HttpResponseError:
@@ -273,7 +275,7 @@ def transfer_call_to_participant(
273275 target_participant = serialize_identifier (target_participant ),
274276 custom_context = user_custom_context ,
275277 operation_context = operation_context ,
276- callback_uri_override = callback_url_override
278+ callback_uri = callback_url
277279 )
278280 process_repeatability_first_sent (kwargs )
279281 if transferee :
@@ -296,7 +298,7 @@ def add_participant(
296298 voip_headers : Optional [Dict [str , str ]] = None ,
297299 source_caller_id_number : Optional ['PhoneNumberIdentifier' ] = None ,
298300 source_display_name : Optional [str ] = None ,
299- callback_url_override : Optional [str ] = None ,
301+ callback_url : Optional [str ] = None ,
300302 ** kwargs
301303 ) -> AddParticipantResult :
302304 """Add a participant to this call.
@@ -318,8 +320,8 @@ def add_participant(
318320 :paramtype source_caller_id_number: ~azure.communication.callautomation.PhoneNumberIdentifier or None
319321 :keyword source_display_name: Display name of the caller.
320322 :paramtype source_display_name: str or None
321- :keyword callback_url_override : Url that overrides original callback URI for this request.
322- :paramtype callback_url_override : str or None
323+ :keyword callback_url : Url that overrides original callback URI for this request.
324+ :paramtype callback_url : str or None
323325 :return: AddParticipantResult
324326 :rtype: ~azure.communication.callautomation.AddParticipantResult
325327 :raises ~azure.core.exceptions.HttpResponseError:
@@ -345,7 +347,7 @@ def add_participant(
345347 custom_context = user_custom_context ,
346348 invitation_timeout = invitation_timeout ,
347349 operation_context = operation_context ,
348- callback_uri_override = callback_url_override
350+ callback_uri = callback_url
349351 )
350352 process_repeatability_first_sent (kwargs )
351353 response = self ._call_connection_client .add_participant (
@@ -361,7 +363,7 @@ def remove_participant(
361363 target_participant : 'CommunicationIdentifier' ,
362364 * ,
363365 operation_context : Optional [str ] = None ,
364- callback_url_override : Optional [str ] = None ,
366+ callback_url : Optional [str ] = None ,
365367 ** kwargs
366368 ) -> RemoveParticipantResult :
367369 """Remove a participant from this call.
@@ -370,15 +372,16 @@ def remove_participant(
370372 :type target_participant: ~azure.communication.callautomation.CommunicationIdentifier
371373 :keyword operation_context: Value that can be used to track this call and its associated events.
372374 :paramtype operation_context: str
373- :keyword callback_url_override : Url that overrides original callback URI for this request.
374- :paramtype callback_url_override : str
375+ :keyword callback_url : Url that overrides original callback URI for this request.
376+ :paramtype callback_url : str
375377 :return: RemoveParticipantResult
376378 :rtype: ~azure.communication.callautomation.RemoveParticipantResult
377379 :raises ~azure.core.exceptions.HttpResponseError:
378380 """
379381 remove_participant_request = RemoveParticipantRequest (
380382 participant_to_remove = serialize_identifier (target_participant ),
381- operation_context = operation_context , callback_uri_override = callback_url_override )
383+ operation_context = operation_context ,
384+ callback_uri = callback_url )
382385
383386 process_repeatability_first_sent (kwargs )
384387
0 commit comments