FreeSWITCH: Add preprocessor constant for default callerid number

SWITCH_DEFAULT_CLID_NUMBER and replace all occurrences
in the FreeSWITCH codebase.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
Stefan Knoblich committed 2012-09-17 21:32:18 +02:00
1 parent fdf7623f90
commit 416f026f8c
6 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -874,7 +874,7 @@ switch_call_cause_t rtmp_session_create_call(rtmp_session_t *rsession, switch_co
caller_profile = switch_caller_profile_new(pool, switch_str_nil(auth_user), dialplan,
SWITCH_DEFAULT_CLID_NAME,
!zstr(auth_user) ? auth_user : "0000000000",
!zstr(auth_user) ? auth_user : SWITCH_DEFAULT_CLID_NUMBER,
rsession->remote_address /* net addr */,
NULL /* ani */,
NULL /* anii */,