Dear All,
I have the below context defined in extensions.con:
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Wait(2)
exten => _X.,22,Record(/tmp/asterisk-recording:ulaw)
exten => _X.,23,Wait(2)
exten => _X.,24,Playback(/tmp/asterisk-recording)
exten => _X.,25,Wait(2)
exten => _X.,26,Hangup
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...
The question is:
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
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20080915/e5aa4355/attachment.htm
That should be Record(/tmp/asterisk-recording:ulaw,,10)
-quan
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces
at lists.digium.com] On Behalf Of michel freiha
Sent: September-15-08 7:01 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Asterisk
Dear All,
I have the below context defined in extensions.con:
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Wait(2)
exten => _X.,22,Record(/tmp/asterisk-recording:ulaw)
exten => _X.,23,Wait(2)
exten => _X.,24,Playback(/tmp/asterisk-recording)
exten => _X.,25,Wait(2)
exten => _X.,26,Hangup
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...
The question is:
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
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20080915/615dbe3e/attachment.htm
Thanks Quan Nguyen...Working!!!!!!! On Mon, Sep 15, 2008 at 3:05 PM, Quan Nguyen, (NCS) <Quan.Nguyen at mcgill.ca>wrote:> That should be Record(/tmp/asterisk-recording:ulaw,,10) > > > > -quan > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *michel freiha > *Sent:* September-15-08 7:01 AM > *To:* asterisk-users at lists.digium.com > *Subject:* [asterisk-users] Asterisk > > > > Dear All, > I have the below context defined in extensions.con: > > [a2billing] > exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21) > exten => _X.,2,DeadAGI,a2billing.php > exten => _X.,3,Wait,2 > exten => _X.,4,Hangup > exten => _X.,21,Wait(2) > exten => _X.,22,Record(/tmp/asterisk-recording:ulaw) > exten => _X.,23,Wait(2) > exten => _X.,24,Playback(/tmp/asterisk-recording) > exten => _X.,25,Wait(2) > exten => _X.,26,Hangup > > 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... > > The question is: > 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 > > > > Thanks > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080915/b1226689/attachment.htm