]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use correct header prefix var
authorBrian West <brian@freeswitch.org>
Tue, 20 Apr 2010 18:34:51 +0000 (13:34 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 20 Apr 2010 18:35:21 +0000 (13:35 -0500)
src/mod/endpoints/mod_sofia/mod_sofia.c

index 7790c776ca1836cc0927275309fde335693cb11a..1930454ebc148fcbd3ef37f62acaadba9789491f 100644 (file)
@@ -657,7 +657,7 @@ static switch_status_t sofia_answer_channel(switch_core_session_t *session)
        }
 
        if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) {
-               char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_PROGRESS_HEADER_PREFIX);
+               char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_RESPONSE_HEADER_PREFIX);
                if (sofia_use_soa(tech_pvt)) {
                        nua_respond(tech_pvt->nh, SIP_200_OK,
                                                NUTAG_AUTOANSWER(0),