summaryrefslogtreecommitdiff
path: root/addons/chan_ooh323.c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/chan_ooh323.c')
-rw-r--r--addons/chan_ooh323.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index 30c4ab02f..7d4a46f1c 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -1907,7 +1907,7 @@ int onNewCallCreated(ooCallData *call)
ast_verbose("Setting dialed digits %s\n", p->caller_dialedDigits);
}
ooCallAddAliasDialedDigits(call, p->caller_dialedDigits);
- } else if (p->callerid_num) {
+ } else if (!ast_strlen_zero(p->callerid_num)) {
if (ooIsDailedDigit(p->callerid_num)) {
if (gH323Debug) {
ast_verbose("setting callid number %s\n", p->callerid_num);