#
# $Id$
#
# iptel.org real world configuration
#

# ----------- global configuration parameters ------------------------

debug=3
fork=no
#children=2
log_stderror=yes	# (cmd line: -E)
check_via=yes     # (cmd. line: -v)
dns=0           # (cmd. line: -r)
rev_dns=0      # (cmd. line: -R)
port=5088
reply_to_via=no

# advertise IP address in Via (as opposed to advertising DNS name
# which is annoying for downstream servers and some phones can
# not handle DNS at all)
listen=195.37.77.100

# ------------------ module loading ----------------------------------

loadmodule "../sip_router/modules/sl/sl.so"
loadmodule "../sip_router/modules/print/print.so"

# ----------------- setting module-specific parameters ---------------


# -------------------------  request routing logic -------------------

# main routing logic

route{
	if (method=="CANCEL") {
		sl_send_reply("200", "glad to cancel");
		break;
	};
	sl_send_reply("180", "Jinggle Bells");
}

