From bcc1694a4582f538575a686b27ec59c7e64c4bd3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 28 Sep 2009 17:16:31 +0000 Subject: [PATCH] scope mask git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15005 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index d5d2f985f1..594bc33fb3 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1448,7 +1448,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi nua_respond(tech_pvt->nh, SIP_180_RINGING, SIPTAG_CONTACT_STR(tech_pvt->reply_contact), SIPTAG_HEADER_STR(generate_pai_str(session)), - TAG_IF(!switch_strlen_zero(extra_headers), SIPTAG_HEADER_STR(extra_header)), + TAG_IF(!switch_strlen_zero(extra_header), SIPTAG_HEADER_STR(extra_header)), TAG_END()); switch_safe_free(extra_header); switch_channel_mark_ring_ready(channel); @@ -1522,7 +1522,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi } if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) { - char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_PROGRESS_HEADER_PREFIX); + char *extra_header = sofia_glue_get_extra_headers(channel, SOFIA_SIP_PROGRESS_HEADER_PREFIX); nua_respond(tech_pvt->nh, SIP_183_SESSION_PROGRESS, NUTAG_AUTOANSWER(0), @@ -1533,9 +1533,9 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi SOATAG_ORDERED_USER(1), SOATAG_ADDRESS(tech_pvt->adv_sdp_audio_ip), SOATAG_USER_SDP_STR(tech_pvt->local_sdp_str), SOATAG_AUDIO_AUX("cn telephone-event"), - TAG_IF(!switch_strlen_zero(extra_headers), SIPTAG_HEADER_STR(extra_headers)), + TAG_IF(!switch_strlen_zero(extra_header), SIPTAG_HEADER_STR(extra_header)), TAG_END()); - switch_safe_free(extra_headers); + switch_safe_free(extra_header); } } }