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.
Now lets make the configurations in extensions.conf for the SendDTMF application. On the picture above you could see a screenshot from our extensions.conf file.
First of all we don’t want to write one and the same sentence ten or twenty times. For example if we have 10-15 phone lines and we want the callers of these lines to see our message we have to make separate extensions for each line. However there is a smarter way to achieve this. We need to make a macro. The macro is a special context in extensions.conf.
The first thing when you are going to create a macro is the name. In the brackets write macro, then dash and then the name you want to have for this macro. Now, in the body you have to write only one line. An extension which will contain the SendDTMF application.
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
GoaksHoro (Hoondonia at zhess dot xyz) 29 April 2021 10:02:25 <a href=https://ponlinecialisk.com/>cialis for sale online
JospehBeicy (thincariper1989ytavip at yandex dot ru) 31 January 2019 09:42:51 is cialis enteric coated
cialis price comparison walmart
cialis professional for sale
cialis tablets reviews
cialis international shipping
cialis online australia paypal
cialis kaufen wien
cialis everyday cost
https://stowe365.com/#Buy-Cialis
Kaylyn (tfsupzxz5k at mail dot com) 15 November 2016 18:03:39 This makes evhentriyg so completely painless. http://onsyalbowgr.com [url=http://hdwviiied.com]hdwviiied[/url] [link=http://mqnmwt.com]mqnmwt[/link]
Kristabelle (n89jwhl3f at mail dot com) 09 November 2016 09:36:03 <a href="http://robrtfgy.com">Entlehigning</a> the world, one helpful article at a time.
don smith (smithbro at canada dot com) 21 January 2008 19:31:36 The sip.conf and mgcp.conf links in the Asterisk PBX configurations section are not working. (404 webpage not found.
William Conley (asteriskguru_com at bgr8 dot com) 04 November 2006 22:02:31 What did it do, sending the DTMF digits? where did they go? etc. you just ended with "oh, and the macro we just spent time creating performed the function dtmf for us" which is great, but i wasn't here for macro. a detailed explanation of the DTMF is what I was expecting. Excellent site. I would not have bothered commenting on anyone elses. I think I'm going to begin referring people here, you have a comprehensive fully involved detailed asterisk user manual online with this site. Excellent.