[Serusers] Trusted Table Format

Juha Heinanen jh at tutpro.com
Fri Aug 12 16:06:44 CEST 2005


sermail writes:

 > I'm getting confused, what is the contents of the trusted table is I am
 > using the allow_trusted function and want to accept INVITES from a
 > particular IP address ?

# Table structure for table trusted
CREATE TABLE trusted (
  src_ip varchar(39) NOT NULL,
  proto varchar(4) NOT NULL,
  from_pattern varchar(64) NOT NULL,
  PRIMARY KEY (src_ip, proto, from_pattern)
) $TABLE_TYPE;

proto can be udp, tcp, tls, sctp, or any and from_pattern is posix
regexp.

-- juha




More information about the sr-users mailing list