[OpenSIPS-Users] help using domainpolicy in opensip.

truong ngoc THANH ngoc217thanh at yahoo.com
Mon Aug 16 08:21:17 CEST 2010


dear all,
i read the domainpolicy module and i try to use it. my configure add as:

loadmodule "domainpolicy.so"

modparam("domainpolicy", "db_url", 
 "mysql://openser:openserrw <at> localhost/kamailio")
 modparam("domainpolicy", "dp_table", "supportedpolicies")
 modparam("domainpolicy", "dp_col_rule", "rules")
 modparam("domainpolicy", "dp_col_type", "type")
 modparam("domainpolicy", "dp_col_att", "att")
 modparam("domainpolicy", "dp_col_val", "val")
 modparam("domainpolicy", "port_override_avp", "portoverride")
 modparam("domainpolicy", "transport_override_avp", "transportoverride")
 modparam("domainpolicy", "domain_replacement_avp", "domainreplacement")
 modparam("domainpolicy", "domain_prefix_avp", "domainprefix")
 modparam("domainpolicy", "domain_suffix_avp", "domainsuffix")
 modparam("domainpolicy", "send_socket_avp", "sendsocket")

when i insert entry in  supportedpolicies ,i use att(attribute colum) as 
domainreplacement.
please help me to use more attribute.
thanks for help
TRUONG NGOC THANH
Telecommunications Engineer
Tel: 0984 480 646
Y!M: ngoc217thanh



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100815/9586a19e/attachment.htm 


More information about the Users mailing list