K
K
karibskii_koks2017-07-05 17:55:22
Asterisk
karibskii_koks, 2017-07-05 17:55:22

How to solve the issue of call interruption with redirection to two mobile phones?

Hello!
I have a call to 2 phones due to no answer the
same => n,Dial(SIP/${Operator1}@rtelcomtrunk&SIP/${Operator2}@rtelcomtrunk,30,Tt)
However, when one of the subscribers is turned off, the answer from the provider occurs " The subscriber's phone is turned off" and the call to the second number is interrupted.
How to make sure that a working number always calls, even if the second one falls off and the provider answers instead?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rsa97, 2017-07-05
@Rsa97

Apparently, a message comes to Asterisk from the provider that the call was answered. It doesn't matter to Asterisk who exactly answered - the subscriber or the provider, since there was a response on one channel, the rest are interrupted.
You can raise the conference and invite these participants to it, but then both numbers will be called regardless of the real answer on one of them.

S
silverjoe, 2017-07-05
@silverjoe

Make a separate context and call numbers through Local

D
Dmitry Rashevsky, 2017-07-10
@DRashevskiy

Good afternoon.
Try to create a queue where the agents will be:
member => Local/[email protected]/n
member =>Local/[email protected]/n
The call context will be something like this:
[from-queue]
exten => 111.1, Dial(SIP/${Operator1}@rtelcomtrunk)
exten => 222,1,Dial(SIP/${Operator2}@rtelcomtrunk)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question