tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11966 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1f8d6f0e68
commit
ee9d2d4982
|
@ -764,7 +764,7 @@ SWITCH_STANDARD_APP(limit_function)
|
|||
switch_safe_free(sql);
|
||||
got = atoi(buf);
|
||||
|
||||
if (max > 0 && got + 1 > max) {
|
||||
if (max >= 0 && got + 1 > max) {
|
||||
switch_ivr_session_transfer(session, xfer_exten, argv[4], argv[5]);
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue