H
H
huko2014-07-04 11:17:53
Asterisk
huko, 2014-07-04 11:17:53

How to transfer a call to a trunk if the extension is not available?

The scheme is aterisk plus one outgoing sip trunk that receives all outgoing calls. Adding several hundred extensions, you need to make sure that a call from one extension number to another extension number is transferred to a single trunk, provided that the called subscriber is not registered at the station, i.e. is in the unreachable state.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2014-07-05
@KolyaniuS

Alternatively, the asterisk has a DEVICE_STATE function.
In your case, you can implement the scheme, for example:

if (${DEVICE_STATE(${EXTEN})} = UNAVAILABLE) {
Dial(SIP/[email protected]);
};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question