[asterisk-users] How to: send dtmf back to the calling channel from post-answer subroutine executed on outbound channel

Saint Michael venefax at gmail.com
Tue Dec 17 14:26:50 CST 2019

I have a customer who wants me to send a DTMF on the calling channel if the
called channel says any word. So I am using

exten => s,1,NoOp(ARG1=${ARG1} ARG2=${ARG2})
 same => n,Playback(hello)
 same => n,Return()


exten => _X.,1,NoOp()
 same =>
 same => n,Hangup()

Is there a way to send DTMF back to the caller from [my_gosub_routine]?
If I use sendDTMF at the moment, it will be heard only by the callee, and
only the caller must hear it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191217/13f04c9b/attachment.html>

More information about the asterisk-users mailing list