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
/// Used to start a realtime session based on an incoming call.
4
+
/// Note that this is poorly documented by OpenAI with the only example data given in https://platform.openai.com/docs/guides/realtime-sip#handle-the-webhook and these may not be all the possible fields.
5
+
#[derive(Debug,Serialize,Deserialize,Clone)]
6
+
pubstructAcceptCallRequest{
7
+
/// This is *always* `realtime`.
8
+
#[serde(rename = "type")]
9
+
pubsession_type:String,
10
+
pubinstructions:String,
11
+
pubmodel:String,
12
+
}
13
+
14
+
/// Used to redirect a call to another number. Per https://platform.openai.com/docs/guides/realtime-sip#handle-the-webhook the Tel-URI scheme may be used.
15
+
#[derive(Debug,Serialize,Deserialize,Clone)]
16
+
pubstructReferCallRequest{
17
+
/// The URI to redirect the call to, for example `tel:+14152909007`
0 commit comments