MODAPP-286
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13662 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b317e46aae
commit
10b0f71114
|
@ -413,7 +413,7 @@ static switch_status_t do_billing(switch_core_session_t *session)
|
||||||
/* Get caller profile info from channel */
|
/* Get caller profile info from channel */
|
||||||
profile = switch_channel_get_caller_profile(channel);
|
profile = switch_channel_get_caller_profile(channel);
|
||||||
|
|
||||||
if (!profile) {
|
if (!profile || !profile->times) {
|
||||||
/* No caller profile (why would this happen?) */
|
/* No caller profile (why would this happen?) */
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue