]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Make error message more descriptive, and less antagonistic.
authorMichael Jerris <mike@jerris.com>
Mon, 16 Oct 2006 16:06:44 +0000 (16:06 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 16 Oct 2006 16:06:44 +0000 (16:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3060 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index 617b2427d5c077b7043ac3b557854bb8f44b38af..bc73f8a178852c1e987d9d71d4098211afb58d0b 100644 (file)
@@ -124,7 +124,7 @@ static void privacy_function(switch_core_session_t *session, char *data)
                } else if (!strcasecmp(arg, "number")) {
                        switch_set_flag(caller_profile, SWITCH_CPF_HIDE_NUMBER);
                } else {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID privacy mode specified. Use a valid mode ASSHAT\n");
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID privacy mode specified. Use a valid mode [no|yes|name|full|number].\n");
                }
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Set Privacy to %s [%d]\n", arg, caller_profile->flags);
        }