diff --git a/src/mod/applications/mod_nibblebill/mod_nibblebill.c b/src/mod/applications/mod_nibblebill/mod_nibblebill.c index 6e4d146ab9..f74a742c4b 100644 --- a/src/mod/applications/mod_nibblebill/mod_nibblebill.c +++ b/src/mod/applications/mod_nibblebill/mod_nibblebill.c @@ -413,7 +413,7 @@ static switch_status_t do_billing(switch_core_session_t *session) /* Get caller profile info from channel */ profile = switch_channel_get_caller_profile(channel); - if (!profile) { + if (!profile || !profile->times) { /* No caller profile (why would this happen?) */ return SWITCH_STATUS_SUCCESS; }