cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
147
Views
0
Helpful
0
Replies
Highlighted
Beginner

use cvp_gwxfer.tcl ,get an error

 

cvp_gwxfer.tcl.   when execute line "leg vxmldialog vxml_leg" ,the log shows that Invalid Leg ID, but from log, the vxml_leg id is 30, I don't know why the system shows invalid leg id

code :

puts "\n **********************GetTransfer_Number*************************"

# get transfer number from transfer url
puts "\n vxml_leg $vxml_leg"

puts -nonewline "\n CVP_GWXFER, the transfer url is $transfer_number_url"
puts -nonewline "\n CVP_GWXFER, do vxmldialog VxmlGetTransferNumber"

leg vxmldialog vxml_leg -u $baseURI -v $VxmlGetTransferNumber -p token


log:

*Sep 17 12:13:38.567: //30//TCL :/tcl_PutsObjCmd: CVP_GWXFER, assumed control of call with argument: <dn=902050 ui=http://183.131.109.161:9006/art/getArtCallerNum?productId=849&callId=4500863951 ti=30 cg=95048099 rs=true wt=0 t1=100 t0=100 dm=true rc=true callid=4500863951 jobid=4500826704>
*Sep 17 12:13:38.567: //30//TCL :/tcl_PutsObjCmd:
**********************GetTransfer_Number*************************
*Sep 17 12:13:38.567:
*Sep 17 12:13:38.567: //30//TCL :/tcl_PutsObjCmd:
vxml_leg 30

*Sep 17 12:13:38.567:
*Sep 17 12:13:38.567: //30//TCL :/tcl_PutsObjCmd:
CVP_GWXFER, the transfer url is http://183.131.109.161:9006/art/getArtCallerNum?productId=849&callId=4500863951
*Sep 17 12:13:38.567: //30//TCL :/tcl_PutsObjCmd:
CVP_GWXFER, do vxmldialog VxmlGetTransferNumber
*Sep 17 12:13:38.567: //30//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERROR
*Sep 17 12:13:38.567: TCL script failure
Result:
expected integer but got "vxml_leg"Invalid Leg ID in List: vxml_legIllegal Info Tag or not a Leg List: vxml_leg
*Sep 17 12:13:38.567: TCL script failure errorInfo:
expected integer but got "vxml_leg"Invalid Leg ID in List: vxml_legIllegal Info Tag or not a Leg List: vxml_leg
while executing
"leg vxmldialog vxml_leg -u $baseURI -v $VxmlGetTransferNumber -p token"
(procedure "handoff_event" line 103)
invoked from within
"handoff_event"
*Sep 17 12:13:38.619: //29//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERROR
*Sep 17 12:13:38.619: TCL script failure

Everyone's tags (1)
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards