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
Copy file name to clipboardExpand all lines: bandwidth/model/bxml/verbs/bridge.py
+18-14Lines changed: 18 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -26,20 +26,24 @@ def __init__(
26
26
"""Initialize a <Bridge> verb
27
27
28
28
Args:
29
-
target_call (str): _description_
30
-
bridge_complete_url (str, optional): _description_. Defaults to None.
31
-
bridge_complete_method (str, optional): _description_. Defaults to None.
32
-
bridge_complete_fallback_url (str, optional): _description_. Defaults to None.
33
-
bridge_complete_fallback_method (str, optional): _description_. Defaults to None.
34
-
bridge_target_complete_url (str, optional): _description_. Defaults to None.
35
-
bridge_target_complete_method (str, optional): _description_. Defaults to None.
36
-
bridge_target_complete_fallback_url (str, optional): _description_. Defaults to None.
37
-
bridge_target_complete_fallback_method (str, optional): _description_. Defaults to None.
38
-
username (str, optional): _description_. Defaults to None.
39
-
password (str, optional): _description_. Defaults to None.
40
-
fallback_username (str, optional): _description_. Defaults to None.
41
-
fallback_password (str, optional): _description_. Defaults to None.
42
-
tag (str, optional): _description_. Defaults to None.
29
+
target_call (str): String containing the callId of the call to be bridged.
30
+
bridge_complete_url (str, optional): URL to send the Bridge Complete event to and request new BXML.
31
+
If this attribute is specified, then Verbs following the <Bridge> verb will be ignored and the BXML returned in this webhook is executed on the call.
32
+
If this attribute is not specified then no webhook will be sent, and execution of the verbs following the <Bridge> verb continues. May be a relative URL. Defaults to None.
33
+
bridge_complete_method (str, optional): The HTTP method to use for the request to bridgeCompleteUrl. GET or POST. Default value is POST.
34
+
bridge_complete_fallback_url (str, optional): A fallback url which, if provided, will be used to retry the Bridge Complete webhook delivery in case bridgeCompleteUrl fails to respond. Defaults to None.
35
+
bridge_complete_fallback_method (str, optional): The HTTP method to use to deliver the Bridge Complete webhook to bridgeCompleteFallbackUrl. GET or POST. Default value is POST.
36
+
bridge_target_complete_url (str, optional):URL to send the Bridge Target Complete event to and request new BXML.
37
+
If this attribute is specified, then the BXML returned in this webhook is executed on the target call.
38
+
If this attribute is not specified then no webhook will be sent, and the target call will be hung up. May be a relative URL. Defaults to None.
39
+
bridge_target_complete_method (str, optional): The HTTP method to use for the request to bridgeTargetCompleteUrl. GET or POST. Default value is POST.
40
+
bridge_target_complete_fallback_url (str, optional): A fallback url which, if provided, will be used to retry the Bridge Target Complete webhook delivery in case bridgeTargetCompleteUrl fails to respond. Defaults to None.
41
+
bridge_target_complete_fallback_method (str, optional): The HTTP method to use to deliver the Bridge Target Complete webhook to bridgeTargetCompleteFallbackUrl. GET or POST. Default value is POST.
42
+
username (str, optional): The username to send in the HTTP request to bridgeCompleteUrl and to bridgeTargetCompleteUrl. Defaults to None.
43
+
password (str, optional): The password to send in the HTTP request to bridgeCompleteUrl and to bridgeTargetCompleteUrl. Defaults to None.
44
+
fallback_username (str, optional): The username to send in the HTTP request to bridgeCompleteFallbackUrl and to bridgeTargetCompleteFallbackUrl. Defaults to None.
45
+
fallback_password (str, optional): The password to send in the HTTP request to bridgeCompleteFallbackUrl and to bridgeTargetCompleteFallbackUrl. Defaults to None.
46
+
tag (str, optional): A custom string that will be sent with the bridgeComplete webhook and all future webhooks of the call unless overwritten by a future tag attribute or <Tag> verb, or cleared. May be cleared by setting tag="". Max length 256 characters. Defaults to None.
redirect_url (str): URL to request new BXML from. A Redirect event will be sent to this endpoint. May be a relative URL. Defaults to None.
24
+
redirect_method (str, optional): The HTTP method to use for the request to redirectUrl. GET or POST. Defaults to None.
25
+
redirect_fallback_url (str, optional): A fallback url which, if provided, will be used to retry the Redirect callback delivery in case redirectUrl fails to respond. Defaults to None.
26
+
redirect_fallback_method (str, optional): The HTTP method to use to deliver the Redirect callback to redirectFallbackUrl. GET or POST. Default value is POST. Defaults to None.
27
+
username (str, optional): The username to send in the HTTP request to redirectUrl. Defaults to None.
28
+
password (str, optional): The password to send in the HTTP request to redirectUrl. Defaults to None.
29
+
fallback_username (str, optional): The username to send in the HTTP request to redirectFallbackUrl. Defaults to None.
30
+
fallback_password (str, optional): The password to send in the HTTP request to redirectFallbackUrl. Defaults to None.
31
+
tag (str, optional): A custom string that will be sent with this and all future callbacks unless overwritten by a future tag attribute or <Tag> verb, or cleared. May be cleared by setting tag="". Max length 256 characters. Defaults to None.
0 commit comments