]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
sick of people emailing us asking why we are voice spamming them. How do people...
authorMichael Jerris <mike@jerris.com>
Sat, 23 Jan 2010 20:35:40 +0000 (20:35 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 23 Jan 2010 20:35:40 +0000 (20:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16489 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_types.h
src/switch_caller.c
src/switch_ivr_originate.c

index 5f21cd411a1a491be49be5e1b15306205a6bd22d..2b4815837f90836a7ae6ebdc7306c4fc0c5fb157 100644 (file)
@@ -102,6 +102,7 @@ SWITCH_BEGIN_EXTERN_C
 #define SWITCH_SEQ_CLEARLINEEND SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINEEND_CHAR
 #define SWITCH_SEQ_CLEARSCR SWITCH_SEQ_ESC SWITCH_SEQ_CLEARSCR_CHAR SWITCH_SEQ_HOME
 #endif
+#define SWITCH_DEFAULT_CLID_NAME ""
 #define SWITCH_DEFAULT_DTMF_DURATION 2000
 #define SWITCH_MIN_DTMF_DURATION 400
 #define SWITCH_MAX_DTMF_DURATION 192000
index e9e089724f0842f736f85b4c43da090d26f31229..c4263ee919ed76bcfd4eba57897c8f90bed6f5db 100644 (file)
@@ -58,7 +58,7 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
        }
 
        if (zstr(caller_id_name)) {
-               caller_id_name = "FreeSWITCH";
+               caller_id_name = SWITCH_DEFAULT_CLID_NAME;
        }
 
        if (zstr(caller_id_number)) {
index b891fc88aaa96579533974af54c12c31783c7510..1f1a95422930fd73d724df8262eac6dd6c560ce2 100644 (file)
@@ -2287,7 +2287,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                                new_profile->chan_name = SWITCH_BLANK_STRING;
                                        } else {
                                                if (!cid_name_override) {
-                                                       cid_name_override = "FreeSWITCH";
+                                                       cid_name_override = SWITCH_DEFAULT_CLID_NAME;
                                                }
                                                if (!cid_num_override) {
                                                        cid_num_override = "0000000000";