1. WaitExten - this application gives you an extra time for entering an extension.
NOTE: This application is valid for Asterisk version 1.0.9 and above.
Syntax:
WaitExten([seconds][|options])
List with the possible options
m[(x)] - this option allows you to play music on hold to the caller while waiting for an extension. The x in the parenthesis is to allow you to specify a music on hold class. This is an optional argument.
Purpose and usage
The purpose of this application is to give you the possibility to dial a new extension. In other words, you dial one extension and thanks to the WaitExten application, you can go to another one. You can limit the time, which the caller has, to enter the new extension. Also, you can play music on hold while waiting for the new extension.
This application could be used for something like a menu. For example, you can have one number for the incoming calls. You can give this number to all your customers. Then, when they dial this number, they could receive information about the internal numbers of your departments or the numbers of your services. Then with the WaitExten application you will give them the chance to dial some of this numbers.
To see how the application works we recommend to use our IAX softphone Idefisk. You can download it from here. Please also read our tutorial to learn how to configure it to work with Asterisk PBX.
Asterisk PBX configurations
NOTE: This is only an example of what for you can use this application. Of course you can use it and for other things.
iax.conf Configurations
We need one registered user in the iax.conf file. This is because we are going to use the IAX2 protocol. If you want to use other protocol such as SIP or MGCP, you have to do the configurations below respectively in sip.conf or mgcp.conf.
So, we have registered the user operator
Type=friend means that this user can make and receive calls. Host=dynamic means that the IP is not static but dynamic through a DHCP server. Allow=all means that the line which this user will use, could support all audio codecs. Context=test - this shows that this user is working with the extensions in this context of the configuration file extensions.conf.
When somebody dials 1111, the call will be answered by the Answer application. The next executed extension will be the one which contains the Playback application. Thanks to it, the caller will hear a welcome message. The message could inform the user about the possible options. For example, it could be something like this: Thank you for using our services! If you would like to contact with the operator please dial 1112, if you would like to check a voicemail please dial 1113. The message has to be put in the directory /var/lib/asterisk/sounds. This is the directory by default. You can change it in the asterisk.conf file.
You can omit the Playback application and you can put the sound file in the music on hold directory. By default it is /var/lib/asterisk/mohmp3. You can change it in the asterisk.conf file. The file format has to be .mp3.
When the sound message finishes, the next executed extension will be the one with the WaitExten application. As arguments in its brackets we have set the following: 15|m.
15 - the user has maximum 15 seconds to enter an extension. m - this means, that a music on hold will be played while waiting for the extension.
As you can see the WaitExten application gives you the possibility to play music on hold. So, you can omit the Playback application and you can put the sound message in the music on hold directory. By default it is /var/lib/asterisk/mohmp3. You can change it in the asterisk.conf file. The file format has to be .mp3.
If the caller dials 1112, the call will be connected to this extension. In our case this will cause the dialing of the user operator through the IAX2 channel. This will be realized by the Dial application.
Thanks to the Hangup application, the line will be hang up, when the conversation is over.
If the caller dials 1113, the call be handled by the VoiceMailMain application. It will bring to the user, the possibility to enter in the Asterisk`s voicemail system. There, the caller could check its mailbox.
Finally, in order to be sure that the Asterisk PBX will hang up the line after the conversation is over, it is a good idea to make an extension for hanging up the line.
2. Screenshots of what you can see on your Idefisk and on the CLI of the Asterisk PBX
3. Additional information
For more information about extensions.conf you can check here.
For more information about iax.conf you can check here.
This application is tested with our IAX softphone Idefisk. You can download it from here. For more information about this softphone please read our tutorial.
If you would like to test this application with the SIP channel you can read our tutorials about the SIP Softphones to learn how to configure them to work with Asterisk PBX
Wire Container (alicia at sydisplayfixture dot com) 28 April 2023 04:39:42 We are a supplier of Wire Container.Wire cage.logistic container.Warehouse wire container.wire storage container.. such as storage equipment.We has been helping worldwide clients implement their projects .From before-sales consulting service to production line building, we provide genuine turn-key project.
Web Site:http://www.sydisplayfixture.com/
If you need iron products, you can contact us.
Ahrrhaide (hn7twfedqgxbhi at gmail dot com) 17 October 2022 15:59:59 atorvastatin 80 mg tab <a href="https://atorvastatinexg.com/ ">colchicine and atorvastatin</a> atorvastatin en espaГ±ol
Axzxhaide (hn7tfqgeezxdqgxbhi at gmail dot com) 17 October 2022 15:09:42 atorvastatin calcium 80 mg <a href="https://lipitorrfv.com/ ">what is atorvastatin 40 mg</a> lipitor liver enzyme levels
Axehaide (hn7tfqgeedqgxbhi at gmail dot com) 14 October 2022 16:04:56 metformin after hysterectomy <a href="https://glucophagedvj.com/ ">buy glucophage online</a> metformin dosage normal
JtvaSeinebeet (f4rh5waesf3fmgail at gmail dot com) 13 October 2022 01:33:35 does lyrica give you energy <a href="https://lyricaecf.com/ ">rap god lyrica</a> can you take lyrica and gabapentin together
Nikmmsoymn (43cgwe4mut32rbhi at gmail dot com) 12 October 2022 22:45:33 para que esta indicado el neurontin <a href="https://gabapentinsdf.com/ ">lexapro and gabapentin together</a> gabapentin side effects and alcohol
WnfvSoaws (f43egswqzhwk4zxfehi at gmail dot com) 11 October 2022 13:06:55 cuando tomar nolvadex en un ciclo <a href="https://nolvadexolf.com/ ">can u drink on nolvadex</a> alternatief tamoxifen postmenopausal
Azwhaide (hn7tfw23e4gqgxbhi at gmail dot com) 08 October 2022 23:47:32 glucophage neuropathy peripheral <a href="https://metformindcv.com/ ">glucophage lawsuit</a> glucophage fatty liver
WbzwSoaws (f43egwqzhwk4zxfehi at gmail dot com) 05 October 2022 22:01:02 furosemide msds <a href="https://lasixona.com/ ">lasix drug test</a> otc furosemide
Acrnhaide (hn7t3wg3hnfgxbhi at gmail dot com) 01 October 2022 00:02:19 online pharmacy legal <a href="https://cloudpharix.com/ ">prescription drugs account for 25 of all healthcare related costs</a> z pak canadian pharmacy
EuuySeine (4gtfwf32ytwq4ailq at gmail dot com) 27 September 2022 04:29:58 hydrochlorothiazide 12.5 en espaГ±ol <a href="https://lisinoprildrh.com/ ">lisinopril uses</a> lisinopril morning or night
Anwnhaide (hn7t3wg3fgxbhi at gmail dot com) 26 September 2022 05:40:55 viagra cialis and levitra <a href="https://getlevitrix.com/ ">difference between levitra viagra</a> levitra 20 mg pill
Joxwsoymn (g343eolzxwf3ddfhi at gmail dot com) 26 September 2022 01:18:40 cialis price <a href="https://totadalaflday.com/ ">cialis online free shipping</a> cialis prescription
Nengsoymn (43c3234utbhi at gmail dot com) 22 September 2022 23:07:36 viagra singapore price <a href="https://prsildenaflsult.com/ ">discount generic viagra</a> viagra 50 mg tablet price in india
EcxzSeine (4gtfwf32twq4ailq at gmail dot com) 21 September 2022 03:39:02 cialis where can i buy <a href="https://ggcilistoday.com/ ">cialis drug interactions</a> canada drugs cialis
JpplSeinebeet (4gg3eedzgdrgail at gmail dot com) 20 September 2022 07:41:06 cialis cheap free shipping <a href="https://rockcilis.com/ ">cialis and grapefruit enhance</a> generic cialis release date
EnsSeine (4gtfwf32w4ailq at gmail dot com) 14 September 2022 07:59:12 viagra best buy india <a href="https://sivigraso.com/ ">can i buy female viagra over the counter</a> online viagra cost
Nsbusoymn (433e3utbhi at gmail dot com) 05 September 2022 20:13:43 sildenafil 100mg generic mexico <a href="https://sendiviagr.com/ ">female viagra pills in india</a> where to buy cheap sildenafil
WxevSoaws (f43egnndfehi at gmail dot com) 28 August 2022 21:01:18 essay corrector <a href="https://essaymeshing.com/ ">synthesis essay example</a> essay conclusion
EcrSeine (4gtfwbrrdarfsailq at gmail dot com) 22 August 2022 10:32:20 how to form a thesis statement <a href="https://thesisabbess.com/ ">mba thesis</a> thesis proposal sample https://thesisabbess.com/
Afxxhaide (hn7tohr5ftthdxbhi at gmail dot com) 16 August 2022 06:33:14 Nemasole <a href="https://mgpharmmg.com/ ">online pharmacy tech</a> polish pharmacy online uk https://mgpharmmg.com/
Jrnosoymn (g34xggxo4ohhi at gmail dot com) 11 August 2022 15:57:54 buy cialis without <a href="https://qcialiuss.com/ ">cialis for performance anxiety</a> 40 mg cialis too much https://qcialiuss.com/
JunbSeinebeet (4ggfb4bgrwgail at gmail dot com) 11 August 2022 10:00:28 walgreen cialis price <a href="https://tocialius.com/ ">buy cialis in cro</a> how can i get cialis in australia
EgwSeine (4gtfwbdrfsailq at gmail dot com) 10 August 2022 19:33:51 Cytoxan <a href="https://upharmu.com/ ">Astelin</a> Forzest
Afgohaide (hn7tohr5ftthdbhi at gmail dot com) 10 August 2022 04:56:48 blak cialis <a href="https://formenciales.com/ ">cialis cost cvs</a> cialis street price
WrbhSoaws (f43wrgdgnnhi at gmail dot com) 03 August 2022 04:36:18 cost of viagra 100 mg <a href="https://sildenaflabc.com/ ">viagra pharmacy usa</a> viagra website
Nexzsoymn (4ertgedwf3utbhi at gmail dot com) 30 July 2022 13:46:31 tadalafil metabolism <a href="https://cialpriceus.com/ ">tadalafil and tamsulosin and blood pressure</a> super cialis
Jtfbjsoymn (g344eserdggx4ohhi at gmail dot com) 28 July 2022 19:17:12 active ingredient in cialis <a href="https://cialssis.com/ ">cialis canada pharmacy no prescription required</a> https://cialssis.com/
Admjhaide (hn7thr5fthhi at gmail dot com) 11 July 2022 16:45:06 sildenafil citrate generic <a href="https://xtyviagrix.com/ ">sildenafil cheap buy</a> https://xtyviagrix.com/
Jnndsoymn (g344sgdn544ohhi at gmail dot com) 03 July 2022 09:32:46 generic viagra 2018 <a href="https://gogiviagr.com/ ">can i buy sildenafil over the counter in canada</a> https://gogiviagr.com/
Jthgsoymn (g344sg544hhi at gmail dot com) 23 June 2022 09:29:32 toefl essay samples actions speak louder <a href="https://needmoreessay.com/ ">essay on diwali in hindi pdf</a> https://needmoreessay.com/
DnyuAmazy (4wgh6ujhtgfhsje at gmail dot com) 17 October 2021 16:12:37 coupon viagra prescription <a href="https://cvigrahi.com/ ">strengths and weaknesses of viagra</a>
Fththaide (ythwabetesik76gstfhi at gmail dot com) 09 October 2021 22:57:19 viagra cause fever <a href="https://tvigrast.com/ ">blue cross blue shield viagra coverage</a>
SoawsAfv (3ggrh4sfrcvhi at gmail dot com) 18 August 2021 06:18:02 forgot to take lexapro <a href="https://lexaproescitalopramsh.com/">generic for lexapro</a> starting lexapro side effects <a href=https://lexaproescitalopramsh.com/>lexapro and libido</a> ’
RtgsoymnDev (hdt53hd8gbjntwhi at gmail dot com) 09 August 2021 00:14:27 buy viagra cheap <a href="https://viagrviagrs.com/">what would happen if a girl took viagra</a> viagra 50mg <a href=https://viagrviagrs.com/>viagra soft tablets</a> ’
soymnAni (3gh56pcvhi at gmail dot com) 01 June 2021 06:01:46 Sildigra <a href=https://pharmacyken.com/>most dangerous prescription drugs</a> Imodium
Fmrfsoymn (wiljdhwgebbwhfhi at gmail dot com) 19 May 2021 20:27:50 cialis price https://cialisee.com/ - cialis 5mg tablets canadian pharmacy viagra cialis
Bbshmymn (wil734th4phi at gmail dot com) 08 May 2021 21:39:13 generic viagra walmart http://loxviagra.com/ taking viagra for fun
LhdvFough (4wnreh34rgkudfe at gmail dot com) 01 May 2021 06:04:02 generic cialis tadalafil http://asciled.com/ - buy cialis online buy brand name cialis
Joel William (joelwilliam62 at yahoo dot com) 07 April 2021 18:47:15 Every weekend i used to pay a quick visit this web page, for the reason that i wish for enjoyment, for the reason that this this web page conations truly pleasant funny stuff too.
http://www.charlestonstateuniversity.com/
JvbdConge (wdassgrehctphi at gmail dot com) 24 March 2021 06:12:04 https://essaywritera.com/ - service learning reflection essay write my essay service <a href="http://essaywritera.com/ ">service essay writing</a> cheap essay writing services
JbnbConge (wiljrerfseabnf3ctphi at gmail dot com) 04 February 2021 08:39:24 viagra super active <a href="http://online21rxon.com/ ">safe canadian online pharmacies</a> canada pharmacy online orders
Lbgsoymn (wilfrdbdgd3phi at gmail dot com) 25 January 2021 22:14:54 viagraonline\\ <a href="http://genqpviag.com/#">where to buy viagra in sydney</a> shopping generic viagra http://genqpviag.com/ - viagra special offers ’
Debra (lfsc0e1mzpa at outlook dot com) 15 April 2017 08:51:04 <a href="http://lsslxqhkmq.com">Finnidg</a> this post solves a problem for me. Thanks!
Gildas (l2bbax58 at gmail dot com) 14 April 2017 13:58:21 At last, sooemne who knows where to find the beef http://ejkbgua.com [url=http://pomyyfltmqf.com]pomyyfltmqf[/url] [link=http://rqjjzvf.com]rqjjzvf[/link]
manouchk (manouchk at gmail dot com) 07 January 2008 13:32:45 a bit late, hope you solved your problem!
exten => s,2,DigitTimeout,1 ; Initially a 1 second pause during dialing will be treated as 'finished dialing'
gina (gparadise at yahoo dot com) 21 March 2007 07:18:48 interesting
Jon (jonsol at gmail dot com) 13 March 2007 18:30:06 How can you break the wait time, I mean, if I put 5 secs to put a value and I already defined that this value must end with '#', so if I put 12#, how can I go next with the dialplan without have to wait the rest of the remaining time? Because the regular expression was already matched it