How can i route the call automatically to phone after hearing greeting

Unanswered Question
Jan 15th, 2008

I have CCME, and i want implement B-ACD, my need is for each call, the greeting must be heared and after that the call must be routed to the receptionist.

I have tested the following config, but it doesn't work :

dial-peer voice 1000 pots

service aa

port 0/0/0:15


incoming called-number 022203304

ephone-hunt 10 sequential

pilot 5071

list 5011

timeout 10


service callq flash:app-b-acd.tcl

param queue-manager-debugs 1

param aa-hunt1 5071

param number-of-hunt-grps 1

param queue-len 10

service aa flash:app-b-acd-aa.tcl

paramspace english language en

param aa-pilot 022203304

param number-of-hunt-grps 1

param service-name callq

param handoff-string aa

param second-greeting-time 60

param drop-through-option 1

param drop-through-prompt

param call-retry-timer 15

param max-time-call-retry 700

and when i want to verify this services

with the command show call application sessions, the services already created are not displayed.

Thnaks for help

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Paolo Bevilacqua Tue, 01/15/2008 - 02:56

Hi, please add the required paramspace english index and paramspace language location.

Failing that please enable "debug voice media status" with "term mon".

dbenattou Tue, 01/15/2008 - 03:13


thanks for reply,

i have added the two commands, and the debug commend is not supported in the router

the image is : c2800nm-ipvoicek9-mz.124-11.XW5.bin

thanks at advance.

Paolo Bevilacqua Tue, 01/15/2008 - 03:25

Sorry, the exact command is: debug voice application media state.

Does the call transfer correctly ? How do you recorded the prompt ?

dbenattou Tue, 01/15/2008 - 03:29

the record is for Music on hold, and is the same that i want t use for greeting.


dbenattou Tue, 01/15/2008 - 03:34


the following message is displayed when i type param XXXXXXX

Warning: parameter queue-manager-debugs has not been registered under queue namespace

it can be the problem.


dbenattou Tue, 01/15/2008 - 03:44


regrdless of B-ACD, My need is the following:

when the receptionist receives two simultaneous calls the third call is getting busy to the caller. Is for that reason that i want to use B-ACD, but it doesn't work.

i you have any idea to help me to find solution.

thanks at advance.

Paolo Bevilacqua Tue, 01/15/2008 - 03:50

I think you need an hunt-group for queuing to work correctly. If you have only one operator, just place it alone in ephone-hunt and configure hunt1 to pilot, not directly to extension.

Then if you place Hlog button on the operator phone, after office hours he/she can log out in this case the call will go voicemail. If you don't have VM, it can be another script like "disconnect.tcl" that will announce office hours, then close.

When something isn't right the debug is "voice application script".

dbenattou Tue, 01/15/2008 - 03:58

i need when the caller dial the number, the personalized music must be heared, and the caller wait in the queue. If the receptionist is free, it can receive the calls, if it's busy the caller will wait in the Queue and the Music have still heared.

I want ti know if it's possible to do that, and if you know how, let me know.

thanks a lot.

Paolo Bevilacqua Tue, 01/15/2008 - 04:06

Yes, that's called call queuing. As mentioned above, you need to place the operator in ephone-hunt to work.

dbenattou Tue, 01/15/2008 - 04:19


i have placed into the hunt group, but when i call the DID from the outside, nothing happens.

Paolo Bevilacqua Tue, 01/15/2008 - 04:26

Collect debug voice application script and send it here together with the revised configuration, and "show ephone-hunt"

dbenattou Tue, 01/15/2008 - 04:39

the following is what the debug displays

000459: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- ERROR: Mandatory parameter voice-mail does not exist --

000460: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- max-extension-length is set to default value of 5 --

000461: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Mandatory parameter second-greeting-time does not exist --

000462: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Setting default to 60

000463: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Mandatory parameter second-greeting-time does not exist --

000464: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Setting default to 15

000465: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Mandatory parameter max-time-call-retry does not exist --

000466: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Setting default to 600

000467: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Mandatory parameter max-time-vm-retry does not exist --

000468: Jan 15 12:37:56.367: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Setting default to 1

000469: Jan 15 12:37:56.371: //-1//TCL :EE46785E40000:/tcl_PutsObjCmd: TCL AA: -- Valid Mandatory parameter number-of-hunt-grps = 1


sh ephone-hunt






Group 9

type: sequential

pilot number: 11000, peer-tag 20115

list of numbers:

149, aux-number A11000A0800, # peers 1, logout 0, down 0

peer-tag dn-tag rna login/logout up/down

[20114 91 0 login up ]

only one agent available!

preference: 0

preference (sec): 9

timeout: 180

E.164 register: yes

auto logout: no

stat collect: no







dbenattou Tue, 01/15/2008 - 05:01

thanks for reply, it works from inside because we have dial-peer voice 1000 voip, but from outside it only rings, and no greeting is heared.

Paolo Bevilacqua Tue, 01/15/2008 - 05:17

Usually that is because the incoming DP fails. Make sure the called number, incoming called in DP, and aa-pilot do match.

dbenattou Tue, 01/15/2008 - 05:24

the dial-peer and the aa-pilot match correctly.

is the DP pots or voip that i must configure ?


dbenattou Tue, 01/15/2008 - 06:37

i have configured this :

dial-peer voice 1001 pots

service aa

incoming called-number 022203304

when i verify with debug, the called number is always 022203304, but it can't rings.

Paolo Bevilacqua Tue, 01/15/2008 - 06:45

With debug voip application script you should see BACD-AA kick in. If it doesn't, either the number is not right, aa-pilot mismatch, etc.


This Discussion