Calls does not get to Hunt Group

Version 1
    This document was generated from CDN thread

    Created by: JACO FOURIE on 25-10-2011 05:22:01 AM
    Hi Guys ,
     
    Neewbie on TCL and I know that for most guys this will be easy. Trying to get an incoming call to a hunt group when option is selected from menu.
     
    Please see extracts from config and also debug output. When I dail the hunt group number from any phone it gets routed successfully , but not from the IVR.
    Your input is much appreciated.
     
    Config :

    application
     service aa flash:app-b-acd-aa-3.0.0.2.tcl
      paramspace english language en
      paramspace english index 1
      paramspace english location flash:
      param service-name queue
      param handoff-string aa
      param aa-pilot 1234
      param number-of-hunt-grps 2
      param second-greeting-time 60
      param call-retry-timer 15
      param max-time-call-retry 600
      param voice-mail 5000
      param max-time-vm-retry 2
      param dial-by-extension-option 5
      param max-extension-length 4
      param welcome-prompt _aa1_welcome.au
      param menu-timeout 6
     service queue flash:app-b-acd-3.0.0.2.tcl
      param queue-len 10
      param number-of-hunt-grps 2
      param aa-hunt3 2555
      param aa-hunt4 1111
      param queue-manager-debugs 1
    !

    application
     service aa flash:app-b-acd-aa-3.0.0.2.tcl
      paramspace english index 1
      param number-of-hunt-grps 2
      param menu-timeout 6
      param dial-by-extension-option 5
      param handoff-string aa
      paramspace english language en
      param max-time-vm-retry 2
      param max-extension-length 4
      param aa-pilot 1234
      paramspace english location flash:
      param second-greeting-time 60
      param welcome-prompt _aa1_welcome.au
      param call-retry-timer 15
      param max-time-call-retry 600
      param voice-mail 5000
      param service-name queue
     !
     service queue flash:app-b-acd-3.0.0.2.tcl
      param aa-hunt3 2555
      param queue-len 10
      param aa-hunt4 1111
      param queue-manager-debugs 1
      param number-of-hunt-grps 2
     !
     global
      service alternate Default

    !dial-peer voice 3 voip
     service aa
     destination-pattern 1234
     session target ipv4:10.150.131.2
     incoming called-number 1234
     dtmf-relay h245-alphanumeric
     codec g711ulaw
    !
    !
    !
    !
    telephony-service
     max-ephones 100
     max-dn 100
     ip source-address 10.150.131.2 port 2000
     auto assign 100 to 200
     max-conferences 3 gain -6
     call-forward pattern .T
     transfer-system blind
     transfer-pattern .T
     create cnf-files version-stamp Jan 01 2002 00:00:00
    !
    !
    ephone-dn  1  dual-line
     number 2001
    !
    !
    ephone-dn  2  dual-line
     number 2002
    !
    !
    ephone-dn  3  dual-line
     number 2003
    !
    !
    ephone-dn  4  dual-line
     number 2004
    !
    !
    ephone  1
     device-security-mode none
     mac-address 001E.F7C4.76E5
     type 7960
     button  1:1
    !
    !
    !
    ephone  2
     device-security-mode none
     mac-address 0021.55D6.3F1B
     type 7940
     button  1:2
    !
    !
    !
    ephone  3
     device-security-mode none
     mac-address F9E3.FDAF.7400
     max-calls-per-button 2
     type anl
     button  1:3
    !
    !
    !
    ephone  4
     device-security-mode none
     mac-address F9E3.FDAF.7401
     max-calls-per-button 2
     type anl
     button  1:3
    !
    !
    !
    ephone  5
     device-security-mode none
     mac-address 0022.555D.34C1
     type 7911
     button  1:3
    !
    !
    !
    ephone  12
     device-security-mode none
    !
    !
    ephone-hunt 1 peer
     pilot 2555
     list 2003
    !
     
     
    debug voip application tcl commands :


    Router#
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_ani
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_ani
    *Oct 25 08:46:51.575: //95//AFW_:/vtr_lg_ani: argc 2 argindex 2
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_dnis
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_dnis
    *Oct 25 08:46:51.575: //95//AFW_:/vtr_lg_dnis: argc 2 argindex 2
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagObjCmd:  infotag set med_language 1
    *Oct 25 08:46:51.575: //95//TCL :/tcl_InfotagSetObjCmd: infotag set med_language 1
    *Oct 25 08:46:51.575: //95//AFW_:/vtw_ms_language: argc 3 argindex 2
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get mod_handle_service B-ACD-SERVICE
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get mod_handle_service B-ACD-SERVICE
    *Oct 25 08:46:51.579: //95//AFW_:/vtr_mod_handle_service:
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_incoming
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_incoming
    *Oct 25 08:46:51.579: //95//AFW_:/vtr_lg_incoming: argc 2
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_precedence_info 95
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_precedence_info 95
    *Oct 25 08:46:51.579: //95//AFW_:/vtr_lg_precedence: argc 3
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_incoming
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_incoming
    *Oct 25 08:46:51.579: //95//AFW_:/vtr_lg_incoming: argc 2
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_state 95
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_state 95
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegObjCmd:  leg setupack leg_incoming
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegSetupAckObjCmd: setupack leg_incoming
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: argc 2
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegObjCmd:  leg proceeding leg_incoming
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegProceedObjCmd: proceeding leg_incoming
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: argc 2
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegObjCmd:  leg connect leg_incoming
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegConnectObjCmd: connect leg_incoming
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: argc 2
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_incoming_guid
    *Oct 25 08:46:51.579: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_incoming_guid
    *Oct 25 08:46:51.579: //95//AFW_:/vtr_lg_incguid: argc 2 argindex 2
    *Oct 25 08:46:51.579: //95//TCL :/tcl_LegObjCmd:  leg collectdigits leg_incoming PARAM
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: argc 3
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//PACK:/tcl_MediaObjCmd:  media play leg_incoming _aa1_welcome.au %s500 _bacd_options_menu.au
    *Oct 25 08:46:51.579: //95//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming _aa1_welcome.au %s500 _bacd_options_menu.au
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: argc 5
    *Oct 25 08:46:51.579: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:51.579: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:51.579: //95//PACK:/Media_Play_Start: 
    *Oct 25 08:46:51.579: //95//TCL :/tcl_FSMObjCmd:  fsm setstate GETDEST
    *Oct 25 08:46:51.579: //95//TCL :/tcl_FSMSetStateObjCmd: setstate setstate GETDEST
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagObjCmd:  infotag get evt_status
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagGetObjCmd: infotag get evt_status
    *Oct 25 08:46:58.307: //95//AFW_:/vtr_ev_status: argc 2 argindex 2
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagObjCmd:  infotag get evt_dcdigits
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagGetObjCmd: infotag get evt_dcdigits
    *Oct 25 08:46:58.307: //95//AFW_:/vtr_ev_dcdigits: argc 2
    *Oct 25 08:46:58.307: //95//AFW_:/vtr_ev_dcdigits: DCDIGITS [2]
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_incoming
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_incoming
    *Oct 25 08:46:58.307: //95//AFW_:/vtr_lg_incoming: argc 2
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagObjCmd:  infotag get leg_precedence_info 95
    *Oct 25 08:46:58.307: //95//TCL :/tcl_InfotagGetObjCmd: infotag get leg_precedence_info 95
    *Oct 25 08:46:58.307: //95//AFW_:/vtr_lg_precedence: argc 3
    *Oct 25 08:46:58.307: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:58.307: //95//TCL :/tcl_sendmsgObjCmd:  sendmsg TclModule_6A3E1F94_0_577436 -p queueMessage
    *Oct 25 08:46:58.307: //-1//TCL :/createAVArrayFromTclArray: keepTime = 1319532418
    *Oct 25 08:46:58.307: //-1//TCL :/createAVArrayFromTclArray: callState = CALL_NEW
    *Oct 25 08:46:58.307: //-1//TCL :/createAVArrayFromTclArray: Precedence = 0
    *Oct 25 08:46:58.307: //-1//TCL :/createAVArrayFromTclArray: optionIDX = 2
    *Oct 25 08:46:58.307: //95//PACK:/tcl_MediaObjCmd:  media play leg_incoming moh:livemoh
    *Oct 25 08:46:58.307: //95//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming moh:livemoh
    *Oct 25 08:46:58.307: //95//AFW_:/vtd_lg_incoming: argc 3
    *Oct 25 08:46:58.307: //95//AFW_:/vtd_lg_incoming: Legs [95 ]
    *Oct 25 08:46:58.307: //95//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
    *Oct 25 08:46:58.307: //95//PACK:/Media_Play_Start: 
    *Oct 25 08:46:58.307: //95//PACK:/tcl_MediaPlayObjCmd:  problem in media play operation
    *Oct 25 08:46:58.307: //10//TCL :/tcl_InfotagObjCmd:  infotag get evt_msg_source
    *Oct 25 08:46:58.307: //10//TCL :/tcl_InfotagGetObjCmd: infotag get evt_msg_source
    *Oct 25 08:46:58.307: //10//AFW_:/vtr_ev_msg_source:
    *Oct 25 08:46:58.307: //10//TCL :/tcl_InfotagObjCmd:  infotag get evt_msg msg_array
    *Oct 25 08:46:58.311: //10//TCL :/tcl_InfotagGetObjCmd: infotag get evt_msg msg_array
    *Oct 25 08:46:58.311: //10//AFW_:/vtr_ev_msg:
    *Oct 25 08:46:58.311: //10//TCL :/tcl_sendmsgObjCmd:  sendmsg TclModule_6A3E16F4_0_2357328 -p replyMessage
    *Oct 25 08:46:58.311: //-1//TCL :/createAVArrayFromTclArray: callState = NO_HUNT_GROUP
    *Oct 25 08:47:11.695: //10//TCL :/tcl_InfotagObjCmd:  infotag get evt_legs
    *Oct 25 08:47:11.695: //10//TCL :/tcl_InfotagGetObjCmd: infotag get evt_legs
    *Oct 25 08:47:11.695: //10//AFW_:/vtr_ev_legs: argc 2
    *Oct 25 08:47:11.695: //10//AFW_:/vtr_ev_legs: EVCALLID []
    *Oct 25 08:47:11.695: //10//TCL :/tcl_TimerObjCmd:  timer start named_timer 60 QUEUE_MANAGER_TIMER
    *Oct 25 08:47:11.695: //10//TCL :/tcl_TimerStartObjCmd: timer start named_timer 60 QUEUE_MANAGER_TIMER
    *Oct 25 08:47:11.695: //10//TCL :/tcl_InfotagObjCmd:  infotag get evt_timer_name
    *Oct 25 08:47:11.695: //10//TCL :/tcl_InfotagGetObjCmd: infotag get evt_timer_name
    *Oct 25 08:47:11.695: //10//AFW_:/vtr_timer_name: argc 2
    Router#
     
     
     
    Kind Regards
    Jaco

    Subject: RE: Calls does not get to Hunt Group
    Replied by: Anusha Kannappan on 25-10-2011 06:39:52 AM
    Hi Jaco,

    Please modify the param as the following and see whether it works

      param aa-hunt2 2555

    since the syntax is
    param aa-hunt menu-number pilot-number

    where the menu-number signifies a Single digit that callers dial to choose this menu option (also referred to as the aa-hunt number). Range is from 1 to 10. Note that the hunt group with the highest aa-hunt number is automatically considered the operator hunt group, and its menu number maps to 0 (zero) for callers in addition to mapping to its aa-hunt number.

    Thanks,
    Anusha