mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
fix some oversights from earlier sip patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5047 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5d09c438ac
commit
d79d33c72d
3 files changed
+13
-3
No files matched your search
@@ -953,7 +953,11 @@ static switch_status_t cmd_profile(char **argv, int argc, switch_stream_handle_t
|
||||
if (!strcasecmp(argv[1], "stop")) {
|
||||
sofia_clear_pflag_locked(profile, PFLAG_RUNNING);
|
||||
stream->write_function(stream, "stopping: %s", profile->name);
|
||||
}
|
||||
} else if (!strcasecmp(argv[1], "restart")) {
|
||||
sofia_set_pflag_locked(profile, PFLAG_RESPAWN);
|
||||
sofia_clear_pflag_locked(profile, PFLAG_RUNNING);
|
||||
stream->write_function(stream, "restarting: %s", profile->name);
|
||||
}
|
||||
|
||||
if (profile) {
|
||||
switch_thread_rwlock_unlock(profile->rwlock);
|
||||
|
||||
Reference in new issue
Block a user