MODAPP-286

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13662 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-06-06 11:31:37 +00:00
parent b317e46aae
commit 10b0f71114
1 changed files with 1 additions and 1 deletions

View 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;
}