[Asterisk-cvs] asterisk/configs extensions.conf.sample,1.41,1.42

kpfleming at lists.digium.com kpfleming at lists.digium.com
Sun May 15 15:58:40 CDT 2005


Update of /usr/cvsroot/asterisk/configs
In directory mongoose.digium.com:/tmp/cvs-serv17964/configs

Modified Files:
	extensions.conf.sample 
Log Message:
update sample extensions.conf for new dialplan functions (bug #4279)


Index: extensions.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/extensions.conf.sample,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- extensions.conf.sample	4 May 2005 17:05:42 -0000	1.41
+++ extensions.conf.sample	15 May 2005 20:04:05 -0000	1.42
@@ -301,8 +301,8 @@
 ;
 exten => s,1,Wait,1			; Wait a second, just for fun
 exten => s,n,Answer			; Answer the line
-exten => s,n,DigitTimeout,5		; Set Digit Timeout to 5 seconds
-exten => s,n,ResponseTimeout,10		; Set Response Timeout to 10 seconds
+exten => s,n,SetVar(TIMEOUT(digit)=5)	; Set Digit Timeout to 5 seconds
+exten => s,n,SetVar(TIMEOUT(response)=10)	; Set Response Timeout to 10 seconds
 exten => s,n(restart),BackGround(demo-congrats)	; Play a congratulatory message
 exten => s,n(instruct),BackGround(demo-instruct)	; Play some instructions
 exten => s,n,WaitExten		; Wait for an extension to be dialed.
@@ -310,7 +310,7 @@
 exten => 2,1,BackGround(demo-moreinfo)	; Give some more information.
 exten => 2,n,Goto(s,instruct)
 
-exten => 3,1,SetLanguage(fr)		; Set language to french
+exten => 3,1,SetVar(LANGUAGE()=fr)		; Set language to french
 exten => 3,n,Goto(s,restart)			; Start with the congratulations
 
 exten => 1000,1,Goto(default,s,1)




More information about the svn-commits mailing list