Kevin Brennan wrote:
This is interesting. I suppose you'd have to add an extra field contact in table 'subscriber' to get a positive result - and of course the value in contact would re-write the uri so you should do it after lookup("location").
Thanks for the note. This will save me the trouble of trying it.
Will give it a try. 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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers