This is the vxml i wrote and called from asterisk dialplan
record.vxml
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1">
<form id="top">
<property name="inputmodes" value="dtmf"/>
<property name="interdigittimeout" value="2s"/>
<property name="timeout" value="4s"/>
<record name="message" beep="true" maxtime="60s" dtmfterm="true">
</record>
<block>
<submit next="asr.agi" enctype="multipart/form-data" method="get"/>
</block>
</form>
~ in asr.agi file i am just writing on text file to check wheather vxml is calling the file or not. When i dial a number i am able to record my voice but asr.agi file is not able to write on text file both the files are in same directory.
this is my dialplan.
[from-twilio]
exten => _+1NXXXXXXXXX,1,Answer(200)
exten => _+1NXXXXXXXXX,n,Wait(1)
exten =>
_+1NXXXXXXXXX,n,Voximal(file:///home/ubuntu/voximal/recordAudio/record.vxml)
can anyone please help me. I am using voximal in asterisk.