17 lines
589 B
Text
17 lines
589 B
Text
[from-internal]
|
|
; dial the lecture rooms & backoffice
|
|
; the syntax is NUMBER,SEQUENCE,FUNCTION
|
|
; to call someone do Dial(MODULE/account, timeout)
|
|
exten => 1001,1,Dial(PJSIP/saal1,20)
|
|
exten => 1002,1,Dial(PJSIP/saal2,20)
|
|
exten => 1600,1,Dial(PJSIP/backoffice,20)
|
|
|
|
; Dial 100 for "hello, world"
|
|
; this is useful when configuring/debugging clients (snoms)
|
|
exten => 100,1,Answer()
|
|
same => n,Wait(1)
|
|
same => n,Playback(hello-world)
|
|
same => n,Hangup()
|
|
; note: "n" is a keyword meaning "the last line's value, plus 1"
|
|
; "same" is a keyword referring to the last-defined extension
|
|
|