Code:
[general]
language = fr
autofallthrough=yes
limitonpeer=yes
[outgoing]
exten => _0.,1,Dial(SIP/${EXTEN:1}@ovh-out,,r)
;exten => _1.,1,Dial(SIP/${EXTEN:1}@ovh-out-2,,r)
; Internal Calls/Transfert Capability
exten => _XX,1,Dial(SIP/${EXTEN},20,tTr)
exten => _XX,2,VoiceMail(${EXTEN},u)
[standard]
exten => s,1,Answer
exten => s,2,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,3,Background(01_Eulerian_Tech_Bonjour)
exten => s,4,Background(02_Eulerian_Service_Commercial)
exten => s,5,Background(03_Eulerian_Menu_1)
exten => s,6,Wait(0.5)
exten => s,7,Background(04_Eulerian_Service_Account_Management)
exten => s,8,Background(05_Eulerian_Menu_2)
exten => s,9,Wait(0.5)
exten => s,10,Background(06_Eulerian_Service_Marketing)
exten => s,11,Background(07_Eulerian_Menu_3)
exten => s,12,Wait(0.5)
exten => s,13,Background(08_Eulerian_Service_Facturation)
exten => s,14,Background(09_Eulerian_Menu_4)
exten => s,15,WaitExten(5)
exten => s,16,Background(10_Eulerian_Redirection)
exten => s,17,Queue(support,nTtr,,,)
; Sales Queue
exten => 1,1,Queue(sales,nTtr,,,)
exten => 1,2,Queue(internal,nTtr,,,)
exten => 1,3,VoiceMail(${EXTEN},u)
exten => 1,2,Hangup
; Support Queue
exten => 2,1,Queue(support,nTtr,,,)
exten => 2,2,Queue(internal,nTtr,,,)
exten => 2,3,VoiceMail(${EXTEN},u)
exten => 2,4,Hangup
; Marketing service
;exten => 3,1,Dial(SIP/35,15,nTtr,,,)
exten => 3,1,Queue(marketing,nTtr,,,)
exten => 3,2,VoiceMail(${EXTEN},u)
exten => 3,3,Hangup
; Billing service
exten => 4,1,Dial(SIP/15,15,nTtr,,,)
exten => 4,2,VoiceMail(15,u)
exten => 4,3,Hangup
; Voicemail Access (By Internal Phone Only)
exten => 9,1,VoicemailMain()
exten => 9,2,Hangup
; Voicemail Access (By Internal Phone Only)
;exten => 9,1,VoicemailMain(s${CALLERID(num)})
; Security
exten => #,1,Playback(privacy-thankyou)
exten => #,2,Hangup
exten => t,1,Goto(#,1)
exten => i,1,Playback(invalid)
exten => i,2,Goto(s,2)
[users]
include => outgoing
[default]
include => users
PS: Pour couronner le tout j'ai eu un soucis d'espace disque pendant la mise à jour mais cela est arrivé après qu'asterisk soit mis à jour ! Donc les binaires toussa d'asterisk ne devraient pas poser problème.