C
C
Cyril2019-04-21 16:37:08
Asterisk
Cyril, 2019-04-21 16:37:08

How to make a redirect to an internal or external number in Asterisk by pressing a key?

There is an external mobile phone number connected to Megafon Multifon. When the subscriber calls him, he hears a greeting and an offer to press the corresponding key.
How to organize logic in extension.conf so that when you press, for example, key 1, there is a transfer to an internal number, and when you press 2, to an external phone number. Etc.
Briefly, the logic is as follows:
- Plays a greeting
- Suggests selection (pressing) on ​​the appropriate keys
- If (1), Then Redirect_to_internal_number()
- If (2), Then Redirect_to_external_number()
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-04-21
@belyaevcyrill

Here is a good instruction: https://habr.com/ru/post/122751/
If anything, you need to set up IVR.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question