07-31-2004 02:10 AM
To get around a limitation on aaa voice accounting for data calls, I'm trying to write a tcl script which accepts a call, does some action (in my example, play an annoucement and wait it to finish) and then hand over the call to the application data_dialpeer.
I get it disconnected after the annoucement with the following debug log:
Jul 31 09:38:28.065: //375//TCL2:/tcl_handoffCmd: handoff appl leg_incoming data_dialpeer -s
Jul 31 09:38:28.065: //375//TCL2:/tcl_handoffApplCmd:
Jul 31 09:38:28.065: tcl_handoffApplCmd: appl leg_incoming data_dialpeer -s
Jul 31 09:38:28.065: //375//TCL2:/vtd_lg_incoming: argc 4
Jul 31 09:38:28.065: //375//TCL2:/vtd_lg_incoming: Legs [375 ]
Jul 31 09:38:28.065: //375//TCL2:/tcl_parseCallID_vartag: VARTAG Translation Leg Count=1
Jul 31 09:38:28.065: //-1//TCL2:/tcl_handoffApplCmd:
Jul 31 09:38:28.065: Handing off Legs [0x649AA898 ] to data_dialpeer with args=-s
Jul 31 09:38:28.065: //375//APPL:/ah_put_in_the_bag: Bag of Objects: LEG[375 ][TCL_HAND][LEG_INCCONNECTED(5)][Cause(0)][UC=1 ]
Jul 31 09:38:28.069: //-1//APPL:/ah_handoff:
Jul 31 09:38:28.069: //-1//APPL:/ah_handoff: ERROR, GetApp() data_dialpeer failed
Jul 31 09:38:28.069: //375//TCL2:/TclInterpDriver: Tcl_Eval Failed in action=act_MediaDone code=1
code=ERROR
Jul 31 09:38:28.069: IVR TCL script failure
Result:
Handoff Failed
Jul 31 09:38:28.069: IVR TCL script failure errorInfo:
Handoff Failed
while executing
"handoff appl leg_incoming data_dialpeer -s"
(procedure "act_MediaDone" line 7)
invoked from within
"act_MediaDone"
anyone having an idea how to trigger modem/ISDN calls after initial script runs? Another workaround is to enable voice aaa accounting on a data dial-peer but this doesnt seem to exist.
08-06-2004 07:03 AM
For troubleshooting the TCL scripts refer to:
TCL IVR and VoiceXML Applications Overview
Events and Status Codes
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide