Page 1 of 1

How to write my own extension and call an AGI file

PostPosted: Wed Jun 12, 2013 4:14 am
by Evanbrown
I am trying to edit extensions.conf file to write a new extension but it is not effective when I dial the same extension. How to edit my extensions.conf to call a new AGI file? Is there any tutorial to understand completely about vicidial dial plans (not the general dial plans)? I am struggling to understand the flow of dial plans after the call has been initiated by agent. Please help me..

Specifications:

vicibox 32 bit standard
OpenSuSE v.12.1 32-bit w/ PAE and 64-bit
Kernel v.3.1.10
Asterisk v.1.4.44-vici
DAHDI v.2.6.1
LibPRI v.1.4.12
Sangoma Wanpipe v.3.5.28
Amfletec VoiceSync v.1.3.0.1
OpenR2 v.1.3.2 for MFC/R2 support
ViciDial SVN Trunk v.2.6-375a build 120831-1523 revision 1858

Re: How to write my own extension and call an AGI file

PostPosted: Wed Jun 12, 2013 6:45 am
by mflorell
We usually just use a Call Menu to put AGI scripts into, and we rarely edit the extensions.conf unless it is the only way of doing something. Using the System Settings custom dialplan entry is preferred and easier to manage.

What exactly are you trying to do?

Re: How to write my own extension and call an AGI file

PostPosted: Thu Jun 13, 2013 5:09 am
by KathyGraham
OK, that's the simplest way of doing that. I would always prefer using the System Settings custom dial plan entry.