<font size="2"><span style="font-family: arial,helvetica,sans-serif;">Thanks you to help me,</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">I
use the &#39;send&#39; function to send the whole message from kamailio.cfg to
my management script. So i can parse the message, get the informations
i need.</span><br style="font-family: arial,helvetica,sans-serif;">
<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">I&#39;ve seen the function t_write and i understand how it works but in the given example:<br></span></font>
<pre style="font-family: arial,helvetica,sans-serif;"><font size="2">modparam(&quot;tm&quot;,&quot;tw_append&quot;,&quot;append1:Email=avp[i:12];UA=<b>hdr[User-Agent]</b>&quot;)<br><span style="font-family: arial,helvetica,sans-serif;">modparam(&quot;tm&quot;,&quot;tw_append&quot;,&quot;append2:body=</span><b style="font-family: arial,helvetica,sans-serif;">msg[body]</b><span style="font-family: arial,helvetica,sans-serif;">&quot;)</span><br>

<br><br>where could i find all the variable that i can use ?? because in core-cookbook doc (<a href="http://kamailio.org/dokuwiki/doku.php/core-cookbook:devel" target="_blank">http://kamailio.org/dokuwiki/doku.php/core-cookbook:devel</a>)<br>

<br>i&#39;ve never seen the variable msg[body] or hdr[User-Agent] or variable bind to transaction.<br><br>Regards,<br>Koon<br></font></pre>
<font size="2"><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;">
</font><font size="2">2009/4/1 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br>
</font>
<div><span>- Masquer le texte des messages précédents -</span></div>
<font size="2">Hello,</font>
<div><font size="2"><br><br>
On 04/01/2009 05:08 PM, kévin l&#39;heveder wrote:<br></font>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font size="2">
Hi all!<br><br>
I&#39;d like to use the *t_reply* *MI* *function*, but one of the parameter is *&#39;trans_id&#39;* and i don&#39;t know how to get it?<br><br></font>


</blockquote></div>
<font size="2">
from where do you get the details of the request to reply to?<br><br>
TM exports functions t_write_* that will give the id:<br><a href="http://kamailio.org/docs/modules/1.5.x/tm.html#id2531309" target="_blank">http://kamailio.org/docs/modules/1.5.x/tm.html#id2531309</a><br><br>
Cheers,<br>
Daniel<br></font>


<font size="2" color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a></font>