All pastes #394619 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-03-14 13:32 UTC
rendered paste body
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[general]
static=yes
writeprotect=no
priorityjumping=yes

[globals]
DUTYMOBILE=SIP/00306361049
OFFICE_OPEN_OVERRIDE=
#include trunks.include
DIALOUT=0
INTERNATIONAL-PREFIX=00
RINGTIME=30

[from-outside]

exten => _X.,1,Goto(from-outside-redir,${EXTEN},1)
exten => s,1,Goto(from-outside-redir,${EXTEN},1)

[from-outside-redir]
#include "inbound.include"
#include "inbound_actions.include"
#include  extensions.include
#include outbound.include
#include scripts.include
#include user_scripts.include
#include menus.include

[from-inside]
; local extensions are in extensions.include file
include => local-extensions
include => feature-extensions
; outbound numbers are in outbound.include file
include => outgoing
;parked calls
include => parkedcalls

exten => t,1,Hangup
exten => h,1,Hangup
exten => i,1,Playback(invalid)
exten => i,2,Hangup

[default]
include => local-extensions

[tl-record-app]

exten => s,1,Answer 
exten => s,2,DigitTimeout(5)
exten => s,3,ResponseTimeout(10) 
exten => s,4,BackGround(tl/record-menu) 

; Recording
exten => 1,1,Wait(1)
exten => 1,2,Read(ID|tl/record-enter-num)
exten => 1,3,Wait(2) 
exten => 1,4,Record(ogm/${ID}:gsm)
exten => 1,5,Wait(2)
exten => 1,6,Playback(ogm/${ID})
exten => 1,7,Wait(1)
exten => 1,8,Goto(s|2)
; Review
exten => 2,1,Wait(1)
exten => 2,2,Read(ID|tl/play-enter-num)
exten => 2,3,Wait(1)
exten => 2,4,Playback(ogm/${ID})
exten => 2,5,Wait(1)
exten => 2,6,Goto(s|2)

exten => t,1,Hangup
exten => h,1,Hangup
exten => #,1,Hangup

exten => i,1,Playback(invalid)
exten => i,2,Goto(s|2)