<div dir="ltr"><div><div><div><div><div><br clear="all"></div>Hello,<br><br></div> I am using bind_digit_action application in freeswitch dialplan,Once i receive the dtmf i'll transfer to some extension.<br><br></div>
This is working fine when the user press the dtmf but My requirement is to send the dtmf from java ESL , I used send_dtmf application but bind_digit_action didn't work.<br><br><u><b>Actions in dialplan</b></u><br><action application="bind_digit_action" data="my_digits,2,exec:execute_extension,108 XML default,both,both"/><br>
<action application="bind_digit_action" data="my_digits,1,exec:execute_extension,109 XML default,both,both"/><br><br></div><u><b>Code in Java ESL</b></u><br><br><span dir="ltr" id=":15p">public void sendDtmf(Channel channel,int value)<br>
{<br> SendMsg dtmfMsg = new SendMsg();<br> dtmfMsg.addCallCommand("execute");<br> dtmfMsg.addExecuteAppName("send_dtmf");<br> dtmfMsg.addExecuteAppArg(""+value);<br>
// dtmfMsg.addEventLock();<br> EslMessage response = sendSyncMultiLineCommand(channel,<br> dtmfMsg.getMsgLines());<br>}<br><br></span></div><span dir="ltr" id=":15p">Please help me with this issue..Thanks in Advance<br>
</span><div><div><div><br><br><div><div><div>-- <br>Thanks & Regards<br>---------------------------------<br>Nikhitha<br>
</div></div></div></div></div></div></div>