[OpenSER-Users] is_uri_host_local() returns 1 or 4294967295 (always TRUE !!!)

Iñaki Baz Castillo ibc at in.ilimit.es
Mon Sep 3 13:35:02 CEST 2007


El Monday 03 September 2007 12:55:34 Daniel-Constantin Mierla escribió:
> is_uri_host_local();
> $var(is_uri_host_local) = $retcode;
>
> Some times, because of OpenSER return code schema, negative values are
> converted to -1, positive to 1 (0 is used to signal an exit from config
> script interpretation). In this case might work, but not in all.

In my case it doesn't work:

  is_uri_host_local();
  $var(kk)=$retcode;
  xlog("---- var(kk) = $var(kk)\n");

And it occurs the same, $var(kk) is 1 or 4294967295, so the real problem is 
that "is_uri_host_local()" just return these two values. :(

Maybe I should report it.



-- 
ilimit...


*Iñaki Baz Castillo*
ibc at in.ilimit.es

ÀREA SISTEMES
0034 937 333 375
VOLTA 1, PIS 5
08224 TERRASSA.BCN

Aquest enviament és confidencial i està destinat únicament a la persona a qui 
s'ha enviat.
Pot contenir informació privada sotmesa al secret professional, la distribució 
de la qual està prohibida per la legislació vigent.




More information about the sr-users mailing list