[SR-Users] Dialog timeout route

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 29 10:58:03 CEST 2010


  Hello,

On 9/29/10 9:54 AM, Alex Balashov wrote:
> Greetings,
>
> Since the move to name-based routes in Kamailio v3.0, what 
> implications does this have for the 'timeout_route' dialog context 
> attribute?  Has this been updated to reflect that change, or do I 
> still have to use numerical routes for it?  Can I now set this as a 
> named constant, e.g.
>
>    $dlg_ctx(timeout_route) = DIALOG_TIMEOUT_ROUTE;
>    ...
>    route[DIALOG_TIMEOUT_ROUTE] {
>       ...
>    }
>
> or is it a string?
>
>    $dlg_ctx(timeout_route) = "DIALOG_TIMEOUT_ROUTE";
you can assign string names. Since you asked, I have to double check if 
a restart affects somehow, because internally is kept the integer index 
associated with. I should update to store the string value in the 
structure as well.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list