V
V
Vladimir Sachkov2018-12-18 13:27:24
Java
Vladimir Sachkov, 2018-12-18 13:27:24

How to properly forward an Asterisk java call?

Can you please tell me how to correctly implement Action on call forwarding? Maybe I need to call Extension or pass and set my own Event( if so how to do it) ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Chervonobab, 2018-12-18
@J3alenok

Vladimir Sachkov , look,
if subscriber A calls subscriber B and subscriber B answers, he can make a transfer . Subscriber A wants to talk to subscriber C and subscriber B makes a call transfer.
-if subscriber B is not in the office, he set forwarding. Unconditional (that is, without a condition). To number D. And when subscriber A makes a call to subscriber B, the call is forwarded to number D.
You need a transfer through the AMI interface of Asterisk.
You need:

Action: Atxfer
[ActionID:]
Channel:
Exten:
[Context:]

where you definitely need a Channel .
That is, when calling subscriber B, you need to save the channel number for yourself and use the number of this channel when using Action: Atxfer .
Exten is the number where you will transfer to, which will be called in the existing context [Context:]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question