I cannot transmit a DTMF signal during an outgoing call

Good day. Please advise. I encountered such a problem. I cannot transmit a DTMF signal during an outgoing call to stop recording. During an incoming call, everything works correctly.
[applicationmap]
pause_recording => *3,self,StopMixMonitor()
resume_recording => *4,self,MixMonitor(${WAV}.wav,a)

If you cannot transmit them, that is an issue for the phone.

If they are not recognized, “self” is probably not referring to the leg on which MixMonitor was run.

Normally you would use Pause, not Stop.

If using SIP and RFC4733, then “rtp set debug on” would show the DTMF arriving. If it doesn’t appear then as @david551 says the problem would be outside of Asterisk.


Data is transmitted *3 or *4. Example.
When I call from 3001, to 1001.
1001- works
3001 - does not

even if I call the other way around, then 3001 works, but to 1001.
It turns out that the outgoing call cannot stop the recording.