Hi Arian,
dwCallID in TSP consists of CallManager ID and GlobalCallID, you can check the following doc for various scenarios involving TSP and corresponding dwcallid info
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/tapi_dev/9_0_1/tapidevguide/msgsequences.html
HTH
Manish