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>