From: Mathieu Rene Date: Sat, 6 Jun 2009 11:31:37 +0000 (+0000) Subject: MODAPP-286 X-Git-Tag: v1.0.4~581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b0f71114c676259d4b1abdc746b711ff5cfa9a;p=thirdparty%2Ffreeswitch.git MODAPP-286 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13662 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }