lookup("aliases") and the aliases table will translate from the alias to
the real name (address or record, canonical URI, ...).
lookup("aliases");
if (!lookup("location")) {
sl_send_reply("404","Not found");
break;
}
regards
klaus
Nick Hoffman wrote:
Hey guys. How can you configure SER to associate a
particular phone number,
say 12341234, with a particular SIP client/user agent?
The aim is to be able to call them with either john(a)foo.bar or 12341234,
but ensure that SER associates 12341234 with john(a)foo.bar rather than
john(a)foo.bar telling SER "I can be reached at 12341234".
Cheers!
-- Nick
e: nick.hoffman(a)altcall.com
p: +61 7 5591 3588
f: +61 7 5591 6588
If you receive this email by mistake, please notify us and do not make any
use of the email. We do not waive any privilege, confidentiality or
copyright associated with it.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers