[Users] No logging. OpenSER on OpenBSD
Ben Ferguson - backcountry.com
bferguson at backcountry.com
Thu Feb 22 02:51:08 CET 2007
Hmmmm. Interestingly, if i:
#openser -E -dddddddddddddd
I get all sorts of good logging sent to my console:
3(990) version: <SIP/2.0>
3(990) parse_headers: flags=2
3(990) Found param type 232, <branch> = <z9hG4bK40b3.2f0d0803.0>; state=16
3(990) end of header reached, state=5
3(990) parse_headers: Via found, flags=2
3(990) parse_headers: this is the first via
3(990) After parse_msg...
3(990) preparing to run routing scripts...
3(990) parse_headers: flags=8
3(990) DEBUG: add_param: tag=329cfeaa6ded039da25ff8cbb8668bd2.d88a
3(990) DEBUG:parse_to:end of header reached, state=29
3(990) DBUG:parse_to: display={}, ruri={sip:1001 at 192.168.1.105}
3(990) DEBUG: get_hdr_field: <To> [67]; uri=[sip:1001 at 192.168.1.105]
3(990) DEBUG: to body [<sip:1001 at 192.168.1.105>]
3(990) parse_headers: flags=100
3(990) get_hdr_field: cseq <CSeq>: <43365> <ACK>
3(990) DEBUG: get_hdr_body : content_length=0
3(990) found end of header
3(990) DEBUG: is_maxfwd_present: max_forwards header not found!
3(990) DEBUG: add_param: tag=1142574036
3(990) DEBUG:parse_to:end of header reached, state=29
Now just to figure out how to pass the -E and -dddddddd options to openserctl and redirect it to a text file... I may be on to something here that'll work for my setup
-Ben-
----- Original Message -----
From: "Ben Ferguson - backcountry.com" <bferguson at backcountry.com>
To: users at openser.org
Sent: Wednesday, February 21, 2007 5:08:14 PM (GMT-0700) US/Mountain
Subject: [Users] No logging. OpenSER on OpenBSD
I can't get any logging out of openSER for some reason. I've tried using the log_facility setup via /etc/syslog.conf and i still cannot get any output. What am I missing?
Here's the top of my openser.cfg file:
debug=9 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
sip_warning=yes
#log_facility=LOG_LOCAL7
I've tried un-commenting that last line to correspond to my /etc/syslog.conf:
# don't log messages with LOG_LOCAL7 in /var/log/syslog anymore
*.*;auth,authpriv.none,local0.none -/var/log/syslog
#
# log messages with LOG_LOCAL7 in /var/log/ser.log
local7.* -/var/log/ser.log
What am i doing wrong? Any ideas?
Thanks,
Ben
_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list