]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't use tech_pvt->nh, use the nh passed to the callback
authorBrian West <brian@freeswitch.org>
Wed, 18 Nov 2009 15:29:41 +0000 (15:29 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 18 Nov 2009 15:29:41 +0000 (15:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15521 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 839efb963fc661840bf204af6c820c868de5cd7b..e172b945fe8450a9d2ced406561f385321d8d794 100644 (file)
@@ -3751,7 +3751,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                }
                break;
        case nua_callstate_completing:
-               nua_ack(tech_pvt->nh,
+               nua_ack(nh,
                                TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)),
                                TAG_END());
                break;