more heartbeat work

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9883 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-10-07 21:42:31 +00:00
parent fc0c89c642
commit 263afcaba8
3 changed files with 61 additions and 2 deletions

View File

@@ -1633,7 +1633,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_mark_answered(switch_chan
if (switch_is_number(var)) {
tmp = atoi(var);
if (tmp > 10) {
if (tmp > 0) {
seconds = tmp;
}
} else if (!switch_true(var)) {