[Users] add_rr_param() call in branch_route[] block

Christian Schlatter cs at unc.edu
Fri Mar 24 02:15:54 CET 2006


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





More information about the sr-users mailing list