]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-286
authorMathieu Rene <mrene@avgs.ca>
Sat, 6 Jun 2009 11:31:37 +0000 (11:31 +0000)
committerMathieu Rene <mrene@avgs.ca>
Sat, 6 Jun 2009 11:31:37 +0000 (11:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13662 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_nibblebill/mod_nibblebill.c

index 6e4d146ab978ef0d099097a4fdb864a17b57e293..f74a742c4b58a738b080a023f71d01b925fa49a2 100644 (file)
@@ -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;
        }