How to write my own extension and call an AGI file

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to write my own extension and call an AGI file

Postby Evanbrown » Wed Jun 12, 2013 4:14 am

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
Evanbrown
 
Posts: 3
Joined: Fri Jun 07, 2013 6:52 am

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

Postby mflorell » Wed Jun 12, 2013 6:45 am

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?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

Postby KathyGraham » Thu Jun 13, 2013 5:09 am

OK, that's the simplest way of doing that. I would always prefer using the System Settings custom dial plan entry.
KathyGraham
 
Posts: 1
Joined: Thu Jun 13, 2013 4:56 am


Return to Development

Who is online

Users browsing this forum: No registered users and 24 guests