[SR-Users] struct run_act_ctx

Bruno Bresciani bruno.bresciani at gmail.com
Tue May 24 20:39:33 CEST 2011


Thank's Daniel


2011/5/24 Daniel-Constantin Mierla <miconda at gmail.com>

> Hello,
>
>
> On 5/23/11 3:49 PM, Bruno Bresciani wrote:
>
>> Hi,
>>
>> I'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'm migrating of the kamailio 1.5.0 to 3.1.2.
>>
> the structure holds some attributes that can be set during execution of the
> actions, like exit flag and last returned code.
>
> 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.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110524/138c9059/attachment.htm>


More information about the sr-users mailing list