cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
183
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Killer Jian on 26-08-2010 10:04:07 AM
Hi experts,
 
I'm now studying for transferring call by TCL / IVR
 
In tcl script, it do "handoff appl leg_all Default " in general
 
But it doesn't work for me when I handoff the call control to Default application on customer site
 
My situation is:  I have a mgcp GW and a CCM
When a call with specific Called Number arrival at the CCM, CCM route it back to GW and the GW will start up script to handle

that tcl script doing is like ivr at first and then setup leg with some DN regitered on CCM
 
After leg setup I handoff all legs to Default appli
 
But calling party will miss connection if agents(called party) do things like press hold,transfer,conference buttons
 
When agents press a button, calling party heard nothing at first and will disconnect in about 10 sec.
 
Called party cann't connect their call legs even if they press assume button after hold
 
Do you have workaround or any guidance for debug,please
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Subject: RE: Transfer by TCL
Replied by: Anusha Kannappan on 26-08-2010 11:58:46 AM
Hi Killer,
 
Could you please share us the ivr script that is being used for call transfer and debug logs with the following debugs enabled
 
debug voip application tclcommands
debug voip application states
debug voip application script
debug mgcp all
 
Thanks,
Anusha

Subject: RE: Transfer by TCL
Replied by: Yaw-Ming Chen on 26-08-2010 02:19:11 PM
Is agenet registered on CUCM or GW ?
 
Please note that after handoff the call, your Tcl application is terminated (closed, no longer involved in call processing)
After handoff the call, IOS is controling the call.
 
Did you try making a call to GW without going thru Tcl script then do whatever you were doing (press button, ....ect).
Was it ok ?

Thanks !

Subject: RE: Transfer by TCL
Replied by: Killer Jian on 01-09-2010 08:23:02 AM
sorry for replying late
 
here is log debug voip ap states below:

rwtwtatpdhs-01#
Aug 27 17:35:19 GMT: //-1//SERV:/AFW_Service_CCInterface: Received Event 24 for service acd modulehandle NULL
Aug 27 17:35:19 GMT: //-1//SERV:/AFW_Service_GetExecEnv: Script Name = acd
Aug 27 17:35:19 GMT: //-1//SERV:/AFW_Service_GetExecEnv: Using Cached ExecEnv
Aug 27 17:35:19 GMT: //-1//AFW_:/AFW_M_TclModule_NewDup:
Aug 27 17:35:19 GMT: //-1//AFW_:HN69FC08A8:/AFW_M_TclModule_Free:  MOD[TclModule_6909C260_9_1778124968] ( )
Aug 27 17:35:19 GMT: //-1//AFW_:EE697F7514000:/AFW_ExecEnv_RestoreDataBackup: Restore DataArea from Script
Aug 27 17:35:19 GMT: //-1//AFW_:EE697F7514000:/AFW_ExecEnv_RestoreDataBackup: Restore TokenTable from Script
Aug 27 17:35:19 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:19 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:26 GMT: //116425//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:35:26 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:26 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:27 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:27 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:30 GMT: //116425//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:35:30 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:30 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:34 GMT: //116425//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:35:34 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:34 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:34 GMT: //116425//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_TclModule_UpdateSessionMask: Update intwrk-mask for leg [116428]'s session
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_TclModule_UpdateSessionMask: Update intwrk-mask for leg [116425]'s session
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_Module_ParseHandle: strModuleHandle default
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_Module_ParseHandle: ERROR: Separator not found
Aug 27 17:35:37 GMT: //-1//SERV:/AFW_Service_CCInterface: Received Event 15 for service Default modulehandle NULL
Aug 27 17:35:37 GMT: //-1//SERV:/AFW_Service_GetExecEnv: Script Name = Default
Aug 27 17:35:37 GMT: //-1//SERV:/AFW_Service_GetExecEnv: Using Cached ExecEnv
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_M_TclModule_NewDup:
Aug 27 17:35:37 GMT: //-1//AFW_:HN69FCD7C4:/AFW_M_TclModule_Free:  MOD[TclModule_68F87D50_9_1778177988] ( )
Aug 27 17:35:37 GMT: //-1//AFW_:EE697F75EC000:/AFW_ExecEnv_RestoreDataBackup: Restore DataArea from Script
Aug 27 17:35:37 GMT: //-1//AFW_:EE697F75EC000:/AFW_ExecEnv_RestoreDataBackup: Restore TokenTable from Script
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 1
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Terminating ExecEnv's root module
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_M_TclModule_Terminate:  Module is in the state: ACTIVE
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 2
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_M_TclModule_Action: Module is Terminating
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_TclModule_ReturnIfDone:  Sending Out APP_EV_TCLMODULE_DONE event
Aug 27 17:35:37 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 3
Aug 27 17:35:37 GMT: //116425//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:35:37 GMT: //-1//SERV:/AFW_Service_ReleaseExecEnv:
rwtwtatpdhs-01#Script Name = acd cache = true calls = 0
Aug 27 17:35:37 GMT: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x697F7514
Aug 27 17:35:37 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:35:37 GMT: //116428//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:36:14 GMT: //116428//AFW_:/Session_Cleaner: lastFailureCause 47
Aug 27 17:36:14 GMT: //116428//AFW_:/Session_Cleaner: lastFailureCause 47
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 27 17:36:14 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 1
Aug 27 17:36:14 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Terminating ExecEnv's root module
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Terminate:  Module is in the state: ACTIVE
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action:
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_Action: Module is Terminating
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_TclModule_ReturnIfDone:  Sending Out APP_EV_TCLMODULE_DONE event
Aug 27 17:36:14 GMT: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 3
Aug 27 17:36:14 GMT: //116428//AFW_:/AFW_M_TclModule_EventPreProcess:
Aug 27 17:36:14 GMT: //-1//SERV:/AFW_Service_ReleaseExecEnv: Script Name = Default cache = true calls = 0
Aug 27 17:36:14 GMT: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x697F75EC
rwtwtatpdhs-01#
 
 
and debug voip ap tclcommand:
 
