[Serusers] best way to allow outbound calls from multiple SEMS serves
x-ser at sidell.org
x-ser at sidell.org
Sat Jun 14 15:05:44 CEST 2008
Greetings.
In my application, there will be multiple SEMS servers making outbound
(PSTN) calls via a common SER proxy.
In ser-oob.cfg, the following code allows a single gateway to send
invites without authentication:
# Gateways are usually not able to authenticate for their requests.
# You have to trust them base on some other information such as the
# source IP address.
# WARNING: If at all this is only safe in a local network!
if (@src.ip == $gw_ip) {
break;
}
I suppose I could perform the test multiple times, once for each SEMS
server. But, I wonder if there is a nice 2.0-style database-oriented
way to allow invites from multiple trusted sources?
Thanks again.
--
Mark
More information about the sr-users
mailing list