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:
parent
afed075118
commit
4ae072d547
|
@ -102,6 +102,7 @@ SWITCH_BEGIN_EXTERN_C
|
||||||
#define SWITCH_SEQ_CLEARLINEEND SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINEEND_CHAR
|
#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
|
#define SWITCH_SEQ_CLEARSCR SWITCH_SEQ_ESC SWITCH_SEQ_CLEARSCR_CHAR SWITCH_SEQ_HOME
|
||||||
#endif
|
#endif
|
||||||
|
#define SWITCH_DEFAULT_CLID_NAME ""
|
||||||
#define SWITCH_DEFAULT_DTMF_DURATION 2000
|
#define SWITCH_DEFAULT_DTMF_DURATION 2000
|
||||||
#define SWITCH_MIN_DTMF_DURATION 400
|
#define SWITCH_MIN_DTMF_DURATION 400
|
||||||
#define SWITCH_MAX_DTMF_DURATION 192000
|
#define SWITCH_MAX_DTMF_DURATION 192000
|
||||||
|
|
|
@ -58,7 +58,7 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zstr(caller_id_name)) {
|
if (zstr(caller_id_name)) {
|
||||||
caller_id_name = "FreeSWITCH";
|
caller_id_name = SWITCH_DEFAULT_CLID_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zstr(caller_id_number)) {
|
if (zstr(caller_id_number)) {
|
||||||
|
|
|
@ -2287,7 +2287,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||||
new_profile->chan_name = SWITCH_BLANK_STRING;
|
new_profile->chan_name = SWITCH_BLANK_STRING;
|
||||||
} else {
|
} else {
|
||||||
if (!cid_name_override) {
|
if (!cid_name_override) {
|
||||||
cid_name_override = "FreeSWITCH";
|
cid_name_override = SWITCH_DEFAULT_CLID_NAME;
|
||||||
}
|
}
|
||||||
if (!cid_num_override) {
|
if (!cid_num_override) {
|
||||||
cid_num_override = "0000000000";
|
cid_num_override = "0000000000";
|
||||||
|
|
Loading…
Reference in New Issue