rwtwtatpdhs-01#
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegObjCmd:  leg setupack leg_incoming
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegSetupAckObjCmd: setupack leg_incoming
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: argc 2
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:44 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegObjCmd:  leg proceeding leg_incoming
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegProceedObjCmd: proceeding leg_incoming
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: argc 2
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:44 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegObjCmd:  leg connect leg_incoming
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegConnectObjCmd: connect leg_incoming
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: argc 2
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:44 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get leg_ani
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get leg_ani
Aug 27 17:32:44 GMT: //116414//AFW_:/vtr_lg_ani: argc 2 argindex 2
Aug 27 17:32:44 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD Work VAR 81615041
Aug 27 17:32:44 GMT: //116414//PACK:/tcl_MediaObjCmd:  media play leg_incoming http://10.63.106.119/au/BEA/1.au
Aug 27 17:32:44 GMT: //116414//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming http://10.63.106.119/au/BEA/1.au
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: argc 3
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:44 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
rwtwtatpdhs-01#
Aug 27 17:32:44 GMT: //116414//PACK:/Media_Play_Start:
Aug 27 17:32:44 GMT: //116414//TCL :/tcl_LegObjCmd:  leg collectdigits leg_incoming param1
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: argc 3
Aug 27 17:32:44 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:44 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
rwtwtatpdhs-01#
Aug 27 17:32:47 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get evt_status
Aug 27 17:32:47 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get evt_status
Aug 27 17:32:47 GMT: //116414//AFW_:/vtr_ev_status: argc 2 argindex 2
Aug 27 17:32:47 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get evt_dcdigits
Aug 27 17:32:47 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get evt_dcdigits
Aug 27 17:32:47 GMT: //116414//AFW_:/vtr_ev_dcdigits: argc 2
Aug 27 17:32:47 GMT: //116414//AFW_:/vtr_ev_dcdigits: DCDIGITS [2]
Aug 27 17:32:47 GMT: //116414//PACK:/tcl_MediaObjCmd:  media play leg_incoming http://10.63.106.119/au/BEA/3.au
rwtwtatpdhs-01#
Aug 27 17:32:47 GMT: //116414//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming http://10.63.106.119/au/BEA/3.au
Aug 27 17:32:47 GMT: //116414//AFW_:/vtd_lg_incoming: argc 3
Aug 27 17:32:47 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:47 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:47 GMT: //116414//PACK:/Media_Play_Start:
rwtwtatpdhs-01#
Aug 27 17:32:52 GMT: //116414//PACK:/tcl_MediaObjCmd:  media play leg_incoming http://10.63.106.119/au/BEA/5.au
Aug 27 17:32:52 GMT: //116414//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming http://10.63.106.119/au/BEA/5.au
Aug 27 17:32:52 GMT: //116414//AFW_:/vtd_lg_incoming: argc 3
Aug 27 17:32:52 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:52 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:52 GMT: //116414//PACK:/Media_Play_Start:
rwtwtatpdhs-01#
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get leg_dnis
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get leg_dnis
Aug 27 17:32:55 GMT: //116414//AFW_:/vtr_lg_dnis: argc 2 argindex 2
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD Ring VAR 81615041
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd:  ::httpios::geturl  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe -query SKL=9900&CMD=Ring&VAR=81615041 -command callbackRing -timeout 15000
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: Current NS: ::
rwtwtatpdhs-01#
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: URL:  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
Aug 27 17:32:55 GMT: //-1//PACK:/httpios_http_posthead_cb:
Aug 27 17:32:55 GMT: httpios_http_posthead_cb: status: 200
Aug 27 17:32:55 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: ret_status(0)
Aug 27 17:32:55 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: MODULE HANDLE: :: 0x00000000
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosDataObjCmd:  ::httpios::data ::httpios::httpios_387
Aug 27 17:32
rwtwtatpdhs-01#:55 GMT: //116414//TCL :/tcl_LegObjCmd:  leg setup 5064 callInfo leg_incoming
Aug 27 17:32:55 GMT: //116414//AFW_:/vtd_lg_incoming: argc 4
Aug 27 17:32:55 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:55 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:55 GMT: //-1//CSPK:/tclSetCallInfoParams: originationNum=81615041
Aug 27 17:32:55 GMT: //-1//CSPK:/tclSetControlParams: alertTime(10) = 10
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get evt_s
rwtwtatpdhs-01#tatus
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get evt_status
Aug 27 17:32:55 GMT: //116414//AFW_:/vtr_ev_status: argc 2 argindex 2
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD CALL VAR 5064
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD WAIT VAR 5064
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get leg_dnis
Aug 27 17:32:55 GMT: //116414//TCL :/tcl_InfotagGetOb
rwtwtatpdhs-01#jCmd: infotag get leg_dnis
Aug 27 17:32:55 GMT: //116414//AFW_:/vtr_lg_dnis: argc 2 argindex 2
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD Ring VAR 81615041
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd:  ::httpios::geturl  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe -query SKL=9900&CMD=Ring&VAR=81615041 -command callbackRing -timeout 15000
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: Current NS: ::
Aug 27 17:32:55 GMT: //11
rwtwtatpdhs-01#6414//PACK:/tcl_httpiosGeturlObjCmd: URL:  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd:  ::httpios::geturl  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe -query SKL=9900&CMD=WAIT&VAR=5064 -command callback3 -timeout 6000
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: Current NS: ::
Aug 27 17:32:55 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: URL:  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
Aug 27 17:32:56 GMT: //-1//PACK:/httpios_http_posthead_cb:
Aug 27 17:32:56 GMT: httpios_http_posthead_cb: status: 200
Aug 27 17:32:56 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: ret_status(0)
Aug 27 17:32:56 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: MODULE HANDLE: :: 0x00000000
Aug 27 17:32:56 GMT: //116414//PACK:/tcl_httpiosDataObjCmd:  ::httpios::data ::httpios::httpios_388
Aug 27 17:32:56 GMT: //116414//TCL :/tcl_LegObjCmd:  leg setup 5074 callInfo leg_incoming
Aug 27 17:32:56 GMT: //116414//AFW_:/vtd_lg_incoming: argc 4
Aug 27 17:32:56 GM
rwtwtatpdhs-01#T: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:32:56 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:32:56 GMT: //-1//CSPK:/tclSetCallInfoParams: originationNum=81615041
Aug 27 17:32:56 GMT: //-1//CSPK:/tclSetControlParams: alertTime(10) = 10
Aug 27 17:32:56 GMT: //-1//PACK:/httpios_http_posthead_cb:
Aug 27 17:32:56 GMT: httpios_http_posthead_cb: status: 200
Aug 27 17:32:56 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: ret_status(0)
Aug 27 17:32:56 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: MODULE HANDLE: :: 0x00000000
rwtwtatpdhs-01#
Aug 27 17:33:06 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get evt_status
Aug 27 17:33:06 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get evt_status
Aug 27 17:33:06 GMT: //116414//AFW_:/vtr_ev_status: argc 2 argindex 2
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD CALL VAR 5074
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD WAIT VAR 5074
Aug 27 17:33:06 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get leg_dnis
Aug 27 17:33:06 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get leg_dnis
Aug 27 17:33:06 GMT: //116414//AFW_:/vtr_lg_dnis: argc 2 argindex 2
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD Ring VAR 81615041
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd:  ::httpios::geturl  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe -query SKL=9900&CMD=Ring&VAR=81615041 -command callbackRing -timeout 15000
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: Current NS: ::
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: URL:  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd:  ::httpios::geturl  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
rwtwtatpdhs-01#-query SKL=9900&CMD=WAIT&VAR=5074 -command callback3 -timeout 6000
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: Current NS: ::
Aug 27 17:33:06 GMT: //116414//PACK:/tcl_httpiosGeturlObjCmd: URL:  http://10.63.106.119/Cisco_ACD/CiscoACD_Gateway.exe
Aug 27 17:33:07 GMT: //-1//PACK:/httpios_http_posthead_cb:
Aug 27 17:33:07 GMT: httpios_http_posthead_cb: status: 200
Aug 27 17:33:07 GMT: //-1//PACK:/httpios_http_posthead_cb:
Aug 27 17:33:07 GMT: httpios_http_posthead_cb: status: 200
Aug 27 17:33:07 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: ret_status(0)
Aug 27 17:33:07 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: MODULE HANDLE: :: 0x00000000
Aug 27 17:33:07 GMT: //116414//PACK:/tcl_httpiosDataObjCmd:  ::httpios::data ::httpios::httpios_390
Aug 27 17:33:07 GMT: //116414//TCL :/tcl_LegObjCmd:  leg setup 5084 callInfo leg_incoming
Aug 27 17:33:07 GMT: //116414//AFW_:/vtd_lg_incoming: argc 4
Aug 27 17:33:07 GMT: //116414//AFW_:/vtd_lg_incoming: Legs [116414 ]
Aug 27 17:33:07 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 27 17:33:07 GMT: //-1//CSPK:/tclSetCallInfoParams: originationNum=81615041
Aug 27 17:33:07 GMT: //-1//CSPK:/tclSetControlParams: alertTime(10) = 10
Aug 27 17:33:07 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: ret_status(0)
rwtwtatpdhs-01#
Aug 27 17:33:07 GMT: //116414//PACK:/tclhttp_handle_httpcb_event: MODULE HANDLE: :: 0x00000000
rwtwtatpdhs-01#
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_InfotagObjCmd:  infotag get evt_status
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_InfotagGetObjCmd: infotag get evt_status
Aug 27 17:33:09 GMT: //116414//AFW_:/vtr_ev_status: argc 2 argindex 2
Aug 27 17:33:09 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD CALL VAR 5084
Aug 27 17:33:09 GMT: //116414//PACK:/tcl_httpiosFormatQueryObjCmd:  ::httpios::formatQuery SKL 9900 CMD WAIT VAR 5084
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_HandoffObjCmd:  handoff appl leg_all default
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_handoff_common: appl leg_all default
rwtwtatpdhs-01#
Aug 27 17:33:09 GMT: //116414//AFW_:/vtd_lg_all: argc 3
Aug 27 17:33:09 GMT: //116414//AFW_:/vtd_lg_all: Legs [116418 116414 ]
Aug 27 17:33:09 GMT: //116414//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=2
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_handoff_common: Handing off Legs [116418 116414 ] to default with args=
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_CallObjCmd:  call close
Aug 27 17:33:09 GMT: //116414//TCL :/tcl_CallCloseObjCmd:  close
 
 
 
 
 
 
 

