Configuration Example - Ring a Group of phones and then autoattendant if no answer.

jnikolatos's picture

Here is a configuration example of how to get a group of phones to work and then go to auto attendant if there is no answer. The example is for FXO ports (but can be done for PRI as well). Please NOTE there are 4 phones that can answer the call...

1) First you have to get Autoattendant to work. This is done fairly easily by the configuration assistant in PBX mode. You must define an extension lets pretend I used 199 for AA.

******** VM CODE EXAMPLE FOR CCA WIZARD********
!
dial-peer voice 2001 voip
description ** cue auto attendant number **
translation-profile outgoing PSTN_CallForwarding
destination-pattern 199
b2bua
session protocol sipv2
session target ipv4:10.1.10.1
dtmf-relay sip-notify
codec g711ulaw
no vad
!
*********** END CCA EXAMPLE ***********

2) Tell your FXO ports that when a call comes in, RING a certain extension.

******* 4 FXO PORTS - ANALOG PHONE LINES*************
voice-port 0/1/0
connection plar 150 ** Unique number to match DN below
description Dial-in analog connection
caller-id enable
!
voice-port 0/1/1
connection plar 150
description Dial-in analog connection
caller-id enable
!
voice-port 0/1/2
connection plar 150
description Dial-in analog connection
caller-id enable
!
voice-port 0/1/3
connection plar 150
description Dial-in analog connection
caller-id enable
!
********* END CONFIGURATION**********

3) Create a EPHONE-DN that matches PLAR command in FXO port - You must add one DN with the same commands for every phone able to answer. In our case that is 4 DNs that are the same. Please note that when someone is on the call, the same DN can not be used by the other phones, they will not ring only a Call waiting beep will be heard by the active caller.

******** EPHONE DN EXAMPLE ************

ephone-dn 49 dual-line
number 150 *** Unique number to Match PLAR command above
name RING ALL PEOPE IN Service Department
call-forward noan 199 timeout 10
perference 1 ** Use this DN first is available.
huntstop channel ** Dont dial 2nd line on dual line phone
no huntstop *** if the first ephone-dn is busy, call another in the group

ephone-dn 50 dual-line
number 150 *** Unique number to Match PLAR command above
name RING ALL PEOPE IN Service Department
call-forward noan 199 timeout 10
perference 2 ** Use this DN second if available.
huntstop channel ** Dont dial 2nd line on dual line phone
no huntstop *** if the first ephone-dn is busy, call another in the group

ephone-dn 51 dual-line
number 150 *** Unique number to Match PLAR command above
name RING ALL PEOPE IN Service Department
call-forward noan 199 timeout 10
perference 3 *** Use this DN third if available.
huntstop channel *** Dont dial 2nd line on dual line phone
no huntstop *** if the first ephone-dn is busy, call another in the group

ephone-dn 52 dual-line
number 150 *** Unique number to Match PLAR command above
name RING ALL PEOPE IN Service Department
call-forward busy 199 *** RING AutoAttendant if busy or noanswer
call-forward noan 199 timeout 10
perference 4 ** Use this DN last if available.
huntstop channel ** Dont dial 2nd line on dual line phone

********************* END EXAMPLE ******************

4) Set up each phone to RING when the company phone # is dial from a client.

Each phone already has a unique ephone-dn that defines its extension. This is created from the CCA wizard as #1 is. Each phone will have a button command. Just us an overlay or a 2nd button to answer the calls. Lets pretend that ephone-dn 10,11,12,13 were already created for the phones extensions.

************ EPHONE SETUP EXAMPLE*************
ephone 7

button 1o10,49,50,51,52 **Button 1 use DN 10 and all overlay's also
!
!
!
ephone 8
button 1o11,49,50,51,52 **Button 1 use DN 11 and all overlay's also
!
!
ephone 9
button 1o12,49,50,51,52 **Button 1 use DN 12 and all overlay's also
!
!
ephone 10
button 1o13,49,50,51,52 **Button 1 use DN 13 and all overlay's also
!
******************END EPHONE EXAMPLE*********

Share/Save

Comments

JamfoFL's picture

A Few More Notes

Thank you very much for the configuration. It really helped solve this exact issue I was having with a customer's UC520 installation.

I did have to make a change from the printed config to get it to work properly. The way you have it configured here worked like a charm with the first incoming phone call. However, if the first call was still on the line and a second call came in, the second call would be transferred immediately to the auto-attendant instead of the next available ephone-dn.

I noticed that each ephone-dn in the configuration you have here had the 'call-forward busy 4500' entry. I believe that this was superceding the 'no huntstop' command and sending the calls directed to the busy ephone-dns immediately to the auto-attendant. I simply removed the line from each of the first three ephone-dns, leaving it in the fourth, and then everything worked as expected. Now, the only time a caller will be sent directly to the auto-attendant will be if all four ephone-dns are busy.

Thanks once again for your excellent solution to what was a vexing problem!

jnikolatos's picture

Thanks... changed the code as

Thanks... changed the code as per your note.

rem308's picture

DN assignments...

I follow what you're doing. I also like how you set the button assignments for the phones. We have a few customers who have the Cisco 7911 phones, (only 1 button). I had wondered before how to allow for the phones DN and also how to add Overlay DN's to the phone... I had never thought of throwing all the DN's under button 1 the way you did. ( button 1o10, 50, 51, 52, 53)

Very cool. Thanks for posting.

Hoover87's picture

Great write up, just a

Great write up, just a couple notes....

Your phones won't ring on dn's 50-52 until they are also overlayed to a button.

Call waiting won't be herd unless you change "o" to "c" in the button command.

Cisco IP Communications Express Specialist
www.ketchumits.com

rmccoy's picture

You might also....

You might also consider using the new Octo line feature of 4.3. You can map up to 8 calls on one line. This might simplify the config a little.

Ryan

jnikolatos's picture

Hey thanks.... typo on the

Hey thanks.... typo on the DN's, I wanted to include all DN's under each phone (I cut and paste and didn't double check) ... Good note on the overlays...

John
NIKTEK LLC

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.