From 4ede7f7593091f4839525ad37ceb4fed2e53b75c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 7 Oct 2006 18:54:29 +0000 Subject: [PATCH] Update to new sofia snapshot, includes fixes for 100 on notify, and for sdp not in 200 after 183 when not using 100rel git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2993 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/Makefile | 2 +- src/mod/endpoints/mod_sofia/mod_sofia.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/Makefile b/src/mod/endpoints/mod_sofia/Makefile index 0066d02278..f8c05f8e5e 100644 --- a/src/mod/endpoints/mod_sofia/Makefile +++ b/src/mod/endpoints/mod_sofia/Makefile @@ -1,6 +1,6 @@ OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/)) VERSION = sofia-sip-1.12 -TARBALL = sofia-sip-1.12.3.tar.gz +TARBALL = sofia-sip-1.12.3.2.tar.gz CFLAGS += -I. -I$(PREFIX)/include/$(VERSION) LDFLAGS += -lsofia-sip-ua LINKER=$(CC) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 7ab1e3a676..7d5fda97f3 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1992,7 +1992,7 @@ static void sip_i_state(int status, switch_yield(10000); } - if ((b_private = nua_handle_fetch(bnh))) { + if ((b_private = nua_handle_magic(bnh))) { char *br_b = switch_channel_get_variable(channel, SWITCH_BRIDGE_VARIABLE); char *br_a = switch_core_session_get_uuid(b_private->session); @@ -2474,7 +2474,7 @@ static void sip_i_refer(nua_t *nua, sofia_private_t *b_private; switch_channel_set_variable(channel_a, SOFIA_REPLACES_HEADER, rep); - if ((b_private = nua_handle_fetch(bnh))) { + if ((b_private = nua_handle_magic(bnh))) { channel_b = switch_core_session_get_channel(b_private->session); br_a = switch_channel_get_variable(channel_a, SWITCH_BRIDGE_VARIABLE);