Thank&#39;s Daniel<br><br><br><div class="gmail_quote">2011/5/24 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div class="im"><br>
<br>
On 5/23/11 3:49 PM, Bruno Bresciani wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I&#39;d like to know the functionality of the struct run_act_ctx. I need to adapt my route module to use this struct, the function do_action require this parameter. I&#39;m migrating of the kamailio 1.5.0 to 3.1.2.<br>
</blockquote></div>
the structure holds some attributes that can be set during execution of the actions, like exit flag and last returned code.<br>
<br>
You should initiate the structure with init_run_actions_ctx() and then execute the actions -- see action.c, function run_top_route(). Also, modules_k/rtimer/ might be good to check since it has the code to execute a route at runtime.<br>

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