mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
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:
@@ -66,7 +66,7 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
|
||||
}
|
||||
|
||||
if (zstr(caller_id_number)) {
|
||||
caller_id_number = "0000000000";
|
||||
caller_id_number = SWITCH_DEFAULT_CLID_NUMBER;
|
||||
}
|
||||
|
||||
profile_dup_clean(username, profile->username, pool);
|
||||
|
Reference in New Issue
Block a user