<div dir="ltr"><p>Dear All,<br>I have the below context defined in extensions.con:</p>
<p>[a2billing]<br>exten =&gt; _X.,1,Gotoif($[${EXTEN} = 111] ? 21)<br>exten =&gt; _X.,2,DeadAGI,a2billing.php<br>exten =&gt; _X.,3,Wait,2<br>exten =&gt; _X.,4,Hangup<br>exten =&gt; _X.,21,Wait(2)<br>exten =&gt; _X.,22,Record(/tmp/asterisk-recording:ulaw)<br>
exten =&gt; _X.,23,Wait(2)<br>exten =&gt; _X.,24,Playback(/tmp/asterisk-recording)<br>exten =&gt; _X.,25,Wait(2)<br>exten =&gt; _X.,26,Hangup</p>
<p>When a customer dial 111 number the asterisk server play a beep wav file...The customer record his voice and click on # to hear his voice...</p>
<div>The question is:<br>I need to give the customers only 10 seconds to record his voice, after that the system should&nbsp;stay 2 seconds before playing back the voice recorded</div>
<div>&nbsp;</div>
<div>Thanks </div></div>