freetdm: OPENZAP-124 - Add round robin hunting direction (Patched by Ric)

This commit is contained in:
Moises Silva committed 2010-12-17 20:04:30 -05:00
1 parent a1a50c87ec
commit aa69927b8f
4 files changed
+48 -2

No files matched your search

+4
View File
@@ -1136,6 +1136,10 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
direction = FTDM_BOTTOM_UP;
} else if (*argv[1] == 'a') {
direction = FTDM_TOP_DOWN;
} else if (*argv[1] == 'r') {
direction = FTDM_RR_DOWN;
} else if (*argv[1] == 'R') {
direction = FTDM_RR_UP;
} else {
chan_id = atoi(argv[1]);
}