Applicationmap does not work for the caller

Hello. Asterisk 16.14
extensions.conf

exten => 19999999999,1,Answer()
exten => 19999999999,n,Set(__DYNAMIC_FEATURES=playmonkeys)
exten => 19999999999,n,Playback(hello-world)
exten => 19999999999,n,Wait(60)
exten => 19999999999,n,Hangup()

features.conf. I’ve tried all commented and uncommented combinations. Restarted asterisk before every attempt

[applicationmap]
playmonkeys => #9,peer,Playback,tt-monkeys
;playmonkeys => #9,peer/both,Playback,tt-monkeys
;playmonkeys => #9,self/both,Playback,tt-monkeys
;playmonkeys => #9,self,Playback,tt-monkeys
;playmonkeys => #9,self/caller,Playback,tt-monkeys

But when I’ve tried to press #9 - no action asterisk done: console:

-- 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

Dynamic features only work when Dial() is executed and the call is bridged with something else.

okay, thank you for this explanation.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.