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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to