[Serusers] offline v unknown
Steve Blair
blairs at isc.upenn.edu
Fri Aug 26 22:12:51 CEST 2005
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