PageRenderTime 150ms CodeModel.GetById 91ms app.highlight 4ms RepoModel.GetById 26ms app.codeStats 0ms

/bbb-images/centos-install-files/asterisk-extensions.conf

http://bigbluebutton.googlecode.com/
Unknown | 43 lines | 36 code | 7 blank | 0 comment | 0 complexity | db21632ddd75ae69b922ccfcf3864148 MD5 | raw file
 1;
 2; BigBlueButton: Setup sample conference
 3[bigbluebutton]
 4exten => s,1,Goto(start-dialplan,s,1)
 5exten => s,n,Hangup
 6
 7[start-dialplan]
 8exten => s,1,Set(TRIES=1)
 9exten => s,n,Wait(2)
10exten => s,n,Answer
11exten => s,n,Goto(prompt,s,1)
12
13[prompt]
14exten => s,1,Read(CONF_NUM,conf-getconfno,6,,3,10)
15exten => s,n,Goto(bbb-conference,s,1)
16
17[bbb-voip]
18exten => _XXXX.,1,MeetMe(${EXTEN},cdMsT)
19
20[bbb-conference]
21exten => _XXXX.,1,Agi(agi://localhost/findConference?conference=${EXTEN})
22exten => _XXXX.,n,GotoIf($[${EXTEN} = ${CONFERENCE_FOUND}]?valid:invalid)
23exten => _XXXX.,n(valid),Playback(conf-placeintoconf)
24exten => _XXXX.,n,MeetMe(${CONFERENCE_FOUND},cdMsT)
25exten => _XXXX.,n(invalid),Goto(handle-invalid-conference,s,1)
26
27[handle-invalid-conference]
28exten => s,1,Playback(conf-invalid)
29exten => s,n,GotoIf($[${TRIES} < 3]?try-again:do-not-try-again)
30exten => s,n(try-again),Set(TRIES=$[${TRIES} + 1])
31exten => s,n,Goto(prompt,s,1)
32exten => s,n(do-not-try-again),Hangup
33
34[echo-test]
35;
36; Create an extension, 600, for evaluating echo latency.
37;
38exten => 600,1,Answer                   ; Do the echo test
39exten => 600,n,Playback(demo-echotest)  ; Let them know what's going on
40exten => 600,n,Echo                     ; Do the echo test
41exten => 600,n,Playback(demo-echodone)  ; Let them know it's over
42exten => 600,n,Goto(s,6)                ; Start over
43