<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    On 10/4/10 1:47 PM, Zappasodi Daniele wrote:
    <blockquote
cite="mid:14A9059A37EF9A45BC2520DE64C30F6001BA05D6@slttex002.seltatel.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="MS Exchange Server version
        6.5.7654.12">
      <title>retrieve INVITE transaction in CANCEL</title>
      <!-- Converted from text/rtf format -->
      <p><span lang="en-gb"><font face="Times New Roman">Hello,</font></span>
        <br>
        <span lang="en-gb"><font face="Times New Roman">is it possible
            to retrieve the info related to the INVITE transaction while
            the CANCEL is processed? </font></span>
        <br>
        <span lang="en-gb"><font face="Times New Roman">In particular,
            when the script is handling the CANCEL, how can I get the
            avp values written in the corresponding INVITE transaction?</font></span></p>
    </blockquote>
    you can get attributes of INVITE during CANCEL, but iirc not the
    avps. Accessing INVITE is done via $T_inv(pv) - for example, the
    r-ruri of invite is $T_inv($ru).<br>
    <br>
    An option to share data between different messages is to use hash
    table - in this particular case you can use a key based on
    callid/from-tag.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>