Привет. подскажите, почему может не работать application map для звонящего?
extensions.conf
exten => 19999999999,1,Answer()
exten => 19999999999,n,Set(__DYNAMIC_FEATURES=skipRecording#playmonkeys)
exten => 19999999999,n,Wait(60)
exten => 19999999999,n,Hangup()
features.conf
[applicationmap]
playmonkeys => #9,peer,Playback,tt-monkeys
также пробовал
playmonkeys => #9,self/both,Playback,tt-monkeys
При вводе #9 звонящим ничего не проирывается и нет попыток отработать featurecodt логику. вот логи из консоли:
-- Executing [19999999999@from-staging1:1] Answer("PJSIP/staging1-00000030", "") in new stack
> 0x7fb9f80320a0 -- Strict RTP learning after remote address set to: 176.9.56.94:12864
> 0x7fb9f80320a0 -- Strict RTP switching to RTP target address 176.9.56.94:12864 as source
-- Executing [19999999999@from-staging1:2] Set("PJSIP/staging1-00000030", "__DYNAMIC_FEATURES=skipRecording#playmonkeys") in new stack
-- Executing [19999999999@from-staging1:3] Wait("PJSIP/staging1-00000030", "60") in new stack
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3992 __ast_read: DTMF begin '#' received on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:4003 __ast_read: DTMF begin passthrough '#' on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3878 __ast_read: DTMF end '#' received on PJSIP/staging1-00000030, duration 100 ms
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3929 __ast_read: DTMF end accepted with begin '#' on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3967 __ast_read: DTMF end passthrough '#' on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3992 __ast_read: DTMF begin '9' received on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:4003 __ast_read: DTMF begin passthrough '9' on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3878 __ast_read: DTMF end '9' received on PJSIP/staging1-00000030, duration 100 ms
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3929 __ast_read: DTMF end accepted with begin '9' on PJSIP/staging1-00000030
[Jul 2 10:17:56] DTMF[1536315][C-0000001a]: channel.c:3967 __ast_read: DTMF end passthrough '9' on PJSIP/staging1-00000030
При этом, что интересно, если второе плечо подключить - то у него все работает.
спросил
2021-07-05 12:49:12 +0400
ipvinner 54 ● 42 ● 5 ● 28
Оказалось, что Dynamic features работают, только когда 2 плеча подключено.
ipvinner ( 2021-07-06 09:08:00 +0400 )редактировать