raven/asterisk: add rc3 eventphone config

This commit is contained in:
jalr 2021-12-27 20:01:48 +00:00
parent 3fe66c180c
commit a55eb9ba33
2 changed files with 24 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -24,6 +24,15 @@ in
same = n,VoiceMail(7929876@fablab,su)
same => n,Hangup()
[eventphone-in]
exten => _5257,1,Noop(Processing an incoming call)
same => n,Dial(PJSIP/101,60,tT)
same => n,Hangup()
exten => _3529,1,Noop(Processing an incoming call)
same => n,Dial(PJSIP/100,60,tT)
same => n,Hangup()
[dect]
exten = 99,1,Answer()
same = n,Wait(1)
@ -41,6 +50,11 @@ in
exten = _4XX,1,Dial(PJSIP/''${EXTEN},30,tT)
same = n,Hangup()
; eventphone
exten => _XXXX,1,Noop(Processing an outgoing eventphone call)
same = n,Set(destination=''${EXTEN})
same = n,Goto(eventphone-out,''${CALLERID(num)},1)
; weinturm
exten = 410,1,Dial(PJSIP/100&PJSIP/410,30,tT)
same = n,Hangup()
@ -50,6 +64,13 @@ in
same => n,Dial(PJSIP/''${EXTEN}@sipgate,tT)
same => n,Hangup()
[eventphone-out]
exten => 100,1,Dial(PJSIP/''${destination}@eventphone_lab,30,tT)
same = n,Hangup()
exten => 101,1,Dial(PJSIP/''${destination}@eventphone_jalr,30,tT)
same = n,Hangup()
[cisco]
exten = _1XX,1,Dial(PJSIP/''${EXTEN},30,tT)
same = n,Hangup()