<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Determining display_name or number of person who has picked up the phone</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7040381" />
  <subtitle>Determining display_name or number of person who has picked up the phone</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7040381</id>
  <updated>2013-05-24T18:09:09Z</updated>
  <dc:date>2013-05-24T18:09:09Z</dc:date>
  <entry>
    <title>RE: Determining display_name or number of person who has picked up the phon</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7065496" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7065496</id>
    <updated>2012-09-25T17:22:50Z</updated>
    <published>2012-09-25T17:22:50Z</published>
    <summary type="html">[quote=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:
 
[i]set outgoing [infotag get 
leg_outgoing][/i]
[i]set dst [infotag get leg_dnis 
$outgoing][/i]
 
but to no avail
 
meanwhile I have tried the following code
 
[i]set LegID [infotag get 
evt_legs][/i]
 
when I output the LegID it shows incoming and outgoing legs with a space 
between them.[/quote]
 
 
I don't think we can do that. The legID you refer to is for Tcl application communicate  with IOS not getting from CUCM</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-09-25T17:22:50Z</dc:date>
  </entry>
  <entry>
    <title>Determining display_name or number of person who has picked up the phone</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7040380" />
    <author>
      <name>Sara Afghan</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7040380</id>
    <updated>2012-09-25T07:28:30Z</updated>
    <published>2012-09-25T07:28:30Z</published>
    <summary type="html">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:
 
[i]set outgoing [infotag get 
leg_outgoing][/i]
[i]set dst [infotag get leg_dnis 
$outgoing][/i]
 
but to no avail
 
meanwhile I have tried the following code
 
[i]set LegID [infotag get 
evt_legs][/i]
 
when I output the LegID it shows incoming and outgoing legs with a space 
between them.</summary>
    <dc:creator>Sara Afghan</dc:creator>
    <dc:date>2012-09-25T07:28:30Z</dc:date>
  </entry>
</feed>

