@@ -58,7 +58,14 @@ def create(self, from_, to, status_callback=values.unset,
5858 coaching = values .unset , call_sid_to_coach = values .unset ,
5959 jitter_buffer_size = values .unset , byoc = values .unset ,
6060 caller_id = values .unset , call_reason = values .unset ,
61- recording_track = values .unset , time_limit = values .unset ):
61+ recording_track = values .unset , time_limit = values .unset ,
62+ machine_detection = values .unset ,
63+ machine_detection_timeout = values .unset ,
64+ machine_detection_speech_threshold = values .unset ,
65+ machine_detection_speech_end_threshold = values .unset ,
66+ machine_detection_silence_timeout = values .unset ,
67+ amd_status_callback = values .unset ,
68+ amd_status_callback_method = values .unset ):
6269 """
6370 Create the ParticipantInstance
6471
@@ -101,6 +108,13 @@ def create(self, from_, to, status_callback=values.unset,
101108 :param unicode call_reason: Reason for the call (Branded Calls Beta)
102109 :param unicode recording_track: The track(s) to record
103110 :param unicode time_limit: The maximum duration of the call in seconds.
111+ :param unicode machine_detection: Enable machine detection or end of greeting detection
112+ :param unicode machine_detection_timeout: Number of seconds to wait for machine detection
113+ :param unicode machine_detection_speech_threshold: Number of milliseconds for measuring stick for the length of the speech activity
114+ :param unicode machine_detection_speech_end_threshold: Number of milliseconds of silence after speech activity
115+ :param unicode machine_detection_silence_timeout: Number of milliseconds of initial silence
116+ :param unicode amd_status_callback: The URL we should call to send amd status information to your application
117+ :param unicode amd_status_callback_method: HTTP Method to use with amd_status_callback
104118
105119 :returns: The created ParticipantInstance
106120 :rtype: twilio.rest.api.v2010.account.conference.participant.ParticipantInstance
@@ -145,6 +159,13 @@ def create(self, from_, to, status_callback=values.unset,
145159 'CallReason' : call_reason ,
146160 'RecordingTrack' : recording_track ,
147161 'TimeLimit' : time_limit ,
162+ 'MachineDetection' : machine_detection ,
163+ 'MachineDetectionTimeout' : machine_detection_timeout ,
164+ 'MachineDetectionSpeechThreshold' : machine_detection_speech_threshold ,
165+ 'MachineDetectionSpeechEndThreshold' : machine_detection_speech_end_threshold ,
166+ 'MachineDetectionSilenceTimeout' : machine_detection_silence_timeout ,
167+ 'AmdStatusCallback' : amd_status_callback ,
168+ 'AmdStatusCallbackMethod' : amd_status_callback_method ,
148169 })
149170
150171 payload = self ._version .create (method = 'POST' , uri = self ._uri , data = data , )
0 commit comments