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

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to