1. AgentLogin - this application allows you to log in an agent, to the system
NOTE: This application is valid for Asterisk version 1.0.9 and above.
Syntax:
AgentLogin([AgentNumber][|options])
List of the possible options
Agentnumber - this is an optional argument. If you set the agent number here, during the login process you won’t be asked to enter agent number, just the password for this agent. The agent number has to be created in the agents.conf file. options - There is only one possible option. If you set the letter s, the system won’t play an announce file that the login is successful. If you leave this space blank, the Asterisk, will play the announce file after the entering of a the agent’s password and extension.
Purpose and usage
The purpose of this application is to allow you to log in an agent into a queue. The application allows you to skip the entering of the agent number, during the login process, by setting it as argument of the application.
The difference between the AgentLogin application and the AgentCallbackLogin application is that with the first one you have to keep the phone receiver open. If you hang up the phone, the agent will be logged off from the queue. With the second application, you are allowed to hang up the phone after the login process is finished.
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 one of the uses of this application. Of course you can use it and for other things.
iax.conf and sip.conf Configurations
We need one registered user in the iax.conf file and also another one in the sip.conf file. This is because we are going to use the IAX2 and the SIP channels. If you want to use other protocol such as MGCP, you have to do the configurations below respectively in mgcp.conf.
1) iax.conf
2)sip.conf
So, we have registered the user user1 in the iax.conf file and the user operator in the sip.conf file.
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.
In the sip.conf file you can see the following option: disallow=all. This means that the line will not support any codecs. However, below this option we have allow=ulaw, allow=alaw and allow=gsm. This means that the line will support these three codecs - ulaw, alaw and gsm. It is important to write the options exactly in this order. First you write the disallow=all option and then the allow options. Otherwise, if you write the disallow option after the allow options, no codecs will be supported by the line.
queues.conf Configurations
In this file you have to say which users or agents will participate in your queue. In other words, which users or agents will be responsible for the answer of an incoming call. More about the features of this configuration file, you can learn in our tutorial about the queues.conf file.
There are two possible ways to configure the settings in this file.
The first one, is the so called "static" way. For this configuration you do not need the agents.conf file.
You will say directly, which users to answer the incoming call. In our example, we have created a context with the name [test]. In this context we have written the following: member => SIP/operator. This means that this user(operator) will be responsible for the answering of the incoming calls in the queue test. In the same way you can add even more than one user, which you would like to answer in this queue. However in our case we will have only one user. The advantage of this method, is that you do not have to use the AgentLogin or the AgentCallbackLogin applications in order to log the user in the queue. It will be logged in automatically, when it turns on its phone. The disadvantage is that this user can use, only the phone, on which it is registered. That is why the method is called "static". You can see a screenshot below
The other way is the so called "dynamic" way. For this configuration you will need the agents.conf file.
In the section agents.conf Configurations we will show you the configurations in it and here we will explain you the configurations in queue.conf file.
Unlike the static method, here we have to write not the name of the user, but the number of the agent, as written in the agents.conf file. In our example we have written the following: member => Agent/8888. This means that we want the agent with number 8888, to answer the incoming calls in the queue test. If you decide to use this method you have to add in your dial plan either the AgentLogin or the AgentCallbackLogin application. This is necessary, because unlike the "static" method, here is not enough just to turn on your phone. The user has to log in itself in the queue, manually. The advantage of this method is that the user could log in from any place and phone, which is connected with the Asterisk PBX.You can see a screenshot below.
agents.conf Configurations
As we have mentioned above, we have to use this configuration file, if we decide to use the "dynamic" method. In this file, we have to create one or more agents. We will use them to answer the incoming calls in our queue.
The way of creating an agent is the following: agent => agentnumber,agentpassword,agentname. In our case we have written the following: agent => 8888,8888,operator. This means that we have registered an agent with number 8888, password 8888 and username operator. The agent is set in the [agents] context. The agent number will be used in the queues.conf file. Please, take a look at section queues.conf Configurations above, to learn how to do this.
We have one extension with the number 112. It contains the Queue application. Due to it the incoming call will be attached to the queue [test], created in the queues.conf file.
However, in order to be answered the incoming call, we need an logged in agent. For the purpose we will use the AgentLogin application.
We have to create an new extension with this application. In our case this will be the extension with number 110. We have no arguments in the brackets, that is why when somebody dials the extension, the system will ask for agent number and then for the password for this agent. If they are correct the agent will hear a music on hold in the phone receiver. Do not forget that if the phone is hung up the agent will be logged off. So if you use a hard phone do not close the receiver. It will be more easier to use this application with a softphone. When there is an incoming call into the queue and the agent is free, the agent will hear a beep tone and that the call will be answered automatically. The agent could hang up the call by pressing the asterisk key(*).
You can set the agent number as argument in the brackets of the application. In this way the system will ask you only for its password.
To log off an agent, just hang up the channel.
2. Screenshots of what you can see on the CLI of the Asterisk PBX
1) Agent login
2) Call queue
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
game (zxtulep8340 at app dot lbe dot kr) 15 September 2023 07:28:58 Good morning everyone I want to tell you my knowledge of a site that will give you a good life and certainly will not regret it because it can help you greatly
https://gamerphilippines.blogspot.com/
gamer (kozmljt3366 at www dot mnet dot com dot lbe dot kr) 15 September 2023 07:09:58 not everybody in the world can do everything because they do not all have confidence in themselves so if you want to have confidence in yourself we can talk to my site and teach you thanks
https://gamerphilippines.blogspot.com/
vgnaAtott (gzvtvieh at gmail dot com) 27 August 2023 12:29:50 gia thuoc tadalafil 20mg <a href="https://tadalafilise.cyou/">36 hour cialis</a> cialis pills canada
gaming (hzituwa6590 at work dot oyu dot kr) 23 August 2023 11:05:18 Fabulous My goodness, how impressive!
https://gamerphilippines.blogspot.com/
개츠비카지노 (yhsdds6181 at www dot chol dot com dot ely dot kr) 10 March 2023 07:05:02 Fabulous My goodness, how impressive!
https://8mod.net/first/
Sheikh Hussein (drmashamillah at gmail dot com) 20 December 2022 01:04:28 Welcome to the International Council of Witchcraft Voodoo Master Spell Casters WhatsApp ☎ +27765274256 Spell Casting Services Call ☎ +27765274256 A spell is only as powerful as the witch who casts it. In this day and age, most people do not have the experience or resources to cast effective spells. The result is that the spell is ineffective or worse, the caster inadvertently allows dark forces into his or her life. Contact a Spell caster - Sheikh Hussein Call/Text ☎ +27765274256 Spell work Consultations - $100 Spell to Bring Back a Lover - Voodoo Spell to Bring Back a Lover - $275 Voodoo Obsession Spell - Powerful Voodoo Obsession Spell - $290 Powerful Break Up Spell - $335 Ultimate Full Moon Coven Ritual - $1,250 Spell for Abundance and Prosperity - $240 Spell for Career Success - $290 Ultimate Binding Spell - $335 Extremely Powerful Weight Loss Spell - $300 Most Powerful Beauty Spell - $335 Successful Business Spell - $500 Spell to Win the Lottery - $777 New Moon Manifestation Ritual - $850 Spell to Awaken Psychic Senses - $890 Spell to Get a Court Case Dismissed - $335 Witch Initiation Ritual - $1,250 Uncrossing Spell - $720 Stay Faithful Love Spell - $275 Gambling Luck Spell - $350 For Powerful Ancient Voodoo Spells Contact Sheikh Hussein Call now for more information Mobile: +27765274256 E-Mail: sheikhhussein@protonmail.com Visit: https://www.darkenergyremoval.co.za
Furniture transfer company in Medina (info at domyate dot com) 05 February 2022 19:22:21 Thanks for post this helpful post - Please visit for More information about -
Furniture transfer company in Mecca (info at jumperads dot com) 05 February 2022 19:08:08
No matter if some one searches for his required thing,
therefore he/she desires to be available that in detail, so that thing is maintained over here.
http://jumperads.com/
http://jumperads.com/transfer-furniture-riyadh.html
http://jumperads.com/transfer-furniture-jeddah.html
http://jumperads.com/transfer-furniture-dammam.html
http://jumperads.com/transfer-furniture-medina-almonawara.html
http://jumperads.com/transfer-furniture-taif.html
http://jumperads.com/transfer-furniture-mecca.html
http://jumperads.com/transfer-furniture-yanbu.html
http://jumperads.com/transfer-furniture-in-najran.html
http://jumperads.com/transfer-furniture-in-khamis-mushait.html
http://jumperads.com/transfer-furniture-abha.html
http://jumperads.com/transfer-furniture-buraydah.html
http://jumperads.com/transfer-furniture-qassim.html
http://jumperads.com/transfer-furniture-tabuk.html
http://jumperads.com/transfer-furniture-hail.html
http://jumperads.com/transfer-furniture-dammam-khobar.html
http://jumperads.com/transfer-furniture-ahsa.html
http://jumperads.com/transfer-furniture-qatif.html
http://jumperads.com/transfer-furniture-jubail.html
http://jumperads.com/transfer-furniture-hafr-albatin.html
http://jumperads.com/price-transfer-furniture-mecca.html
http://jumperads.com/transfer-furniture-mecca-2017.html
http://jumperads.com/how-transfer-furniture-mecca.html
http://jumperads.com/all-company-transfer-furniture-mecca.html
http://jumperads.com/best-company-transfer-furniture-mecca.html
http://jumperads.com/price-transfer-furniture-jeddah.html
http://jumperads.com/transfer-furniture-jeddah-2017.html
http://jumperads.com/how-transfer-furniture-jeddah.html
http://jumperads.com/all-company-transfer-furniture-jeddah.html
http://jumperads.com/best-company-transfer-furniture-jeddah.html
http://jumperads.com/price-transfer-furniture-yanbu.html
http://jumperads.com/transfer-furniture-yanbu-2017.html
http://jumperads.com/how-transfer-furniture-yanbu.html
http://jumperads.com/all-company-transfer-furniture-yanbu.html
http://jumperads.com/best-company-transfer-furniture-yanbu.html
http://jumperads.com/price-transfer-furniture-medina.html
http://jumperads.com/transfer-furniture-medina-2017.html
http://jumperads.com/how-transfer-furniture-medina.html
http://jumperads.com/all-company-transfer-furniture-medina.html
http://jumperads.com/best-company-transfer-furniture-medina.html
http://jumperads.com/price-transfer-furniture-riyadh.html
http://jumperads.com/transfer-furniture-riyadh-2017.html
http://jumperads.com/how-transfer-furniture-riyadh.html
http://jumperads.com/all-company-transfer-furniture-riyadh.html
http://jumperads.com/best-company-transfer-furniture-riyadh.html
https://easteldammammm.edublogs.org/ (a_ali77 at yahoo dot com) 05 February 2022 19:07:18 https://easteldammammm.edublogs.org/
https://easteldammmamm.edublogs.org/
https://easteldamam.edublogs.org/
https://ataralmadinah.edublogs.org/
JorgeNug (wendellcom at binaryoptions60sec dot com) 19 October 2019 10:29:39
You have made your position very well!!
lisinopril 5mg tab
<a href=http://lisinopriltrust.com/>lisinopril 20 mg</a>
lisinopril on line no perscription
<a href=http://lisinopriltrust.com/#>lisinopril hctz</a>
canadian pharmacies (jtjrrtnrtefege at mail dot com) 29 August 2019 22:06:05 <a href="http://canadianpharmaciesoffer.com/">best mail order pharmacies</a>
http://canadianpharmaciesoffer.com/
<a href=http://canadianpharmaciesoffer.com/>best online pharmacies canada</a>
highest rated canadian pharmacies (jtjrrtnrtefege at mail dot com) 26 March 2019 15:26:17 <a href="http://canadianpharmacyxyz.com/">us pharmacy no prior prescription</a>
http://canadianpharmacyxyz.com/
<a href=http://canadianpharmacyxyz.com/>online pharmacy</a>
gtaletyzuz (rnikbnqcg at rarsato dot xyz) 04 October 2018 00:43:54 <a href="http://canadian-pharmacyiorder.com">buy generic cialis online</a> cheap cialis pills for sale http://canadian-pharmacyiorder.com
ztaletpdli (zbifcsfop at buyviagrausabuy dot com) 02 October 2018 01:42:11 <a href="http://canadian-pharmacyionline.com">discount viagra paypal</a> viagra cheap online canada http://canadian-pharmacyionline.com
ddolboy5 (ddolboy5 at gmail dot com) 28 September 2018 13:58:27 https://custory.com/theking/
https://custory.com/woori/
https://como79.com/
https://como79.com/theking/
https://stylebet77.com/
https://stylebet77.com/theking/
https://dancesweb.com/theking/
https://dancesweb.com/woori/
https://pauio.com/theking/
https://pauio.com/woori/
ftaletascl (uxiepatqw at rarsato dot xyz) 27 September 2018 06:46:57 <a href="http://canadian-pharmakgae.com">cheap viagra sydney</a> buy viagra no prescription http://canadian-pharmakgae.com
ataletkrnk (rxkciuxww at propvatet dot xyz) 20 September 2018 06:10:15 <a href="http://h-m-j.com">order viagra today</a> canadian pharmacy generic viagra http://h-m-j.com
wtaleteoft (jqtczwgxg at rarsato dot xyz) 19 September 2018 12:03:06 <a href="http://bullsac.com">levitra side effects</a> buy generic levitra http://bullsac.com
ntaletkhfd (cifhyvzvs at propvatet dot xyz) 16 September 2018 01:01:48 <a href="http://usedrestaurantequipmentaz.com">cheap cialis prices uk</a> cialis canada mail order http://usedrestaurantequipmentaz.com
xtaletivjb (lzedxxbvl at buyviagrausabuy dot com) 14 September 2018 21:46:26 <a href="http://zbloggers.com">does propecia regrow hair</a> is propecia safe http://zbloggers.com
italetctsf (hjtwvzofm at propvatet dot xyz) 12 September 2018 17:35:26 <a href="http://canadian-pharmaonline.com">viagra pill</a> herbal viagra pills http://canadian-pharmaonline.com
rtaletpxni (gbpdztoxh at rarsato dot xyz) 11 September 2018 22:17:23 <a href="http://gigawatt6.com">cialis 5mg price</a> order cialis now http://gigawatt6.com
jtaletmtws (hwppzirno at propvatet dot xyz) 03 August 2018 09:33:57 <a href="http://gigawatt6.com">best place to buy cialis</a> cialis generic canada pharmacy http://gigawatt6.com
John Michael (michaell at callboxinc dot com) 27 April 2008 05:51:42 How could I stay my agent log-in even though i hang-up the phone.. I\'m using asterisk 1.6 beta 7(Real Time Architecture)