Skip to content

Commit 0d44c62

Browse files
committed
Add doc about forwarding to extension number
1 parent 45c294e commit 0d44c62

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,18 @@ await inbundCallSession.toVoicemail();
238238
await inbundCallSession.forward(targetNumber);
239239
```
240240

241+
##### Forward to extension number
242+
243+
You will need to detect if end user specified an extension number instead of a
244+
phone number and prefix it with the main company numbers.
245+
246+
For example, if user wants to forward to extension "102", and you know that the
247+
main company number is "12345678987", you can:
248+
249+
```ts
250+
await inbundCallSession.forward("12345678987*102");
251+
```
252+
241253
##### Troubleshooting Call Forwarding Issues
242254

243255
If you run into trouble forwarding calls to a specific number/extension,

0 commit comments

Comments
 (0)