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
2012-09-17 21:26:00 +02:00
parent fdf7623f90
commit 416f026f8c
6 changed files with 7 additions and 6 deletions

View File

@@ -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);