<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 'send' 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'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("tm","tw_append","append1:Email=avp[i:12];UA=<b>hdr[User-Agent]</b>")<br><span style="font-family: arial,helvetica,sans-serif;">modparam("tm","tw_append","append2:body=</span><b style="font-family: arial,helvetica,sans-serif;">msg[body]</b><span style="font-family: arial,helvetica,sans-serif;">")</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'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"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></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'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'd like to use the *t_reply* *MI* *function*, but one of the parameter is *'trans_id'* and i don'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>