mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
added patch from http://jira.freeswitch.org/browse/FSCORE-25
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
951e771524
commit
3f6520a559
5 files changed
+70
-2
No files matched your search
@@ -26,6 +26,7 @@
|
||||
* Anthony Minessale II <anthmct@yahoo.com>
|
||||
* Michael Jerris <mike@jerris.com>
|
||||
* Paul D. Tinsley <pdt at jackhammer.org>
|
||||
* Marcel Barbulescu <marcelbarbulescu@gmail.com>
|
||||
*
|
||||
*
|
||||
* switch_core.c -- Main Core Library
|
||||
@@ -445,6 +446,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(char *console, const char **err
|
||||
if (!strcasecmp(var, "max-sessions")) {
|
||||
switch_core_session_limit(atoi(val));
|
||||
}
|
||||
else if (!strcasecmp(var, "rtp-start-port")) {
|
||||
switch_rtp_set_start_port(atoi(val));
|
||||
}
|
||||
else if (!strcasecmp(var, "rtp-end-port")) {
|
||||
switch_rtp_set_end_port(atoi(val));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user