[sr-dev] is_gruu() test fails
Juha Heinanen
jh at tutpro.com
Mon May 28 19:06:38 CEST 2012
Juha Heinanen writes:
> i have this piece of config code:
>
> if (is_gruu()) {
> xlog("L_INFO", "Request-URI <$ru> IS gruu\n");
> } else {
> xlog("L_INFO", "Request-URI <$ru> is NOT gruu\n");
> }
>
> and i get this to syslog:
>
> May 28 17:53:07 siika /usr/sbin/sip-proxy[8926]: INFO: Request-URI <sip:jh at test.fi;gr=urn:uuid:f462ab09-88fe-43c6-9c9c-cb570ce6bb99> is NOT gruu
>
> is this a bug or have i misunderstood something?
the above test succeeded when i changed it to:
if (is_gruu($ru)) {
perhaps is_gruu() does not work when $ru has been changed in the script?
-- juha
More information about the sr-dev
mailing list