Skip to content

Commit 6d16f91

Browse files
Update events.mdx
1 parent 6d79778 commit 6d16f91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fern/server-url/events.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Respond with either an existing assistant ID, a transient assistant, or transfer
143143
```
144144

145145
```json
146-
{ "destination": { "type": "number", "phoneNumber": "+11234567890" } }
146+
{ "destination": { "type": "number", "number": "+11234567890" } }
147147
```
148148

149149
#### Transfer only (skip AI)
@@ -154,7 +154,7 @@ If you want to immediately transfer the call without using an assistant, return
154154
{
155155
"destination": {
156156
"type": "number",
157-
"phoneNumber": "+14155552671",
157+
"number": "+14155552671",
158158
"callerId": "{{phoneNumber.number}}",
159159
"extension": "101",
160160
"message": "Connecting you to support."
@@ -317,7 +317,7 @@ Respond with a destination and optionally a message:
317317

318318
```json
319319
{
320-
"destination": { "type": "number", "phoneNumber": "+11234567890" },
320+
"destination": { "type": "number", "number": "+11234567890" },
321321
"message": { "type": "request-start", "message": "Transferring you now" }
322322
}
323323
```

0 commit comments

Comments
 (0)