Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (14534 => 14535)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-08-15 15:38:46 UTC (rev 14534)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-08-16 18:03:24 UTC (rev 14535)
@@ -3252,7 +3252,7 @@
int offer_recv = 0, answer_recv = 0, offer_sent = 0, answer_sent = 0;
int ss_state = nua_callstate_init;
switch_channel_t *channel = NULL;
- private_object_t *tech_pvt = NULL;
+ private_object_t *tech_pvt = session ? switch_core_session_get_private(session) : NULL;
const char *replaces_str = NULL;
const char *uuid;
switch_core_session_t *other_session = NULL;