Thank you much !!
--- Java Rockx <javarockx(a)gmail.com> wrote:
Sorry all for the repost but the listserv scrubbed
my attachment. Here it is
again.
P
# ------------- Initial global variables
debug=3
fork=yes
log_stderror=no
listen=10.3.0.221 <http://10.3.0.221>
port=5060
children=4
server_signature=no
# hostname matching an alias will satisfy the
condition uri==myself"
alias=sip.mycompany.com <http://sip.mycompany.com>
# dns - Uses dns to check if it is necessary to add
a "received=" field
# to a via. Default is no.
# rev_dns - Same as dns but use reverse DNS.
dns=no
rev_dns=no
# check_via - Turn on or off Via host checking when
forwarding replies.
# Default is no. arcane. looks for discrepancy
between name and
# ip address when forwarding replies.
check_via=no
# syn_branch - Shall the server use stateful synonym
branches? It is
# faster but not reboot-safe. Default is yes.
syn_branch=yes
# memlog - Debugging level for final memory
statistics report. Default
# is L_DBG -- memory statistics are dumped only if
debug is set high.
memlog=1000
# sip_warning - Should replies include extensive
warnings?
# By default yes, it is good for trouble-shooting.
sip_warning=no
# fifo - FIFO special file pathname
fifo_mode=0666
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser@localhost/ser"
# reply_to_via - A hint to reply modules whether
they should send reply
# to IP advertised in Via. Turned off by default,
which means that
# replies are sent to IP address from which requests
came.
reply_to_via=no
# user | uid - uid to be used by the server. 99 =
nobody.
#uid="nobody"
# group | gid - gid to be used by the server. 99 =
nobody.
#gid="nobody"
# mhomed -- enable calculation of outbound
interface.
# useful on multihomed servers.
mhomed=0
# ------------- external module loading
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/group.so"
loadmodule "/usr/local/lib/ser/modules/print.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule
"/usr/local/lib/ser/modules/mediaproxy.so"
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/uri.so"
loadmodule "/usr/local/lib/ser/modules/uri_db.so"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/speeddial.so"
loadmodule "/usr/local/lib/ser/modules/options.so"
loadmodule "/usr/local/lib/ser/modules/avpops.so"
loadmodule
"/usr/local/lib/ser/modules/permissions.so"
loadmodule "/usr/local/lib/ser/modules/xdz_tools.so"
# ------------ nathelper settings
modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 0)
# ------------ media proxy settings
modparam("mediaproxy", "natping_interval", 30)
modparam("mediaproxy", "mediaproxy_socket",
"/var/run/mediaproxy.sock")
modparam("mediaproxy", "sip_asymmetrics",
"/usr/local/etc/ser/sip-asymmetric-clients")
modparam("mediaproxy", "rtp_asymmetrics",
"/usr/local/etc/ser/rtp-asymmetric-clients")
# ------------- db_url setting
modparam("acc|auth_db|domain|group|lcr|permissions|speeddial|uri_db|usrloc|xdz_tools",
"db_url",
"mysql://ser@localhost/ser")
# ------------- use_domain setting
modparam("auth_db|group|registrar|speeddial|uri_db|usrloc",
"use_domain", 0)
# ------------- permissions settings
modparam("permissions", "db_mode", 1)
modparam("permissions", "trusted_table", "trusted")
# ------------- accounting parameters
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 1)
modparam("acc", "log_fmt", "cdfimorstup")
modparam("acc", "log_level", 1)
modparam("acc", "failed_transactions", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "report_ack", 0)
# allows clear text passwords in the mysql database
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("auth_db", "avps_column_int", "domn")
modparam("auth_db", "avps_column_str", "uuid")
# ------------- domain parameters
modparam("domain", "db_mode", 1)
# ------------- registration parameters
modparam("registrar", "nat_flag", 6)
modparam("registrar", "min_expires", 300)
modparam("registrar", "max_expires", 3600)
modparam("registrar", "default_expires", 600)
modparam("registrar", "default_q", 100)
modparam("registrar", "desc_time_order", 1)
modparam("registrar", "append_branches", 0)
# ------------- rr parameters
modparam("rr", "enable_full_lr", 0)
# ------------- tm parameters
modparam("tm", "fr_timer", 22)
modparam("tm", "fr_inv_timer", 27)
modparam("tm", "wt_timer", 10)
modparam("tm", "fr_inv_timer_avp", "inv_timeout")
# ------------- usrloc parameters
modparam("usrloc", "db_mode", 1)
modparam("usrloc", "timer_interval", 30)
modparam("usrloc", "desc_time_order", 1)
# -------------- AVPOPS parameters
modparam("avpops", "avp_url",
"mysql://ser@localhost/ser")
modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "avp_aliases", "voicemail=i:500")
route {
#
------------------------------------------------------------------------
# Sanity Check Section
#
------------------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
log(1, "LOOP DETECTED");
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
log(1, "MESSAGE OVERFLOW");
sl_send_reply("513", "Message Too Large");
break;
};
#
------------------------------------------------------------------------
# Click2Dial Test
#
------------------------------------------------------------------------
if (src_ip==myself && (search("^From:
<sip:700@") ||
search("^To:
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com