Hi All.  If I want to have a variable set in the route block and available
to the failure route, which would be the appropriate way to do so?  An
AVP?  Or is there a better way?

For example:

route
{

 #do something
route(DO_INVITE)

}

route [DO_INVITE]
{

#set variable
$var(x) = 123456;
t_on_failure("IT_FAILED");

}

failure_route [IT_FAILED]
{

xlog("L_INFO", "Variable X = $var(x));

}

Any guidance is appreciated.

Thank you,
Alex
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to