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

6.1.2.71. SayAlpha (dialplan application)

1. SayAlpha is a dial plan application that spells the string passed as parameter to the application character by character.

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

 

Syntax:
SayAlpha(string) : the string that you want to be spelled by the application must be given as argument.

 

Purpose and usage
This dial plan application is to spell a given string. You can pass here some variable for example to be spelled. When the spelling of the string finishes the application with next priority is to be executed.

You can see some examples below.

 

Prerequisites
First of all you need to install Asterisk PBX. Afterwards you need to configure at least one user in iax.conf, sip.conf or mgcp.conf – the protocol you are going to use depends on you or of the phone you are using. After this you need to write some extensions in extensions.conf.

In this tutorial I will use Idefisk softphone that is an IAX client. You can download it by clicking here. Tutorial showing how it works and configuration support can be found here.


 

Asterisk PBX configurations

NOTE: This is just an example of what you can use this application for. Of course you can use it and for other purposes.

When you have installed and working Asterisk PBX you will need some user to test this application. If you do not have any registered in iax.conf you may add the following one. If you are not going to user Idefisk Softphone and iax.conf you have to register the user in the same way in sip.conf, h323.conf or mgcp.conf – depending on the protocol you are using.



Above I registered a user [ivan] with the properties:
type=friend (type might be user – just can call, peer – just can be called and friend – can call and can be called)

username=ivan – this is the user which must authenticate when connecting to the Asterisk PBX server

secret=ivan is the password with which the user must authenticate when connecting to the Asterisk server

context=test is the context from extensions.conf which the user can access (including any other context which is/are included in this one)

host=dynamic means that the host for this user is dynamic and he/she can connect to Asterisk PBX from different computers (host may be defined with static ip address)

Allow=all means that all audio codecs are allowed (You can allow certain codecs as well as disallow others)

We now have a user that can use the context test from extensions.conf. So now we need some dial plan application in [test] in extensions.conf.



Here is the application in extensions.conf:

exten => 123,1,Wait(1)
when number 123 is dialed you reach the wait dialplan application – wait a second just for fun

exten => 123,2,Answer()
the call is answered

exten => 123,3,Playback(welcome)
welcome message is played on playback

exten => 123,4,SayAlpha(This is only a test.)
the string “This is only a test is spelled char by char from asterisk”.

exten => 123,5,SayAlpha(${CONTEXT})
the context name is spelled in the same way - ${CONTEXT} is Asterisk variable.

exten => 123,6,SetVar(lang=${LANGUAGE})
above a varialbe lang is set to be equal ot ${LANGUAGE} also Asterisk varialbe

exten => 123,7,NoOp(${lang})
the new variable is displayed in the CLI

exten => 123,8,SayAlpha(${lang})
the ${lang} variable is spelled

exten => 123,9,wait(1)
wait one more second

exten => 123,10,Hangup()
hangup() closes the line

 

2.The application in CLI





 


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
men over 50 viagra heart condition (jenny dot carboni90 at drizat dot xyz)
11 July 2020 16:41:59
men over 50 viagra heart condition https://cleverviagra.com/
HarleyCek (temptest92130364 at gmail dot com)
16 May 2020 13:41:09
BANDAR AGEN 918 KISS 918indo.com <a href=http://www.918indo.com/tag/bandar-agen-918-kiss/>More info>>></a>
DennisVoill (temptest261214990 at gmail dot com)
16 May 2020 08:45:11
xe-88.asia http://www.xe-88.asia/feed/ - Show more...
DennisVoill (temptest261214990 at gmail dot com)
23 April 2020 05:32:46
http://www.xe-88.asia/sitemap.xml - More info...
DaniloBrook (today918online at outlook dot com)
05 April 2020 08:14:04
Deposit SCR888 bca 918indo.com http://www.918indo.com/tag/deposit-scr888-bca/ - Deposit SCR888 bca 918indo.com...
Doc (1swkole0o at yahoo dot com)
21 April 2016 03:39:50
Me and this article, sitting in a tree, L-I-E-R-N-A-N-G! http://fwjwzerhnz.com [url=http://vcqwyalaq.com]vcqwyalaq[/url] [link=http://jrmkrdlzh.com]jrmkrdlzh[/link]
Bison (f5y6wx98 at gmail dot com)
19 April 2016 14:57:24
This could not <a href="http://zzdlqdgw.com">poslibsy</a> have been more helpful!
Irish (qi81qth5r7 at gmail dot com)
19 April 2016 13:33:13
This artclie went ahead and made my day. http://kzuxiq.com [url=http://wzvshvozvah.com]wzvshvozvah[/url] [link=http://clndelroiwt.com]clndelroiwt[/link]
Keshawn (3p52c7aexfd at hotmail dot com)
19 April 2016 05:56:33
I thank you humbly for <a href="http://kcgbnbdwig.com">shinarg</a> your wisdom JJWY
 
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™