[Freeswitch-svn] [commit] r5720 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: mikej Date: Wed Sep 19 14:47:59 2007 New Revision: 5720 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Log: merge MODENDP-27, properly handle options and avoid handle leak Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Wed Sep 19 14:47:59 2007 @@ -304,6 +304,7 @@ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Created agent for %s\n", profile->name); nua_set_params(profile->nua, + NUTAG_APPL_METHOD("OPTIONS"), //NUTAG_EARLY_MEDIA(1), NUTAG_AUTOANSWER(0), NUTAG_AUTOALERT(0), @@ -328,6 +329,7 @@ NUTAG_URL(node->url), TAG_END()); /* Last tag should always finish the sequence */ nua_set_params(node->nua, + NUTAG_APPL_METHOD("OPTIONS"), NUTAG_EARLY_MEDIA(1), NUTAG_AUTOANSWER(0), NUTAG_AUTOALERT(0), @@ -2054,6 +2056,7 @@ //SOATAG_AUDIO_AUX("cn telephone-event"), //NUTAG_INCLUDE_EXTRA_SDP(1), TAG_END()); + nua_handle_destroy(nh); }
participants (1)
-
Freeswitch SVN