VoIP: (04.04) Thiết lập chế độ trả lời tự động Drop-Through-Prompt trên VoiceGateway

By , 0 View

Mục tiêu thực hành:
- Thiết lập Hunt-Group tiếp nhận các cuộc gọi từ tính năng trả lời tự động CallCenter_AA.
- Định nghĩa Application CallCenter_Queue & CallCenter_AA ở chế độ Drop-Through-Prompt trên VoiceGateway.
- Thiết lập Dial-Peer tiếp nhận và chuyển hướng cuộc gọi tới dịch vụ trả lời tự động CallCenter_AA.

Các bước triển khai:
Thiết lập Hunt-Group tiếp nhận các cuộc gọi từ tính năng trả lời tự động CallCenter_AA.
- Thiết lập SCCP Hunt-Group.
ephone-hunt 1 sequential
  pilot 300
  list 304,305
  timeout 10,10
  exit

- Thiết lập SIP Hunt-Group. (Cấu hình này chỉ mang tính chất minh họa)
voice hunt-group 2 sequential
  pilot 200
  list 201, 202
  timeout 10
  exit

Định nghĩa Application CallCenter_Queue & CallCenter_AA ở chế độ Drop-Through-Prompt trên VoiceGateway.
- Chỉ cấu hình được tối đa 6 CallCenter_Queue và 6 CallCenter_AA trên Router 4321.
- Sau khi cuộc gọi tới được điều hướng tới tính năng CallCenter_AA (aa-pilot 2021) thì Caller sẽ nghe hết nội dung của Audio Prompt en_dt_prompt.au rồi sau đó cuộc gọi với chuyển tiếp tới hunt-group 300. 
    + Nếu en_dt_prompt.au có chiều dài 60s thì Caller sẽ phải chờ hết 60s thì cuộc gọi mới được chuyển tiếp cho hunt-group 300.
    + Nếu en_dt_prompt.au có chiều dài 5s thì Caller sẽ chỉ phải chờ hết 5s thì cuộc gọi sẽ được chuyển tiếp cho hunt-group 300.
application
  service CallCenter_Queue bootflash:/TCLScript/app-b-acd-3.0.0.2.tcl
   param number-of-hunt-grps 1 
   param aa-hunt1 300
   param queue-len 2
   param queue-manager-debugs 1
   exit
  exit

application
  service CallCenter_AA bootflash:TCLScript/app-b-acd-aa-3.0.0.2.tcl
   paramspace english location bootflash:TCLScript/
   paramspace english index 1 
   paramspace english language en 
   param service-name CallCenter_Queue
   param handoff-string CallCenter_AA
   param aa-pilot 2021
   param number-of-hunt-grps 1
   param drop-through-option 1
   param drop-through-prompt bootflash:TCLScript/en_dt_prompt.au 
   param voice-mail 300
   exit
  exit

- Quan sát quá trình cấu hình CallCenter_Queue & CallCenter_AA.
R4321(config)#application 
R4321(config-app)#  service CallCenter_Queue bootflash:/TCLScript/app-b-acd-3.0.0.2.tcl
R4321(config-app-param)#
*Apr  6 07:16:19.459: //-1//HIFS:/hifs_ifs_cb: hifs ifs file read succeeded. size=30421, url=bootflash:/TCLScript/app-b-acd-3.0.0.2.tcl
*Apr  6 07:16:19.460: //-1//HIFS:/hifs_free_idata: hifs_free_idata: 0x7FEC8455C4F0
*Apr  6 07:16:19.460: //-1//HIFS:/hifs_hold_idata: hifs_hold_idata: 0x7FEC8455C4F0
R4321(config-app-param)#   param number-of-hunt-grps 1 
Warning: parameter number-of-hunt-grps has not been registered under CallCenter_Queue namespace
R4321(config-app-param)#   param aa-hunt1 305
Warning: parameter aa-hunt1 has not been registered under CallCenter_Queue namespace
R4321(config-app-param)#   param queue-len 2
Warning: parameter queue-len has not been registered under CallCenter_Queue namespace
R4321(config-app-param)#   param queue-manager-debugs 1
Warning: parameter queue-manager-debugs has not been registered under CallCenter_Queue namespace
R4321(config-app-param)#exit
R4321(config-app)#  service CallCenter_AA bootflash:TCLScript/app-b-acd-aa-3.0.0.2.tcl
R4321(config-app-param)#
*Apr  6 07:17:21.878: //-1//HIFS:/hifs_ifs_cb: hifs ifs file read succeeded. size=55599, url=bootflash:TCLScript/app-b-acd-aa-3.0.0.2.tcl
*Apr  6 07:17:21.878: //-1//HIFS:/hifs_free_idata: hifs_free_idata: 0x7FEC7501FD70
*Apr  6 07:17:21.878: //-1//HIFS:/hifs_hold_idata: hifs_hold_idata: 0x7FEC7501FD70
R4321(config-app-param)#   paramspace english location bootflash:TCLScript/
R4321(config-app-param)#   paramspace english index 1 
R4321(config-app-param)#   paramspace english language en 
R4321(config-app-param)#   param service-name CallCenter_Queue
Warning: parameter service-name has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param handoff-string CallCenter_AA
Warning: parameter handoff-string has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param aa-pilot 2021
Warning: parameter aa-pilot has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param number-of-hunt-grps 1
Warning: parameter number-of-hunt-grps has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param drop-through-option 1
Warning: parameter drop-through-option has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param drop-through-prompt 
Warning: parameter drop-through-prompt has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   param voice-mail 300
Warning: parameter voice-mail has not been registered under CallCenter_AA namespace
R4321(config-app-param)#   exit
R4321(config-app)#end
R4321#

Thiết lập Dial-Peer tiếp nhận và chuyển hướng cuộc gọi tới dịch vụ trả lời tự động CallCenter_AA.
dial-peer voice 2021 voip
 service CallCenter_AA
 destination-pattern 2021
 session target ipv4:10.10.10.1
 incoming called-number 2021
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
 exit

Tham khảo các Videos lý thuyết CCNA Voice (Collaboration) trước khi tham khảo các bài hướng dẫn thực hành VoIP. Mọi thắc mắc, các bạn vui lòng liên lạc với mình thông qua kênh Zalo (Jade Bùi) 076.877.2021.

You Might Also Like

0 comments