Answer call and sand a DTMF?

Status
Not open for further replies.

Tuly

Member
Sep 6, 2017
42
1
8
39
How can I make a dial plan when a phone dials the dial plan number, the system should answer the call and sent a DTMF to the phone?
 

Tuly

Member
Sep 6, 2017
42
1
8
39
yes this is working for me,

Thanks,


<condition field="destination_number" expression="^\*9777$">
<action application="answer" data=""/>
<action application="set" data="pin_number=999"/>
<action application="lua" data="pin_number.lua"/>
<action application="send_dtmf" data="8"/>
<action application="sleep" data="2000"/>
<action application="hangup" data=""/>
</condition>
</extension>
 
  • Like
Reactions: JamesBorne
Status
Not open for further replies.