Revision
16489
Author
mikej
Date
2010-01-23 14:35:40 -0600 (Sat, 23 Jan 2010)

Log Message

sick of people emailing us asking why we are voice spamming them.  How do people deliver this in caller id to regular telco lines?

Modified Paths

Diff

Modified: freeswitch/trunk/src/include/switch_types.h (16488 => 16489)


--- freeswitch/trunk/src/include/switch_types.h	2010-01-23 20:19:18 UTC (rev 16488)
+++ freeswitch/trunk/src/include/switch_types.h	2010-01-23 20:35:40 UTC (rev 16489)
@@ -102,6 +102,7 @@
 #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

Modified: freeswitch/trunk/src/switch_caller.c (16488 => 16489)


--- freeswitch/trunk/src/switch_caller.c	2010-01-23 20:19:18 UTC (rev 16488)
+++ freeswitch/trunk/src/switch_caller.c	2010-01-23 20:35:40 UTC (rev 16489)
@@ -58,7 +58,7 @@
 	}
 
 	if (zstr(caller_id_name)) {
-		caller_id_name = "FreeSWITCH";
+		caller_id_name = SWITCH_DEFAULT_CLID_NAME;
 	}
 
 	if (zstr(caller_id_number)) {

Modified: freeswitch/trunk/src/switch_ivr_originate.c (16488 => 16489)


--- freeswitch/trunk/src/switch_ivr_originate.c	2010-01-23 20:19:18 UTC (rev 16488)
+++ freeswitch/trunk/src/switch_ivr_originate.c	2010-01-23 20:35:40 UTC (rev 16489)
@@ -2287,7 +2287,7 @@
 						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";