V
V
Vlad Lyadanov2019-11-12 15:07:15
Asterisk
Vlad Lyadanov, 2019-11-12 15:07:15

How to set up a call recording warning on individual numbers ??

I have installed asterisk elastx, I don’t know what exact version, at this stage, all incoming and outgoing external calls are warned about recording the conversation with the command exten = l-dial,l,Dial(${ARG1},,A(record/out)),
but for some needs it is necessary to remove this warning from some numbers how to do it ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-11-12
@Zarom

I offer this option. Let's assume that 1001, 1002 and 1003 are the numbers for which no record is needed

exten => l-dial,1,Set(record=${IF($[ "${EXTEN}" =~ "^(1001|1002|1003)$"]?:A(record/out))})
same => n,Dial(${ARG1},,${record})

Unfortunately, there is nothing to check the syntactic correctness

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question