cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11

Subject: RE: Call ID information
Replied by: Yaw-Ming Chen on 19-03-2013 12:44:54 PM
Don't know what you mean -- show the "call ID" --  and show to who ?
if you just need to print it out on debug using puts command you can use "infotag get leg_guid "
 to get that string.
 
Thanks !
This document was generated from CDN thread

Created by: Jean Lofrano on 19-03-2013 12:04:20 PM
Hi team,   The call-ID is called "call identifier". I must be a unique string that identifies a call. Can I show the "call ID" of the each call via Tcl script? like this:   proc ActionPlayWelcome { } {     puts "IT7: playing audio Welcome"     global WelcomePrompt     global CallID       leg setupack leg_incoming     leg proceeding leg_incoming     leg connect leg_incoming     set CallID [infotag get evt_proto_headers “CallID”]     puts "CallID is $CallID"     media play leg_incoming $WelcomePrompt     puts " Audio played Welcome" }   thanks.

Subject: RE: Call ID information
Replied by: Jean Lofrano on 19-03-2013 02:10:39 PM
Hey Yaw,
 
Show on debug...

You have already answered my doubt with leg_guid.
 
thanks.

Subject: RE: Call ID information
Replied by: Jean Lofrano on 26-03-2013 09:38:21 AM
Hi Yaw,
I´ve been looking for the "call ID" of call.
I´ve found the follow topic in the book: TCL IVR Version 1 programming guide.

The callID command is used for debugging purposes only. It can be used in problem determination
for a particular call. This command returns the call ID (which is used in the IOS debug messages) of
the incoming or outgoing call leg. This call ID has no meaning outside the router that is handling the
call.
Syntax
callID

But, I´m working with a IOS 15.0(1r)M9. 
The call ID is a incremental number like this: 17050, 17051... But with the command "infotag get leg_guid" I´m receiving something like this: 00C0C742.3199D211.8B019F3B.3BB84202
 
Are there possibilities to convert the number 00C0C742.3199D211.8B019F3B.3BB84202 to 17050... ?
 
thanks.
 

Subject: RE: Call ID information
Replied by: Yaw-Ming Chen on 26-03-2013 01:56:55 PM
If you like to refer to programming guide please use version 2
http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2.html
version 1 is really out of date.
 
The incremental number you refer to I think is sequence number you see in debug output like:
Mar 26 17:58:49.765: //891//TCL :/tcl_CallCloseObjCmd:  close
Mar 26 17:59:47.630: //900//TCL :/tcl_PutsObjCmd: proc act_Setup
The guid is the same as we see in SIP call-id.  The one you mentioned is no loner used in version2
Thanks !

 
 
 
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