[Serusers] offline v unknown

Kevin Brennan kevin.brennan at redsquared.com
Fri Aug 26 23:19:05 CEST 2005


ser doesn't like lookup on subscribers table even with contact field 
added, it must need an identical table to aliases/location.
Br /Kev

Steve Blair wrote:
> 
> 
> 
> Kevin Brennan wrote:
> 
>> Does anybody have any tips on solving the following
>>
>> I want to differenciate between offline users and unknown users. When 
>> you use lookup("location") there is no differenciation between the two.
>>
>> Does this require uri_db ?
>>
>> Using 0.8.14
>>
> 
> I'm about to try the following. I'd appreciate any input on this 
> approach that others might have.
> 
> -Steve
> 
>     # Offline user
>     if (lookup("subscriber")) {
>        if (!registered("location")) {
>           xlog("L_INFO", "\n[SER]: OFFLINE: Subscriber is offline. Go to 
> voicemail. Time: [%Tf] \n");
>           route(6);
>        };
>     };
> 
>> Br /Kevin
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list