From 10b0f71114c676259d4b1abdc746b711ff5cfa9a Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Sat, 6 Jun 2009 11:31:37 +0000 Subject: [PATCH] MODAPP-286 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13662 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_nibblebill/mod_nibblebill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }