Untitled
unknown
plain_text
2 years ago
1.6 kB
2
Indexable
Never
[globals] User81 = PJSIP/8001 User82 = PJSIP/8002 Number = 23 [phones] exten => 101,1,Answer() exten => 101,2,Dial(PJSIP/7001) exten => 101,3,Playback(vm-nobodyavail) exten => 101,4,Hangup() exten => 102,1,Answer() same => 2,Dial(PJSIP/7002,7) ; Second argument used for timeout same => 3,Playback(vm-nobodyavail) same => 4,Hangup() ;same => n,Goto(context,extension,priority) exten => 103,1,Goto(softphone,203,1) exten => 104,1,Answer() same => n,Background(enter-ext-of-person) same => n, WaitExten(10) exten => 105,1,Answer() exten => 105,2,Dial(PJSIP/7002&PJSIP/8002) exten => 105,3,Playback(vm-nobodyavail) exten => 105,4,Hangup() exten => 106,1,Answer() same => n,Set(ONETWO=12) same => n,Set(THREEFOUR=34) same => n,SayDigits(${ONETWO}${THREEFOUR}) same => n,Wait(0.2) same => n,SayDigits(2${ONETWO}3) include => PHP-AGI include => anotherContext [softphone] exten => 201,1,Answer() exten => 201,2,Dial(PJSIP/8001) exten => 201,3,Playback(/home/amilCent/Downloads/Pokusaj.wav) exten => 201,4,Hangup() exten => 202,1,Answer() same => n,Dial(${User82},7) ; sintaksa za varijable same => n,Playback(vm-nobodyavail) same => n,Hangup() exten => 203,1,Answer() same => n, Hangup() exten => 204,1, Answer() same => n,Background(enter-ext-of-person) same => n, WaitExten(5) exten => 1,1,Playback(digits/1) same => n,Goto (softphone,204,2) exten => 2,1,Playback(digits/2) same => n,Goto (softphone,204,2) exten => t,1,Playback(pbx-invalid) same => n,Goto(softphone,204,2) exten => i,1,Playback(pbx-invalid) same => n,goto(softphone,204,2) ;Playback(digits/2)