strip off our private params

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8856 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-06-27 16:01:40 +00:00
parent d88d2c1b3c
commit 2cae9ae781
3 changed files with 22 additions and 20 deletions
+4 -9
View File
@@ -517,15 +517,10 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
tportlog = 1;
}
if (use_100rel && use_timer) {
supported = "100rel, precondition, timer";
} else if (use_100rel) {
supported = "100rel, precondition";
} else if (use_timer) {
supported = "timer, precondition";
} else {
supported = "precondition";
}
supported = switch_core_sprintf(profile->pool, "%s%sprecondition, path",
use_100rel ? "100rel, " : "",
use_timer ? "timer, " : ""
);
profile->nua = nua_create(profile->s_root, /* Event loop */
sofia_event_callback, /* Callback for processing events */