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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Mar 24 11:17:31 CET 2006


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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the sr-users mailing list