<?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>How to access Call-ID after doing a leg_setup</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10956614" />
  <subtitle>How to access Call-ID after doing a leg_setup</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10956614</id>
  <updated>2013-05-26T08:41:23Z</updated>
  <dc:date>2013-05-26T08:41:23Z</dc:date>
  <entry>
    <title>RE: How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10999693" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10999693</id>
    <updated>2013-01-22T18:27:07Z</updated>
    <published>2013-01-22T18:27:07Z</published>
    <summary type="html">Just curious, did you get the following error on IOS ?
%CALL_CONTROL-6-CALL_LOOP: The incoming call has a global identifier already present in the list of currently handled calls. It is being refused.
 
or 500 Internal error on SIP ?
 
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-01-22T18:27:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10998961" />
    <author>
      <name>Adolfo Arizpe</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10998961</id>
    <updated>2013-01-22T18:02:26Z</updated>
    <published>2013-01-22T18:02:26Z</published>
    <summary type="html">Yaw-Ming,
 
 using 
  [color=#525252]'set callinfo(newguid) "true"'[/color]
[color=#525252]solved our problems! Thanks for your help![/color]</summary>
    <dc:creator>Adolfo Arizpe</dc:creator>
    <dc:date>2013-01-22T18:02:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10991562" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10991562</id>
    <updated>2013-01-22T16:59:04Z</updated>
    <published>2013-01-22T16:59:04Z</published>
    <summary type="html">[quote=Adolfo Arizpe]Yaw-Ming,
 
 thanks for your help. A couple of questions:
1.- Isn't the ev_setup_indication event only called for incoming calls? If so, I won't be able to get the outgoing call-id.
 [color=#008000]Usually call-id is unique for one call.[/color]
2.- I don't see any references to "set callid" in the programming guide.
[color=#008000]command is [infotag get leg_incoming_guid], 'callid' is the varibale you can set it to anything else[/color]
 
thanks again[/quote]</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-01-22T16:59:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10987867" />
    <author>
      <name>Adolfo Arizpe</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10987867</id>
    <updated>2013-01-22T16:02:00Z</updated>
    <published>2013-01-22T16:02:00Z</published>
    <summary type="html">Yaw-Ming,
 
 thanks for your help. A couple of questions:
1.- Isn't the ev_setup_indication event only called for incoming calls? If so, I won't be able to get the outgoing call-id.
 
2.- I don't see any references to "set callid" in the programming guide.
 
thanks again</summary>
    <dc:creator>Adolfo Arizpe</dc:creator>
    <dc:date>2013-01-22T16:02:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10964662" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10964662</id>
    <updated>2013-01-22T01:20:44Z</updated>
    <published>2013-01-22T01:18:47Z</published>
    <summary type="html">Unless you do 'set callinfo(newguid) "true"  ', call-id will be the same so I will try   1. set callid [infotag get leg_incoming_guid] please refer to programming guide. 2. If you want to get it from header try infotag get evt_proto_headers Call-ID    
Get this when you get "ev_setup_indication" event</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-01-22T01:18:47Z</dc:date>
  </entry>
  <entry>
    <title>How to access Call-ID after doing a leg_setup</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10956613" />
    <author>
      <name>Adolfo Arizpe</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10956613</id>
    <updated>2013-01-21T19:59:17Z</updated>
    <published>2013-01-21T19:56:13Z</published>
    <summary type="html">I need to find the "Call-ID" of an outgoing leg.
If I call the following code, which is correct according to the manual:    
   # at some point in my code I place an outoing call     
   leg setup $my_destination callInfo leg_incoming      
   # later in the code, I need to retrieve call-id to match cdrs with a vendor     
   set call_id [infotag get leg_proto_headers "Call-ID" leg_outgoing]
error:  
   expected integer but got "leg_outgoing"CallID leg_outgoing was not an Incoming Leg  
 
what am I doing wrong?   thank you</summary>
    <dc:creator>Adolfo Arizpe</dc:creator>
    <dc:date>2013-01-21T19:56:13Z</dc:date>
  </entry>
</feed>

