[OpenSER-Users] is_uri_host_local() returns 1 or 4294967295 (always TRUE !!!)
Daniel-Constantin Mierla
daniel at voice-system.ro
Mon Sep 3 13:48:24 CEST 2007
Hello,
On 09/03/07 14:35, Iñaki Baz Castillo wrote:
> 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. :(
>
have you tried the if() conditions? Don't look at printed value, just
try to use if() conditions.
Cheers,
Daniel
> Maybe I should report it.
>
>
>
>
More information about the Users
mailing list