[Users] uri, myself, etc., variables, + is_domain_local()
Mark Price
markprice at gmail.com
Fri Dec 22 16:37:07 CET 2006
Hi,
I've got a few questions:
1. where can I find out what all the variables like uri, myself, etc., mean?
2. how come is_domain_local($ruri) has a different result than uri==myself?
In particular, I have my external IP address defined as an alias. I.e.:
alias=4.2.2.2
When I say if( ! is_domain_local($ruri) ) when $ruri = user at 4.2.2.2, the
check succeeds.
When I say if( ! uri==myself ), the check fails (correctly, I think).
Thanks,
Mark Price
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061222/29d16bee/attachment.htm>
More information about the sr-users
mailing list