« Back to TCL-API

Determining display_name or number of person who has picked up the phone

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi
I have defined hunt groups in CUCM and connect calls from voice gateway to
these pilot numbers. I want to know who has picked up the phone from that
pilot.
Can you please guide me with correct tcl command?
I have tried the following code:
 
set outgoing [infotag get
leg_outgoing]

set dst [infotag get leg_dnis
$outgoing]

 
but to no avail
 
meanwhile I have tried the following code
 
set LegID [infotag get
evt_legs]

 
when I output the LegID it shows incoming and outgoing legs with a space
between them.

Sara Afghan:
Hi
I have defined hunt groups in CUCM and connect calls from voice gateway to
these pilot numbers. I want to know who has picked up the phone from that
pilot.
Can you please guide me with correct tcl command?
I have tried the following code:
 
set outgoing [infotag get
leg_outgoing]

set dst [infotag get leg_dnis
$outgoing]

 
but to no avail
 
meanwhile I have tried the following code
 
set LegID [infotag get
evt_legs]

 
when I output the LegID it shows incoming and outgoing legs with a space
between them.

 
 
I don't think we can do that. The legID you refer to is for Tcl application communicate  with IOS not getting from CUCM