mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add optional var/param for seperately setting the rtp timeout when on hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7309 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1011,6 +1011,11 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
if (v >= 0) {
|
||||
profile->rtp_timeout_sec = v;
|
||||
}
|
||||
} else if (!strcasecmp(var, "rtp-hold-timeout-sec")) {
|
||||
int v = atoi(val);
|
||||
if (v >= 0) {
|
||||
profile->rtp_hold_timeout_sec = v;
|
||||
}
|
||||
} else if (!strcasecmp(var, "manage-presence")) {
|
||||
if (switch_true(val)) {
|
||||
profile->pflags |= PFLAG_PRESENCE;
|
||||
|
||||
Reference in New Issue
Block a user