Hi, I’m using Asterisk 13.12.2 and the scenario is the following:
- extension 91200 is in conversation with 99200 (both pjsip extensions)
- from AMI I execute the action PlayDTMF:
Action: PlayDTMF
Channel: PJSIP/99200-00000021
Digit: 5
Duration: 500Response: Success
Message: DTMF successfully queued
- Extension 99200 listen the audio tone, but no event (DTMFBegin, DTMFEnd) is generated by asterisk, so I can not use dtmf tones to do some actions
Note:
If I use the physical phone keyboard, the events are generated: asterisk console output
[2017-03-25 22:43:59] DTMF[10005][C-00000019]: channel.c:4058 __ast_read: DTMF begin ‘5’ received on PJSIP/91200-00000022
[2017-03-25 22:43:59] DTMF[10005][C-00000019]: channel.c:4069 __ast_read: DTMF begin passthrough ‘5’ on PJSIP/91200-00000022
[2017-03-25 22:43:59] DTMF[10005][C-00000019]: channel.c:3972 __ast_read: DTMF end ‘5’ received on PJSIP/91200-00000022, duration 140 ms
[2017-03-25 22:43:59] DTMF[10005][C-00000019]: channel.c:4013 __ast_read: DTMF end accepted with begin ‘5’ on PJSIP/91200-00000022
[2017-03-25 22:43:59] DTMF[10005][C-00000019]: channel.c:4042 __ast_read: DTMF end passthrough ‘5’ on PJSIP/91200-00000022
I previously use the same action on asterisk 11 and everything was working.
dtmf mode on /etc/asterisk/pjsip.endpoint.conf
is set to dtmf_mode=rfc4733
I need to have same behavior of physical phone using PlayDTMF action, is there any way ?