• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
Back to Tutorials

6.1.2.11. Busy (dialplan application)

1. Busy - this application allows you to indicate a busy mode.

NOTE: This application is valid for Asterisk version 1.0.9 and above.

 


Syntax:

Busy(timeout) ; write as argument the period of time for which you want to indicate busy mode. The delay is in seconds

 


Purpose and usage

You can use this application in case of timeout or invalid conditions. The application allows you to set a delay. So, you can make an extension which will play busy tone for 10 seconds if there is a timeout or invalid operation.

 


Prerequisites

To use this application you need a working Asterisk PBX with registered users in iax.conf, sip.conf or mgcp.conf(It depends on which protocol you would like to use) and made extensions.

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.

We need three registered users in 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 users anatoliy, user1 and user2.

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 111 the first executed application will be Answer. Then the caller will hear a playtone for a busy condition. We will achieve this with two extensions. The first one contains the Playtones application and the second one the Busy application. It is very important to use the two applications together. If you use only one of them the result won’t be the desired one. For example if you use only one of them the result won’t be the desired one. For example if you use only Playtones you won’t here a signal. Again if you use only Busy u won’t hear a signal.

NOTE: Please, pay attention that we are talking about the IAX2 channel. If you are going to use the SIP channel you don’t need to use the Playtones application. The Busy application is enough to hear the busy signal. So, this depends on the used channel.

In the brackets of the Playtones application we have written busy. This is a standard playtone. You can change its parameters in the indications.conf file. However we recommend you to leave the settings by default.

We advise you to set a delay as an argument in the brackets of the Busy application. If you leave the brackets empty the busy signal will continue endlessly or until the caller hang up the phone. In our case we have set 10 seconds. When this time expires, the next extension will be executed, if such one exists.

NOTE: When you are going to use the Playtones application, you always have to use the Answer application before that. Otherwise you won’t be able to hang up the line from your softphone and you will be constrained to restart it.

You cannot use Playback or Background application for indicating busy condition because they do not support arbitrary tones.

Don’t forget that it is always a good idea to make an extension for hanging up. In this way you will be sure that after the conversation is over the Asterisk PBX will close the line.

 


2. Screenshots of what you can see 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

 

 
User Comments
HanSooyoung (selsayln778 at gmail dot com)
27 February 2022 10:10:47
https://www.buymeacoffee.com/unchartedhd/n-a-889745
https://www.buymeacoffee.com/unchartedhd/n-a-889748
https://www.buymeacoffee.com/unchartedhd/n-a-889750
https://www.buymeacoffee.com/unchartedhd/n-a-889753
https://www.buymeacoffee.com/unchartedhd/n-a-889755
https://www.buymeacoffee.com/unchartedhd/n-a-889769
https://www.buymeacoffee.com/twbacklight/n-a-889782
https://www.buymeacoffee.com/twbacklight/n-a-889794
https://www.buymeacoffee.com/twbacklight/n-a-889798
https://www.buymeacoffee.com/twbacklight/n-a-889802
https://www.buymeacoffee.com/twbacklight/n-a-889806
https://www.buymeacoffee.com/twbacklight/n-a-889811
https://www.buymeacoffee.com/thjujutsu/n-a-889854
https://www.buymeacoffee.com/thjujutsu/n-a-889863
https://www.buymeacoffee.com/thjujutsu/n-a-889873
https://www.buymeacoffee.com/tellwemeetagain/n-a-890455
https://www.buymeacoffee.com/tellwemeetagain/n-a-890462
https://www.buymeacoffee.com/tellwemeetagain/n-a-890468
https://www.buymeacoffee.com/tellwemeetagain/n-a-890480
https://www.buymeacoffee.com/BatmanFullMovie/n-a-891514
https://www.buymeacoffee.com/BatmanFullMovie/n-a-891515
https://www.buymeacoffee.com/MoonfallHD/n-a-891519
https://www.buymeacoffee.com/MoonfallHD/n-a-891518
https://www.buymeacoffee.com/TwSpiderman/n-a-891537
https://www.buymeacoffee.com/TwSpiderman/n-a-891539
https://public.flourish.studio/visualisation/8821199/
https://public.flourish.studio/visualisation/8821196/
https://public.flourish.studio/visualisation/8815713/
https://public.flourish.studio/story/1150102/
https://public.flourish.studio/visualisation/8815748/
https://public.flourish.studio/story/1150106/
https://public.flourish.studio/visualisation/8817320/
https://public.flourish.studio/visualisation/8817564/
https://public.flourish.studio/visualisation/8817575/
https://public.flourish.studio/visualisation/8817642/
https://public.flourish.studio/visualisation/8817672/
https://public.flourish.studio/visualisation/8817750/
https://public.flourish.studio/visualisation/8817779/
https://public.flourish.studio/visualisation/8821158/
https://public.flourish.studio/visualisation/8821164/
https://moonfall-freeduckling-online.tumblr.com/
https://morbius-freeduckling-hd1080p.tumblr.com/
https://jujutsukaisen-freeduck1080p.tumblr.com/
careprost buy online (minnie_ruggieri37 at welcore dot ml)
02 August 2020 10:37:08
careprost buy online https://www.jueriy.com/
cheapest viagra 50 mg (alfredo dot grills at drizat dot xyz)
17 July 2020 12:35:08
cheapest viagra 50 mg https://cleverviagra.com/
Rangle (ayj2a7bmpkt at outlook dot com)
20 November 2016 08:34:47
I liltearly jumped out of my chair and danced after reading this! http://fkllgmfqrd.com [url=http://heswdsurw.com]heswdsurw[/url] [link=http://vztmxxqk.com]vztmxxqk[/link]
 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • Sending Fax from Zoiper to Zoiper using T.38
    added 08/Dec/2008 18:16
  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53

Latest Comments:

  • https://git-ce.rwth-aachen.de/mbd/kiste_...
    tutorial: Basic Information
  • https://git-ce.rwth-aachen.de/mbd/kiste_...
    tutorial: Basic Information
  • https://www.thebeachlittlehampton.co.uk/...
    tutorial: Digium Wildcard TE405 / Wildcard TE410P
  • https://www.viessmann-community.com/t5/R...
    tutorial: Asterisk Installation
  • https://d2l.msu.edu/d2l/eP/presentations...
    tutorial: Asterisk Realtime configuration
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™