Asterisk programming tips?

I am new to VoIP. Before dealing with this project, I am more familiar with the structured and programming of OOP, such as Java or C ++. Now I need to code a rather complicated IVR script (which allows users to call the call center and listen to music and perform some additional tasks, such as managing, favorite bookmarks, etc.)

My first impression of working with Asterisk code is that it looks like an assembly, a nightmare for me: almost no structures, a lot of commands Gotoif(akin gototo Pascal, which is highly recommended) and no (?) IDE to keep tracks constant, variable .

My head will explode if all I have is Notepad ++ to search and follow the script some guy wrote with hundreds Gotoif(he left the company).

Are there any hints or tools to help you encode the Asterisk script, which makes it easy to control the flow when dealing with many cases?

+3
source share
4 answers

Hi

It looks like you are having trouble writing dialing in a text file.

However, you can use the AGI or FASTAGI architecture for asterics and just manage your IVRS scripts using C ++ or JAVA coding for better scalability, you can use JAVA FASTAGI, which is better suited for load balancing.

So a simple guide to Asterisk AGI and continue with this.

IVRS vxml, IVRS.

, Asterisk, AEL, .

http://www.voip-info.org/wiki/view/Asterisk+AEL2

+3

, Notepad ++, , , , Windows. , CppDepend, . , . ProjectMaker.exe Asterisk Windows. , .

0

, , , PHPAgi, Astersik-Java, Adhearsion Astive Toolkit. IVR , Astive Toolkit AGI. http://astive.phonytive.com

0

The Asterisk dialplan programming is really a bit of a stone. But you got used to it pretty quickly. You can do IVR logic outside of the dialplan or inside. See http://the-asterisk-book.com/1.6/kapitel-ivr.html for some examples.

0
source

All Articles