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

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16489 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2010-01-23 20:35:40 +00:00
parent afed075118
commit 4ae072d547
3 changed files with 3 additions and 2 deletions

View 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

View 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)) {

View 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";