C
C
Co6a4ka2015-03-25 13:27:31
Asterisk
Co6a4ka, 2015-03-25 13:27:31

Asterisk. Line definition along with incoming number?

The situation is as follows: there is an automatic telephone exchange and 4 lines. Is it possible to make it so that the number of the caller is determined together with the line to which the subscriber called?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-03-25
@rostel

exten => _X.,1,NoOp(LINE: ${EXTEN})
    same => n,Set(CALLERID(name)=LINE:${EXTEN}_NUM:${CALLEID(num)})
;    same => n,Set(CALLERID(num)=${EXTEN}-${CALLEID(num)}) ; это в случае если имя не отображается
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question