Inbound call handling


Inbound Calls



;********************************************************************
; BEGIN - Inbound call handlers
;********************************************************************
;
;
[house-in]
;
; This routine handles inbound calls on the analog
; house line.
;
; During the day, we want to wait while the
; Panasonic KSU rings the internal extensions
; for at least 20 (2 rings) seconds before answering so
; we branch to the "house-day" context.
;
; After hours, we will answer immediately without
; ringing every phone in the house by branching to
; the "house-night" context.
;
; The Panasonic KSU is programmed to ring only
; a couple phones after hours so one or two rings
; will not wake everyone in the house.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-one)
exten => s,2,GotoIfTime(07:00-21:00|sun-sat|*|*?house-day,s,1)
exten => s,3,Goto(house-night,s,1)
;
;
[office-in]
;
; This routine handles inbound calls on the analog office line
;
; During the day, we want to wait while the
; Panasonic KSU rings the internal extensions
; for at least 20 (2 rings) seconds before answering so
; we branch to the "office-day" context.
;
; The office-day checks to see if we might be closed
; due to a holiday and makes a holiday announcment
; if true.
;
; We have to support the possibility that a client
; might have an emergency. We need to be available
; 7x24 for certain clients.
;
; After hours, we will answer immediately without
; ringing every phone in the house by brancing to
; the "office-night" context.
;
; The Panasonic KSU is programmed to ring only
; a couple phones after hours so one or two rings
; will not wake everyone in the house.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-two)
exten => s,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => s,3,Goto(office-night,s,1)
;
[voicepulse-in]
;
; This routine handles inbound calls on our VoicePulse DID
; Voicepulse rings in with the extension set to our DID
; VoicePulse is handled as an office line
;
exten => _9005551212,1,SetGlobalVar(RINGINGLINE=custom/on-line-three)
exten => _9005551212,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => _9005551212,3,Goto(office-night,s,1)
;
;
[broadvoice-in]
;
; BroadVoice rings in on the s extension
; BroadVoice is handled as an Office line.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-four)
exten => s,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => s,3,Goto(office-night,s,1)
;
;
;********************************************************************
; END - Inbound call handlers
;********************************************************************


Inbound Calls



;********************************************************************
; BEGIN - Inbound call handlers
;********************************************************************
;
;
[house-in]
;
; This routine handles inbound calls on the analog
; house line.
;
; During the day, we want to wait while the
; Panasonic KSU rings the internal extensions
; for at least 20 (2 rings) seconds before answering so
; we branch to the "house-day" context.
;
; After hours, we will answer immediately without
; ringing every phone in the house by branching to
; the "house-night" context.
;
; The Panasonic KSU is programmed to ring only
; a couple phones after hours so one or two rings
; will not wake everyone in the house.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-one)
exten => s,2,GotoIfTime(07:00-21:00|sun-sat|*|*?house-day,s,1)
exten => s,3,Goto(house-night,s,1)
;
;
[office-in]
;
; This routine handles inbound calls on the analog office line
;
; During the day, we want to wait while the
; Panasonic KSU rings the internal extensions
; for at least 20 (2 rings) seconds before answering so
; we branch to the "office-day" context.
;
; The office-day checks to see if we might be closed
; due to a holiday and makes a holiday announcment
; if true.
;
; We have to support the possibility that a client
; might have an emergency. We need to be available
; 7x24 for certain clients.
;
; After hours, we will answer immediately without
; ringing every phone in the house by brancing to
; the "office-night" context.
;
; The Panasonic KSU is programmed to ring only
; a couple phones after hours so one or two rings
; will not wake everyone in the house.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-two)
exten => s,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => s,3,Goto(office-night,s,1)
;
[voicepulse-in]
;
; This routine handles inbound calls on our VoicePulse DID
; Voicepulse rings in with the extension set to our DID
; VoicePulse is handled as an office line
;
exten => _9005551212,1,SetGlobalVar(RINGINGLINE=custom/on-line-three)
exten => _9005551212,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => _9005551212,3,Goto(office-night,s,1)
;
;
[broadvoice-in]
;
; BroadVoice rings in on the s extension
; BroadVoice is handled as an Office line.
;
exten => s,1,SetGlobalVar(RINGINGLINE=custom/on-line-four)
exten => s,2,GotoIfTime(08:00-18:00|mon-fri|*|*?office-day,s,1)
exten => s,3,Goto(office-night,s,1)
;
;
;********************************************************************
; END - Inbound call handlers
;********************************************************************

Created by: ghendershot, Last modification: Fri 29 of Oct, 2004 (02:30 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+