Настраиваю запись исходящего вызова для Asterisk 16.2.1~dfsg-2ubuntu1 из состава ubuntu 20.04
Код: Выделить всё
*CLI> dialplan show
[ Context '__func_periodic_hook_context__' created by 'func_periodic_hook' ]
'beep' (CID match '') => 1. Answer() [func_periodic_hook]
2. Playback(beep) [func_periodic_hook]
'hook' (CID match '') => 1. Set(EncodedChannel=${CUT(HOOK_CHANNEL,-,1-2)}) [func_periodic_hook]
2. Set(GROUP_NAME=${EncodedChannel}${HOOK_ID}) [func_periodic_hook]
3. Set(GROUP(periodic-hook)=${GROUP_NAME}) [func_periodic_hook]
4. ExecIf($[${GROUP_COUNT(${GROUP_NAME}@periodic-hook)} > 1]?Hangup()) [func_periodic_hook]
5. Set(ChannelToSpy=${URIDECODE(${EncodedChannel})}) [func_periodic_hook]
6. ChanSpy(${ChannelToSpy},qEB) [func_periodic_hook]
[ Context 'outgoing_calls' created by 'pbx_config' ]
'_X.' => 1. Monitor(wav,/tmp/testcall,mb) [extensions.conf:16]
2. Dial(SIP/${EXTEN}@manga6) [extensions.conf:17]
-= 3 extensions (10 priorities) in 2 contexts. =-
*CLI> module show like mon
Module Description Use Count Status Support Level
app_mixmonitor.so Mixed Audio Monitoring Application 0 Running core
res_monitor.so Call Monitoring Resource 2 Running deprecated
res_stun_monitor.so STUN Network Monitor 0 Running core
3 modules loaded
Код: Выделить всё
CLI> channel originate SIP/manga6/79307591234 application Playback /var/tmp/10
== Using SIP RTP CoS mark 5
-- Called manga6/79307591234
-- SIP/manga6-00000001 is ringing
-- SIP/manga6-00000001 is making progress
-- SIP/manga6-00000001 answered
-- <SIP/manga6-00000001> Playing '/var/tmp/10.slin' (language 'en')
пробовал и без "/tmp/" - в /var/spool/asterisk/monitor также пусто
пробовал и MixMonitor, также без резудьтата
что я делаю не так ?