mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-13 18:47:44 +00:00
CID: 1210739
This commit is contained in:
parent
a4e0929ef0
commit
33460064ac
@ -680,7 +680,7 @@ static void nibblebill_pause(switch_core_session_t *session)
|
|||||||
|
|
||||||
if (!nibble_data) {
|
if (!nibble_data) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Can't pause - channel is not initialized for billing!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Can't pause - channel is not initialized for billing!\n");
|
||||||
return;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set pause counter if not already set */
|
/* Set pause counter if not already set */
|
||||||
@ -689,6 +689,7 @@ static void nibblebill_pause(switch_core_session_t *session)
|
|||||||
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Paused billing timestamp!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Paused billing timestamp!\n");
|
||||||
|
|
||||||
|
end:
|
||||||
/* Done checking - release lock */
|
/* Done checking - release lock */
|
||||||
if (globals.mutex) {
|
if (globals.mutex) {
|
||||||
switch_mutex_unlock(globals.mutex);
|
switch_mutex_unlock(globals.mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user