[asterisk-bugs] [JIRA] (ASTERISK-22591) [patch]Prevent Asterisk from writing received SMS content in log

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Oct 14 15:57:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210929#comment-210929 ] 

Matt Jordan commented on ASTERISK-22591:
----------------------------------------

I don't think patch is the correct approach.

In general, we attempt to avoid compile time options. Compile time options make it difficult for people deploying Asterisk to easily change their configuration, and are generally more obscure than "normal" configuration options. They're typically relegated to developer or debug settings, when used at all.

Historical usage of them for configuration (such as {{app_voicemail}}'s use of them to change storage backends) is *not* something we want to encourage.

This patch should allow for disabling of SMS logging as a parameter passed to the SMS application.
                
> [patch]Prevent Asterisk from writing received SMS content in log
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-22591
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22591
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Applications/app_sms
>    Affects Versions: SVN
>         Environment: Debian 7.1, Kernel 3.2.0-4-686-pae
>            Reporter: Jan Juergens
>            Severity: Minor
>         Attachments: DisableSmsContentLogging.patch
>
>
> To act in accordance with the German privacy laws, we cannot allow Asterisk to write the content of each received SMS into a log file (/var/log/asterisk/sms).
> Since this is the (non-configurable) default behavior, we have added a compile time flag (available in menuconfig) which replaces the content with just the length of the received message, keeping the meta information (time, phone numbers) which we need for debugging purposes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list