Upgrade 3CX to v18 and get it hosted free!

Inbound call handling

Author image

 

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
; 7×24 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
;********************************************************************

 


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.