I
I
Ivan Ivanov2020-07-22 10:18:01
Asterisk
Ivan Ivanov, 2020-07-22 10:18:01

Why is the call not being recorded?

Good afternoon.

Can you please tell me why the call is not being recorded?
Asterisk 13.1.0

Created dialplan
;TEST EXTEN
exten => 999,1,SET(fname=${UNIQUEID})
same => n,Monitor(wav,/home/rec/${fname},mb)
same => n,Answer()
same => n,Wait(5)
same => n,Playback(beep)
same => n,Wait(2) same => n ,
Hangup()

home/rec, no record file is created in /var/spool/asterisk/monitor. What have I done wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Luponos, 2020-09-08
@Bessome

chmod 0777 /home/rec
If he writes, then deal with the rights of the directory
I assume that the asterisk is built with wav support ???

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question