Re: [asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?
Changing my logger.conf file, I could get this: I> logger show channels Channel Type StatusConfiguration --- --- /var/log/asterisk/messages File Enabled- NOTICE WARNING ERROR Console Enabled- NOTICE WARNING ERROR /var/log/asterisk/pjsip File Enabled- VERBOSE With this on, I've got PJSIP SIP messages in file /var/log/asterisk/pjsip (great !) but I also have them showing at console (strange !). Thoughts ? 2016-01-18 14:36 GMT+01:00 Olivier : > > > 2016-01-18 13:53 GMT+01:00 Olivier : > >> Hello, >> >> How should I configure Asterisk (13.7.0) to get persistently PJSIP SIP >> messages in a log file and not in console ? >> >> I would expect adding "debug=yes" in pjsip.conf to produce the same >> output as "pjsip set logger on". >> Am I understanding correctly ? >> > > I've got: > > logger show channels > Channel Type StatusConfiguration > --- --- > /var/log/asterisk/messages File Enabled- NOTICE WARNING > ERROR > Console Enabled- NOTICE WARNING > ERROR > /var/log/asterisk/debug File Enabled- DEBUG NOTICE > WARNING ERROR > > > > pjsip show settings > > Global Settings: > > ParameterName : ParameterValue > = > debug : yes > > > > > I expected to have PJSIP's SIP messages logged to /var/log/asterisk/debug > file and not find them in console. > I'm seeing the opposite (no SIP message in debug file and console > cluttered with SIP messages). > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?
2016-01-18 13:53 GMT+01:00 Olivier : > Hello, > > How should I configure Asterisk (13.7.0) to get persistently PJSIP SIP > messages in a log file and not in console ? > > I would expect adding "debug=yes" in pjsip.conf to produce the same output > as "pjsip set logger on". > Am I understanding correctly ? > I've got: > logger show channels Channel Type StatusConfiguration --- --- /var/log/asterisk/messages File Enabled- NOTICE WARNING ERROR Console Enabled- NOTICE WARNING ERROR /var/log/asterisk/debug File Enabled- DEBUG NOTICE WARNING ERROR > pjsip show settings Global Settings: ParameterName : ParameterValue = debug : yes I expected to have PJSIP's SIP messages logged to /var/log/asterisk/debug file and not find them in console. I'm seeing the opposite (no SIP message in debug file and console cluttered with SIP messages). -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?
Hello, How should I configure Asterisk (13.7.0) to get persistently PJSIP SIP messages in a log file and not in console ? I would expect adding "debug=yes" in pjsip.conf to produce the same output as "pjsip set logger on". Am I understanding correctly ? Best regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users