You are on page 1of 2

[general]

[interne]
; exten => 100,1,Dial(SIP/100,15)
same=>n,voicemail(100@otherre)

exten => 101,1,Dial(SIP/101)

exten => 800,1,Answer()


exten => 800,2,record(administration:ulaw) ; Terminer avec #

exten => 2000,1,GotoIfTime(08:00-17:00,mon-fri,*,*?ouvert)


same => n,GotoIfTime(08:00-12:00,sat,*,*?ouvert)

same=>n,Noop(Nous sommes fermes)


same=>n,Hangup()
same=>n(ouvert),Noop(Nous sommes ouvert)
same=>n,Hangup()

exten => 2100, 1,Voicemail(100@other)


exten => 2101, 1,Voicemail(101@other)

exten => 2001,1,voicemailmain(100@other)

exten =>3000,1,record(connectee:ulaw)
exten =>700,1,Noop(la standardiste est connecter)
same =>n,Set(DB(standar/presenace)=1)
same=>n,Playback(connectee)

exten =>3001,1,record(deconnectee:ulaw)

exten =>701,1,Noop(la standardiste est deconnecter)


same =>n,Set(DB(standar/presenace)=0)
same=>n,Playback(deconnectee)

exten=>100,1,Set(presenace=${DB(standar/presenace)})
same=>n,GotoIf($["${presence}" = "1"]?presente)
same=>n,voicemail(100@other)
same=>hangup()
same=>n(presente),Dial(SIP/100)
same=>n,hangup()

exten => 900,1,Answer()


exten => 900,2,background(accueil)
exten => 1,1,Playback(comptabilite)

exten => 2,1,Playback(inscription)

exten => 3,1,Playback(administration)

; exten => 1100,1,Dial(SIP/100@192.168.1.66)

exten => 2600,1,Dial(SIP/serveurissouf/600)

exten => 1600,1,Dial(SIP/${EXTEN:1}@192.168.1.31)

exten =>8000,1,queue(supportInternet)

exten =>9000,1,agentLogin(1002)

[appel_exterieur]

exten=> _x.,1,Dial(SIP/sip.toprdv.be/${EXTEN})

[exten_entrant]

exten =>800,1,Dial(SIP/800)

You might also like