don't use tech_pvt->nh, use the nh passed to the callback
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-18 15:29:19 UTC (rev 15520)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-18 15:29:41 UTC (rev 15521)
@@ -3751,7 +3751,7 @@
}
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;