This is my first post to this list, so please bear with me ...
I'm trying to do something like this
branch_route[1] { ... add_rr_param(";nat=true"); ... }
using the RR module with OpenSER 1.0.1. Loading the config results in
openser: parse error (344,32-33): Command cannot be used in the block
I thought that should work, since the add_rr_param() documentation includes "This function can be used from REQUEST_ROUTE, BRANCH_ROUTE and FAILURE_ROUTE".
Thanks for any help, Christian
Hi Christian,
most probably you mixed the doc versions: for openser 1.0.x, look at http://openser.org/docs/modules/1.0.x/rr.html#ADD-RR-PARAM-ID and for 1.1.x at http://openser.org/docs/modules/1.1.x/rr.html#ADD-RR-PARAM-ID
add_rr_param() is supported in all route types only in 1.1.x (cvs head) version.
regards, bogdan
Christian Schlatter wrote:
This is my first post to this list, so please bear with me ...
I'm trying to do something like this
branch_route[1] { ... add_rr_param(";nat=true"); ... }
using the RR module with OpenSER 1.0.1. Loading the config results in
openser: parse error (344,32-33): Command cannot be used in the block
I thought that should work, since the add_rr_param() documentation includes "This function can be used from REQUEST_ROUTE, BRANCH_ROUTE and FAILURE_ROUTE".
Thanks for any help, Christian
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users