Hi Jeff, Jeff Pyle wrote: >> not sure what you try to do, but maybe you should consider the blacklist >> capability of opensips: >> http://www.opensips.org/Resources/DocsCoreFcn16#toc45 >> >> Regards, >> Bogdan >> > > I'm deciding which calls get an engage_media_proxy(). If they're on my > network (as defined by a group in the address table), I'll proxy them > because I can get the added accounting benefits without causing them any > added latency. If they're not (if the check fails), I won't use MP. > > In this case all the $rd values would have been set by a lookup("location"), > and all those *should* have been populated by registrations. I'll likely > add an ugly regex check to see if $rd looks like an IP address, then do the > check_address() if it does. I'll likely catch 95% or more of them that way. > That's fine. > I guess this is good approach - check if $rd is IP and then check it.
Regards, Bogdan _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
