<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi, Li!<br>
        <br>
        You are right, the exec_avp function cannot be called in the
        onreply route.  I can't find any reason for this, therefore I
        attached you a patch for this.<br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Razvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
      On 09/20/2012 01:06 PM, GTS2010 wrote:<br>
    </div>
    <blockquote
      cite="mid:27d3a931.5f8c.139e2ed912a.Coremail.GTS2010@126.com"
      type="cite">
      <style type="text/css"> <!--@import url(scrollbar.css); --></style>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <style>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </style>
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19298">
      <base target="_blank">
      <div> </div>
      <div> </div>
      <div><font color="#000000" size="3">
          <div><font color="#000000" face="宋体" size="3">Hi:</font></div>
          <div> </div>
          <div><font color="#000000" size="3">I have a question about
              the exec module .</font></div>
          <div><font color="#000000" size="3">I can using the exec_avp()
              to execute an external script for my target in the route .</font></div>
          <div>For example,I can get the $si by senting it to my script:</div>
          <div>   exec_avp("my_script.py $si");</div>
          <div> </div>
          <div><font color="#000000" size="3">Now I want to get some
              informations on the sdp of the 200 ok,(in another word,I
              want to send some information to another of my script) but
              the exec_avp() can not work in the onreply_route block , I
              want to know how to do that?</font></div>
          <div> </div>
          <div><font color="#000000" size="3">Hoping for your help!</font></div>
          <div> </div>
          <div><font color="#000000" size="3">Thanks &amp; Regards!</font></div>
          <div> </div>
          <div><font color="#000000" size="3">Li Peng beijing China</font></div>
        </font></div>
      <div> </div>
      <div align="left"><font color="#c0c0c0" face="Verdana" size="2">2012-09-20</font></div>
      <font face="Verdana" size="2">
        <hr style="WIDTH: 122px; HEIGHT: 2px" id="SignNameHR" size="2"
          align="left">
      </font>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span
            id="_FlashSignName">GTS2010</span></font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>