diff options
author | Jeff Peeler <jpeeler@digium.com> | 2009-12-30 20:34:41 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2009-12-30 20:34:41 +0000 |
commit | 1a219ad725044e9ee2233fc738f2ba7a72477351 (patch) | |
tree | d72698135df3101c70e8dbd235a4003b101d9424 /channels | |
parent | d344d8d947ed61589e33b1aebc4db9f0323e4975 (diff) |
Fix compiling with LOW_MEMORY.
Modified handle_verbose to be LOW_MEMORY aware, removed old RTP related code
in chan_sip.
(closes issue #16381)
Reported by: michael_iedema
Patches:
ast_complete_source_filename.patch uploaded by michael iedema (license 942)
modified by me
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index af323d49e..5c90b0676 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2306,14 +2306,6 @@ static void temp_pvt_cleanup(void *); /*! \brief A per-thread temporary pvt structure */ AST_THREADSTORAGE_CUSTOM(ts_temp_pvt, temp_pvt_init, temp_pvt_cleanup); -#ifdef LOW_MEMORY -static void ts_ast_rtp_destroy(void *); - -AST_THREADSTORAGE_CUSTOM(ts_audio_rtp, NULL, ts_ast_rtp_destroy); -AST_THREADSTORAGE_CUSTOM(ts_video_rtp, NULL, ts_ast_rtp_destroy); -AST_THREADSTORAGE_CUSTOM(ts_text_rtp, NULL, ts_ast_rtp_destroy); -#endif - /*! \brief Authentication list for realm authentication * \todo Move the sip_auth list to AST_LIST */ static struct sip_auth *authl = NULL; @@ -9309,15 +9301,6 @@ static int process_sdp_a_image(const char *a, struct sip_pvt *p) return found; } - -#ifdef LOW_MEMORY -static void ts_ast_rtp_destroy(void *data) -{ - struct ast_rtp *tmp = data; - ast_rtp_destroy(tmp); -} -#endif - /*! \brief Add header to SIP message */ static int add_header(struct sip_request *req, const char *var, const char *value) { |