[Devel] replacing allow_refer_to with allow_uri

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 17 17:30:04 CEST 2006


sounds ok to me.

regards,
bogdan

Juha Heinanen wrote:

>Bogdan-Andrei Iancu writes:
>
> > if the second param can be whatever pseudo-variable (including avps), 
> > I'm for this change.
>
>yes,  new README says
>
>1.4.6. allow_uri(basename, pseudo-variable)
>
>     * pseudo-variable - Any pseudo-variable defined in OpenSER.
>
>and includes examples:
>
>...
>if (allow_uri("basename", "$rt)) {  // Check Refer-To URI
>        t_relay();
>};
>if (allow_uri("basename", "$avp(i:705)") {  // Check URI stored in $avp
>(i:705)
>        t_relay();
>};
>...
>
>-- juha
>  
>




More information about the Devel mailing list