logo       

Re: Where are the defaults stored?: msg#00068

telephony.pbx.asterisk.amportal.user

Subject: Re: Where are the defaults stored?

Howard Leadmon asked :


I am curious where the defaults are stored for AMP, like if I create an
auto-attendant, and I want to add some lines into it. If I just go edit the
extensions_additional.conf, if I make a later change the stuff gets lost?

Can anyway tell me where the default templates are stored, before I go on a
massive digging mission?

extensions_additional.conf is rebuilt from mysql data every time amp reloads asterisk. to get around this add any additional stuff to extensions_custom.conf

for example :

extensions_additional.conf:

[aa_1]
include => aa_1-custom
exten => 0,1,Goto(custom_directory,s,1) ;
exten => fax,1,Goto(ext-fax,in_fax,1) ;
exten => h,1,Hangup() ;
exten => i,1,Playback(invalid) ;
exten => i,2,Goto(s,7) ;
include => ext-local
include => app-messagecenter
include => app-directory
exten => s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4) ;
exten => s,2,Answer() ;
exten => s,3,Wait(1) ;
exten => s,4,SetVar(DIR-CONTEXT=general) ;
exten => s,5,DigitTimeout(3) ;
exten => s,6,ResponseTimeout(7) ;
exten => s,7,Background(custom/aa_1) ;

extensions_custom.conf :

[aa_1-custom]
exten => s,8,Wait(2)
exten => s,9,Goto(ext-group,70,1) ; if no buttons pressed in aa_1 go to group 70


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise