|
Why
you don’t use just the source IP address of the request. For example: #
INVITE - Authorization Section if (src_ip=="AAA.BBB.CCC.DDD")
{ xlog("L_INFO",
"INVITE - Message received from authorized IP $si\n"); }
else { if (!proxy_authorize("yourdomain.com","subscriber")) { proxy_challenge("yourdomain.com","0"); exit; }
else if (!check_from()) { sl_send_reply("403",
"Use From=ID"); exit; }; consume_credentials(); }; -----Mensaje original----- greetings,
I have digest and basic auth setup… I am trying to figure
out how to setup IP auth. I have read a lot of
documentation but I can’t seem to find anything to help me understand how
to accomplish this. Can
someone point me in a direction to some information on how to set this up? Brian |
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
