Recently I was requested to set up syslog service between a Mediatrix PRI to SIP gateway. The Mediatrix web GUI allows you to send logs to a syslog server; in this case an Asterisk PBX. Asterisk logs just fine to local facility0 by the way.
I enabled the service and set syslog to accept remote connections. Yet, I got nothing. I called a support rep for a vendor that sells these things and he told me that by default Mediatrix logs to local facility7. So I edited the syslog.conf with the IP Address of the Mediatrix and it worked! syslog and rsyslog config files should work the same. I hope this helps.
# Log cron stuff
# Everybody gets emergency messages
# Save news errors of level crit and higher in a special file.
# Save boot messages also to boot.log
#mediatrix IP ADDRESS
Remember a couple things – rsyslog is a newer version of syslog. So you might have a ‘rsyslog.conf’ or a ‘syslog.conf’. Another thing often overlooked is enabling TCP/UDP port 514 and their respective modules. By default remote logging is disabled in Fedora Distros, and likely others for good reason.
#### MODULES ####
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
$ModLoad imklog.so # provides kernel logging support (previously done by rklogd)
$ModLoad immark.so # provides –MARK– message capability
# Provides UDP syslog reception
# Provides TCP syslog reception
In conclusion… Syslog servers are absolutely nesasarry to get Mediatrix SIP/PRI gateways operational with the carrier. They are a solid appliance, but difficult to configure because of all the options. Good luck.