how to play MOH in a h323 gateway using TCL

Version 1
    This document was generated from CDN thread

    Created by: Hariharan S on 10-08-2012 08:55:05 AM
    Hi All,
     
    I am using a standard TCL script for B-Acd-AA and i need to achieve the following
     
    After the en_bacd_welcome.au and en_bacd_menu_options.au if user press 0 the call should route to 4055 and if user dial any 4 digit extension, it needs to route it to extensions. It is not a CME solution and phones are in CUCM.
     
    While trying to achieve this, after the welcome and menu option.au , while i press any one digit, i am getting the below error message..
     
    LOGS:
    Aug 10 12:50:37.821 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Warning: Mandatory parameter aa-pilot2 does not ex
    Aug 10 12:50:37.821 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Warning: If you are using 2nd pilot number call wi
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter second-greeting-time = 6
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter call-retry-timer = 15  -
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter max-time-call-retry = 70
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter max-time-vm-retry = 2  -
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: -- Valid Mandatory parameter number-of-hunt-grps = 1
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd:
    proc init_perCallvars
    Aug 10 12:50:37.825 GMT:
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: preced info : 0:-1:0 ,index : 2 ,return value: 0
    Aug 10 12:50:37.825 GMT:
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd: is mlpp = 0
    Aug 10 12:50:37.825 GMT:
    Aug 10 12:50:37.825 GMT: //1685//TCL :/tcl_PutsObjCmd:
    >>>>>>>>>legstate = lg_001<<<<<<<<<<<
    Aug 10 12:50:37.825 GMT:
    Aug 10 12:50:37.829 GMT: //1685//TCL :/tcl_PutsObjCmd: TCL AA: ++ Playing Welcome Prompt and options menu ++
    Aug 10 12:50:55.245 GMT: //1659//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Running <<<
    Aug 10 12:51:00.809 GMT: //1685//TCL :/tcl_PutsObjCmd: >>>>>>>>>>>>> return from infotag get evt_dcdigits is : 4 <<<
    Aug 10 12:51:00.809 GMT:
    Aug 10 12:51:00.809 GMT: //1685//TCL :/tcl_PutsObjCmd: preced info : 0:-1:0 ,index : 2 ,return value: 0
    Aug 10 12:51:00.809 GMT:
    Aug 10 12:51:00.809 GMT: //1685//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERRO
    Aug 10 12:51:00.813 GMT: TCL script failure
            Result:
                             Play Failed
    Aug 10 12:51:00.813 GMT:        TCL script failure errorInfo:
                            Play Failed
        while executing
    "media play leg_incoming moh:livemoh"
        ("default" arm line 23)
        invoked from within
    "switch -exact $optionSelected {
                                    {#} {
                                            act_RetryMenu
                                    }
                                    {0} {
                                            act_GotDestNoOption
                                    }
                                    default {
                                            set playMusicFlag 1
                            ..."
        (procedure "act_GotDest" line 38)
        invoked from within
    "act_GotDest"
    Aug 10 12:51:00.813 GMT: //1659//TCL :/tcl_PutsObjCmd: TCL B-ACD: ++ Message received from IOS ++
     
    Please advice, since i am new to TCL, i am not sure what this error message means..
     
    Thanks again in advance
    Hariharan.S
     
     
     

    Subject: RE: how to play MOH in a h323 gateway using TCL
    Replied by: Raghavendra Gutty Veeranagappa on 10-08-2012 09:27:23 AM
    Hi Hariharan,

    please configure moh under telephony-service in router, make sure that audio file(en_bacd_music_on_hold.au) exists in flash.

    telephony-service
      moh flash:en_bacd_music_on_hold.au

    Thanks,
    Raghavendra

    Subject: RE: how to play MOH in a h323 gateway using TCL
    Replied by: Hariharan S on 10-08-2012 09:47:51 AM
    HI Raghav,

    It is now playing the files and that works but how to use option 0 in this bacd..could you please advice..

    Thanks
    Hari.S

    Subject: RE: how to play MOH in a h323 gateway using TCL
    Replied by: Hariharan S on 10-08-2012 09:56:14 AM
    Hi Raghav,

    It plays and use o to reach operator but no ringback to callers...is there something i need to add for rignback while users press 0

    Please advice

    Thanks
    Hariharan.S

    Subject: RE: how to play MOH in a h323 gateway using TCL
    Replied by: Raghavendra Gutty Veeranagappa on 10-08-2012 09:57:59 AM
    Hi Hari,

    An operator hunt group is a special case of hunt group. It is a group of phones that is prepared to provide lookup and connection services to callers. For this purpose, the B-ACD script assumes that the hunt group with the highest aa-hunt number is the operator group and allows this group to be reached when a caller dials 0 or dials the aa-hunt option number. For example, in a B-ACD application with two hunt groups, aa-hunt1 and aa-hunt2, a caller who dials 0 will be connected to aa-hunt2.

    for more information about BACD please refer below link

    http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/bacd/configuration/guide/40bacd.html


    Thanks,
    Raghavendra