<div dir="ltr"><p>Dear All,<br>I have the below context defined in extensions.con:</p>
<p>[a2billing]<br>exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)<br>exten => _X.,2,DeadAGI,a2billing.php<br>exten => _X.,3,Wait,2<br>exten => _X.,4,Hangup<br>exten => _X.,21,Wait(2)<br>exten => _X.,22,Record(/tmp/asterisk-recording:ulaw)<br>
exten => _X.,23,Wait(2)<br>exten => _X.,24,Playback(/tmp/asterisk-recording)<br>exten => _X.,25,Wait(2)<br>exten => _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 stay 2 seconds before playing back the voice recorded</div>
<div> </div>
<div>Thanks </div></div>