1. ChangeMonitor - this application allows you to change the filename of the audio file set in the Monitor application.
NOTE: This application is valid for Asterisk version 1.0.9 and above.
Syntax:
ChangeMonitor(filename_base) ; the argument is the desired new filename
Purpose and usage
The purpose of this application is to allow you to change the names of the audio files recorded by the Monitor application. ChangeMonitor works only while the channel is monitoring. It does not work if the channel is hung up or the StopMonitor application is executed. So, it is obvious that this application is always used with the Monitor one.
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 two registered user 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 user anatoliy and ivan
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.
So, in our example when somebody dials 12345, the call will be answered by the Answer application. The next executed extension will be the one which contains the Monitor application. As you can see the desired name for the audio file is proba.
Now, the next extension will execute the application ChangeMonitor. It will rename the audio file from proba to the one, specified in the brackets of the application. As argument in the brackets we have set nenam. So our audio file will be named nenam. The file will be saved in the directory /var/spool/asterisk/monitor/. You can change it in the asterisk.conf file.
Then we have the extension with the Dial application. Thanks to it, the call will be connected to the user ivan through the IAX2 channel.
In order to be sure, that the Asterisk PBX will hang up the line after the conversation is over, it is always a good idea to make an extension for hanging up.
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
Filitra (erctilenovus at gmail dot com) 25 December 2024 06:03:47 Filitra is a brand name for a medication that contains vardenafil hydrochloride, which is commonly used to treat erectile dysfunction (ED) in men. Vardenafil belongs to a class of drugs called phosphodiesterase type 5 (PDE5) inhibitors. These medications work by relaxing the muscles and increasing blood flow to certain areas of the body, particularly the penis during sexual stimulation, thereby helping men achieve and maintain an erection.
Visit Here : https://maogb.com/product-category/filitra/
KevinRal (vjtzfcco at gmail dot com) 29 August 2023 08:19:45 before and after cialis photos <a href="https://tadalafilise.cyou/">before and after cialis</a> cialis fast delivery
(gracieromaa at gmail dot com) 07 May 2022 13:49:57 "When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I receive four emails with the exact same comment. Is there an easy method you are able to remove me from that service? Appreciate it!"
http://referensmetodik.folkhalsomyndigheten.se/w/Anv%C3%A4ndare:MiloWindeyer5
RobertSah2145 (gracieromaa at gmail dot com) 26 January 2022 02:27:09 "Itís difficult to find experienced people in this particular subject, but you seem like you know what youíre talking about! Thanks"
http://nes-world-web.ucoz.site
chloroquine availability in usa (agustincranswick at pecinan dot com) 12 July 2020 00:20:09 chloroquine availability in usa https://azhydroxychloroquine.com/
cenforce 200 mg for sale in india (crystalsheil at discardmail dot com) 01 July 2020 09:12:58 cenforce 200 mg for sale in india http://cavalrymenforromney.com/