Subject: RE: Transfer by TCL
Replied by: Killer Jian on 01-09-2010 08:41:01 AM
as for script , I think there's no bug under it
 
I can't log the debug mgcp since too many infomation that I can't recognize which section is what I need
 
and this is a part of script below:
 
 
leg setup $dnis callInfo leg_incoming
...
if {($status == "ls_000")} {       
        handoff appl leg_all default
        set token2 [::httpios::geturl $url -query $str_call -command callback2 -timeout 6000]
        call close
    } else {
...
 
 
 
I can't try to dial directly without tcl script because there is no way to set CUCM route pattern which is same to dn up back to gateway in this scenario
 
maybe the ccapi: Default  does't handle this situation?

 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Subject: RE: Transfer by TCL
Replied by: Killer Jian on 01-09-2010 08:53:50 AM
here is my framework:   (voice GW and H.323 GW is the same instance)

1.
~~~            isdn/E1                                MGCP          
PSTN------------------------->GW------------------------> CUCM
~~~                                  TCL<------------------------(route back to GW if sepcific number)
                                                          H.323


2.
TCL dial --------------------------->DN register under CUCM


3.
Setup the call after agent answer and throw call leg to default


Thanks so much
 

Subject: RE: Transfer by TCL
Replied by: Raghavendra Gutty Veeranagappa on 01-09-2010 10:26:31 AM
Hi Killer jian,
 
Is agenet registered on CUCM or GW ?

if possible please post you Tcl script and running config for further analysis
 
Thanks
Raghavendra

Subject: RE: Transfer by TCL
Replied by: Raghavendra Gutty Veeranagappa on 02-09-2010 08:59:32 AM
Hi Killer jian,
 
Thanks for sharing tcl script and config.
 
Please let us know the IOS Image installed in your Gateway, and also how the call flow is happening from tcl script to dn registered on cucm and the call agent on cucm
 
Thanks
Raghavendra
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links