提交 4ae072d5 authored 作者: Michael Jerris's avatar Michael Jerris

sick of people emailing us asking why we are voice spamming them. How do people…

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
上级 afed0751
......@@ -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
......
......@@ -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)) {
......
......@@ -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";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论