[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1018 - /asterisk/trunk/tests/fastagi/co...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 30 19:18:34 CST 2010
Author: pabelanger
Date: Tue Nov 30 19:18:29 2010
New Revision: 1018
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1018
Log:
Fix copying issue for config files
Modified:
asterisk/trunk/tests/fastagi/configs/ast1/extensions.conf
asterisk/trunk/tests/fastagi/configs/ast1/manager.conf
Modified: asterisk/trunk/tests/fastagi/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/configs/ast1/extensions.conf?view=diff&rev=1018&r1=1017&r2=1018
==============================================================================
--- asterisk/trunk/tests/fastagi/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/fastagi/configs/ast1/extensions.conf Tue Nov 30 19:18:29 2010
@@ -1,0 +1,78 @@
+[general]
+
+[globals]
+DEBUG=FAIL - nothing done
+
+[agitest]
+exten => echo,1,Answer()
+exten => echo,n,Echo()
+
+; Used in connect, hangup, control-stream-file, stream-file, database,
+; execute, get-data, record-file, say-alpha, say-date, say-datetime,
+; say-time, say-digits, say-number, say-phonetic
+exten => _5XX,1,Answer()
+exten => _5XX,n,Set(GLOBAL(DEBUG)=FAIL - before agi)
+exten => _5XX,n,SendDTMF(${EXTEN})
+exten => _5XX,n,AGI(agi://127.0.0.1:4573)
+exten => _5XX,n,Set(GLOBAL(DEBUG)=${AGISTATUS})
+exten => _5XX,n,HangUp()
+
+; Used in channel-status
+exten => no_answer,1,Set(GLOBAL(DEBUG)=FAIL - before agi)
+exten => no_answer,n,AGI(agi://127.0.0.1:4573)
+exten => no_answer,n,Set(GLOBAL(DEBUG)=${AGISTATUS})
+exten => no_answer,n,HangUp()
+
+
+
+[get-data]
+exten => 1,1,Answer()
+exten => 1,n,Set(GLOBAL(DEBUG)=FAIL - play_dtmf answered)
+exten => 1,n,WaitExten(10)
+exten => 1,n,HangUp()
+
+exten => 502,1,Wait(1)
+exten => 502,n,SendDTMF(w3w2w1w2w3w3w3w#)
+exten => 502,n,Set(GLOBAL(DEBUG)=FAIL - play_dtmf sent DTMF)
+exten => 502,n,Hangup()
+
+[record-file]
+exten => 1,1,Answer()
+exten => 1,n,Set(GLOBAL(DEBUG)=FAIL - play_snd_and_term answered)
+exten => 1,n,WaitExten(10)
+exten => 1,n,Hangup()
+
+exten => 508,1,Wait(1)
+exten => 508,n,Playback(beep)
+exten => 508,n,SendDTMF(#)
+exten => 508,n,Set(GLOBAL(DEBUG)=FAIL - play_snd_and_term sent sounds and exit digit)
+exten => 508,n,Hangup()
+
+; Used in record-file
+exten => 2,1,Answer()
+exten => 2,n,Set(GLOBAL(DEBUG)=FAIL - play_snd_and_hangup answered)
+exten => 2,n,WaitExten(10)
+exten => 2,n,Hangip()
+
+exten => 509,1,Wait(1)
+exten => 509,n,Playback(beep)
+exten => 509,n,Set(GLOBAL(DEBUG)=FAIL - play_snd_and_hangup sent sounds)
+exten => 509,n,HangUp()
+
+[td_and_agi_notify]
+exten => 1,1,Answer()
+exten => 1,n,Set(GLOBAL(DEBUG)=FAIL - td_and_agi_notify answered)
+exten => 1,n,WaitExten(10)
+exten => 1,n,Hangup()
+
+exten => _5XX,1,Wait(1)
+exten => _5XX,n,Set(TALK_DETECTED=0)
+exten => _5xx,n,BackgroundDetect(silence/10,100,10,20000)
+exten => _5XX,n,Wait(15)
+exten => _5XX,n,Set(GLOBAL(DEBUG)=FAIL - td_and_agi_notify listening for sounds)
+exten => _5XX,n,GoToIf($[${TALK_DETECTED}=0]?fail:pass)
+exten => _5XX,n(fail),Set(GLOBAL(DEBUG)=FAIL - talk detect failed with result ${TALK_DETECTED})
+exten => _5XX,n,HangUp()
+exten => _5XX,n(pass),Set(GLOBAL(DEBUG)=PASS)
+exten => _5XX,n,AGI(agi://127.0.0.1:4574)
+exten => _5XX,n,HangUp()
Modified: asterisk/trunk/tests/fastagi/configs/ast1/manager.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/configs/ast1/manager.conf?view=diff&rev=1018&r1=1017&r2=1018
==============================================================================
--- asterisk/trunk/tests/fastagi/configs/ast1/manager.conf (original)
+++ asterisk/trunk/tests/fastagi/configs/ast1/manager.conf Tue Nov 30 19:18:29 2010
@@ -1,0 +1,10 @@
+[general]
+enabled = yes
+port = 5039
+bindaddr = 127.0.0.1
+
+[user]
+secret = mysecret
+read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
+write = system,call,agent,user,config,command,reporting,originate
+
More information about the asterisk-commits
mailing list