TCL Hookflash Transfer after CUE Autoattendant

Version 1
    This document was generated from CDN thread

    Created by: David Sandoval on 01-02-2012 04:53:39 PM
    I have a sample script that I modified for interfacing a legacy PBX to detect inband DTMF and route the call to the CUE based on certain digits. This is working as expected, and the caller is able to leave voicemails and interact with the auto attendant, however, when the caller selects an AA option to transfer to an extension, the router sends the call out one of the open FXO ports and I would like to have the existing call leg do a hookflash transfer instead, so the port is no longer in use.
     
    I have the script listening for the ev_transfer_request(I think) but I never see that in my debugs when a call is transferred.

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: Yaw-Ming Chen on 01-02-2012 09:35:47 PM
    Is the following set ?

    "infotag set evt_report ev_transfer_request"

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: David Sandoval on 02-02-2012 08:15:00 AM
    I don't have that set, let me add that and give it a go. I'm thinkning this should be set in my Setup procedure?

    proc act_Setup { } {
        global dest
        global beep
        global ani
        global PARAM

        set beep 0
        leg setupack leg_incoming
        leg proceeding leg_incoming
        leg connect leg_incoming
        infotag set evt_report ev_transfer_request
        leg collectdigits leg_incoming PARAM
    }

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: David Sandoval on 02-02-2012 02:41:06 PM
    This isn't working still, but I don't know if I am doing it right, either. Are there any sample scripts that might do something similar? Maybe my FSM is wrong?

    proc act_GotXfer { } {
        global incoming
       
        set incoming [infotag get leg_incoming]
       
        set status [infotag get evt_status]
        puts "Call [infotag get con_all] got event $status while transferring call"
        set dest [infotag get evt_transfer_info transferDest]
       
        leg sendhookflash leg_incoming
        for {set i 0} {$i < [string length $dest]} {incr i} {
        leg senddigit leg_incoming [string index $dest $i]
        }
    }

      set TopFSM(any_state,ev_disconnected) "act_Abort,same_state"
      set TopFSM(CALL_INIT,ev_setup_indication) "act_Setup,GETDEST"
      set TopFSM(GETDEST,ev_collectdigits_done) "act_GotDest PLACECALL"
      set TopFSM(PLACECALL,ev_setup_done)  "act_CallSetupDone,CALLACTIVE"
      set TopFSM(CALLACTIVE,ev_transfer_request) "act_GotXfer same_state"
      set TopFSM(CALLACTIVE,ev_disconnected)   "act_Cleanup,CALLDISCONNECTED"
      set TopFSM(CALLDISCONNECTED,ev_disconnect_done) "act_Cleanup,same_state"

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: Raghavendra Gutty Veeranagappa on 03-02-2012 12:09:37 AM
    Hi David,

    you can use app-h450-transfer.2.0.0.10 script in below location for reference.

    http://www.cisco.com/cisco/software/release.html?mdfid=277641082&softwareid=283451126&release=2.0.0.10&rellifecycle=&relind=AVAILABLE&reltype=all

    Thanks,
    Raghavendra

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: David Sandoval on 03-02-2012 09:13:29 AM
    Thank you, I just downloaded this and I will go through it to see what I am missing. On another note, do you know if there are any classes offered for tcl api developers? I have gone through all the documentation I can find, but I still have many questions.

    Subject: RE: TCL Hookflash Transfer after CUE Autoattendant
    Replied by: Anusha Kannappan on 17-02-2012 12:52:29 AM
    Hi David,

    As of now we don't have any specific classes offered for TCL API developers.But we can have a custom class for group of people. For which you could contact us the 'Developer Services'. For more details you can login to'http://developer.cisco.com/web/devservices/alldevs'. Meanwhile please feel free to post all your queries to our forum and we would surely address them.

    Thanks,
    Anusha