VoIP: (04.05) Thiết lập chế độ trả lời tự động CallCenter_Queue và CallCenter_AA trên VoiceGateway

By , 0 View

Mục tiêu thực hiện:
- Cấu hình Application CallCenter_Queue và CallCenter_AA trên VoiceGateway cho Group 980[123].
- Cấu hình Application CallCenter_Queue và CallCenter_AA trên VoiceGateway cho Group 990[123].

Nội dung triển khai:
Cấu hình Application CallCenter_Queue và CallCenter_AA trên VoiceGateway cho Group 980[123].
- Cấu hình CallCenter_Queue và CallCenter_AA.
- Tính năng nhạc chờ moh vẫn có tác dụng đối với các External SIP Phone từ ngoài gọi vào. Trong khi cuộc gọi được xử lý và chuyển tiếp cho các Hunt-Group thì External SIP Phone sẽ nghe được nhạc chờ.
application
   service callcenter_queue01 flash:/TCLScript/app-b-acd-3.0.0.2.tcl
   param number-of-hunt-grps 3 
   param aa-hunt1 9801
   param aa-hunt2 9802
   param aa-hunt4 9803
   param queue-len 10
   param queue-manager-debugs 1
   exit
  exit

application
   service callcenter_aa01 flash:/TCLScript/app-b-acd-aa-3.0.0.2.tcl
   param dial-by-extension-option 3 
   paramspace english location flash:/TCLScript/
   paramspace english index 1 
   paramspace english language en 
   param service-name callcenter_queue01
   param handoff-string callcenter_aa01
   param aa-pilot 1111
   param welcome-prompt flash:/TCLScript/en_bacd_welcome.au
   param number-of-hunt-grps 3
   param voice-mail 9903
   exit
  exit

telephony-service
  moh flash:/TCLScript/en_bacd_music_on_hold.au
  exit

- Cấu hình Dial-Peer cho phép đẩy cuộc gọi tới tính năng trả lời tự động IVR 1111.
    + Tính năng IVR chỉ hỗ trợ H.323, không hỗ trợ chuẩn SIPv2.
dial-peer voice 1111 voip
 service callcenter_aa01
 destination-pattern 1111
 session target ipv4:172.16.31.187
 incoming called-number 1111
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
 exit

voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 exit

- Cấu hình Translation-Rule cho phép tiếp nhận cuộc gọi tới CalledNumber 02838120120 thì sẽ chuyển cho IVR 1111.
voice translation-rule 3
 rule 1 /02838120120/ /1111/
 rule 2 /02838120130/ /1112/
 exit

voice translation-profile SipTrunk_Incoming
 translate called 3
 exit

voice class codec 2
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 exit

dial-peer voice 2 voip
 translation-profile incoming SipTrunk_Incoming
 session protocol sipv2
 session target ipv4:10.20.20.2
 incoming called-number 028381201[2,3]0
 voice-class codec 2 
 exit

Cấu hình Application CallCenter_Queue và CallCenter_AA trên VoiceGateway cho Group 990[123].
- Cấu hình CallCenter_Queue và CallCenter_AA.

- Kiểm tra IVR 1112 bằng cách từ Internal Phone thực hiện cuộc gọi tới 1112.
VoiceGateway# show call application sessions
Session ID 8

            App: callcenter_aa02
           Type: Service
            Url: flash:/TCLScript/app-b-acd-aa-3.0.0.2.tcl

Session ID 5

            App: Default
           Type: Service
            Url: builtin:Session_Service.C

Session ID 7

            App: callcenter_queue02
           Type: Service
            Url: flash:/TCLScript/app-b-acd-3.0.0.2.tcl

VoiceGateway#

- Tiến hành Reset lại IVR 1112.
call application session stop id 8
call application session stop id 7

call application voice load callcenter_aa02
call application voice load callcenter_queue02

- Tiến hành debug tính năng IVR.
debug voip application script
debug voip application tcl

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