[Home]

Summary:ASTERISK-21430: [patch] Call ID missing when logging through syslog
Reporter:Nikola Ciprich (nikola.ciprich)Labels:
Date Opened:2013-04-14 23:28:32Date Closed:2013-05-13 16:26:38
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/Logging
Versions:11.4.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:RHEL5Attachments:( 0) asterisk-21430-syslog-callid_trunk.diff
Description:Asterisk 11.x logs call IDs like [C-00000074] which is great feature. However I noticed that those IDs are missing when logging through syslog

*logger.conf*
{noformat}
full => notice,warning,error,debug,verbose:

[Apr  9 09:08:33] VERBOSE[18631][C-00000074] pbx.c:     -- Executing [35@internal:1] Goto("SCCP/14-0000000a", "internal_phones,35,1") in new sta...
{noformat}

*logger.conf*
{noformat}
syslog.local2 => notice,warning,error,verbose:

Apr  9 09:08:33 firewall asterisk[12730]: VERBOSE[18631]: pbx.c:4641 in pbx_extension_helper:     -- Executing [35@internal_phones:47] Goto("SCCP/...
{noformat}
Comments:By: Michael L. Young (elguero) 2013-04-15 10:34:39.790-0500

Give this patch a try.  It is against trunk but it should apply against 11.  I am not sure if this would be considered a new feature or not... looks to me like it was just an oversight when the CALL-ID stuff was added to the logger.

By: Nikola Ciprich (nikola.ciprich) 2013-04-16 02:25:01.833-0500

Michael, it works flawlessly! thanks!

By: Rusty Newton (rnewton) 2013-05-01 17:13:05.376-0500

Issue didn't get moved out of Feedback so I didn't see this until now. Nikola you must use the Send Back button for us to be alerted.

By: Matt Jordan (mjordan) 2013-05-01 21:33:06.511-0500

I don't think it's a new feature, that seems like a bug to me. Thanks for the fix Michael!

By: Jonathan Rose (jrose) 2013-05-13 12:38:49.832-0500

This looks exactly as I would expect it to. Thanks Michael great job.
And I'm very glad that you appreciate this feature enough to notice when it's missing Nikola. Thanks for the report.

By: Jonathan Rose (jrose) 2013-05-13 12:40:22.106-0500

Ready for you to commit it.