Hi Nils!
Le mar 18/02/2003 à 16:03, Nils Ohlmeier a écrit :
On Tuesday 18 February 2003 15:57, Sebastien Pierre wrote:
I was just wondering (did not find in User or Dev guide) where to get the result of SER "log" action... I have written a fake SIP UA that
syslog (probably /var/log/messages) if log_stderror=no, otherwise stderr (your console).
I thought I did not install syslog with root privileges, so I did not look in the *obvious* file! Anyway, I put a "log_sterror=yes" line at the beginning of my SER configuration script, but SER keeps outputting on /var/log/messages and not on STDERR... what did I do wrong ?
sends SIP messages written in a file to test custom SER configurations, but I don't know if SER properly receives my messages or executes my routing program. Any advices ?
Congratulation for reinventing the wheel -> http://sipsak.berlios.de :-)
I know about it but...
sipsak -s sip:alice@localhost
error: this FQDN or IP is not valid: frwed00304
I'm still puzzled about this FQDN and my hostname... and I could not resist making a 20 lines Python script to get SER tested ;)
-- Seb
Hi Sebastien,
On Tuesday 18 February 2003 16:40, Sebastien Pierre wrote:
Le mar 18/02/2003 à 16:03, Nils Ohlmeier a écrit :
syslog (probably /var/log/messages) if log_stderror=no, otherwise stderr (your console).
I thought I did not install syslog with root privileges, so I did not look in the *obvious* file! Anyway, I put a "log_sterror=yes" line at the beginning of my SER configuration script, but SER keeps outputting on /var/log/messages and not on STDERR... what did I do wrong ?
Hard to say without seeing the config file. But '-E' as command line parameter should work and will overwrite any value in your config file.
Congratulation for reinventing the wheel -> http://sipsak.berlios.de :-)
I know about it but...
sipsak -s sip:alice@localhost
error: this FQDN or IP is not valid: frwed00304
I'm still puzzled about this FQDN and my hostname... and I could not resist making a 20 lines Python script to get SER tested ;)
I see. Because this is a common problem i will probably introduce a new option to sipsak.
Regards Nils Ohlmeier
On Feb 18, 2003 at 16:56, Nils Ohlmeier nils@ohlmeier.de wrote: Content-Description: signed data
Hi Sebastien,
On Tuesday 18 February 2003 16:40, Sebastien Pierre wrote:
Le mar 18/02/2003 ?? 16:03, Nils Ohlmeier a ??crit :
syslog (probably /var/log/messages) if log_stderror=no, otherwise stderr (your console).
I thought I did not install syslog with root privileges, so I did not look in the *obvious* file! Anyway, I put a "log_sterror=yes" line at the beginning of my SER configuration script, but SER keeps outputting on /var/log/messages and not on STDERR... what did I do wrong ?
Hard to say without seeing the config file. But '-E' as command line parameter should work and will overwrite any value in your config file.
No, the options in the config file take precedence over the command line. So if logstderror=no is in the config file you cannot override it from the command line. I know it should be the other way arround (this thing is on my TODO list for a long time).
Andrei
At 04:40 PM 2/18/2003, Sebastien Pierre wrote:
syslog (probably /var/log/messages) if log_stderror=no, otherwise stderr (your
[...]
Anyway, I put a "log_sterror=yes" line at the beginning of my SER configuration script, but SER keeps outputting on /var/log/messages and not on STDERR... what did I do wrong ?
s/log_sterror/log_stderror
-jiri
On Feb 18, 2003 at 16:40, Sebastien Pierre sebastien.pierre@sxb.bsf.alcatel.fr wrote:
Hi Nils!
Le mar 18/02/2003 ?? 16:03, Nils Ohlmeier a ??crit :
On Tuesday 18 February 2003 15:57, Sebastien Pierre wrote:
I was just wondering (did not find in User or Dev guide) where to get the result of SER "log" action... I have written a fake SIP UA that
syslog (probably /var/log/messages) if log_stderror=no, otherwise stderr (your console).
I thought I did not install syslog with root privileges, so I did not look in the *obvious* file! Anyway, I put a "log_sterror=yes" line at the beginning of my SER configuration script, but SER keeps outputting on /var/log/messages and not on STDERR... what did I do wrong ?
Maybe you have another line with log_stderror=no somewhere else in the config file.
Andrei