git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-11-23 19:42:21 +00:00
parent 5869b86676
commit fd16c8f245
4 changed files with 11 additions and 8 deletions
+2 -6
View File
@@ -1,13 +1,9 @@
ifeq ($(shell ls $(BASE)/libs/libg729),$(BASE)/libs/libg729)
CFLAGS += -I$(PREFIX)/include/g729
CFLAGS += -I$(PREFIX)/include/libg729
LDFLAGS +=-lg729
else
CFLAGS += -DG729_PASSTHROUGH
endif
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
+6
View File
@@ -2548,6 +2548,12 @@ static void sip_i_state(int status,
}
}
if (r_sdp) {
if (switch_channel_test_flag(channel, CF_NO_EARLY)) {
//ignore 183 but how do we say we dont want it and not end the call
//nua_respond(nh, SIP_403_FORBIDDEN, TAG_END());
return;
}
if (switch_test_flag(tech_pvt, TFLAG_NOMEDIA)) {
switch_set_flag_locked(tech_pvt, TFLAG_EARLY_MEDIA);
switch_channel_set_flag(channel, CF_EARLY_MEDIA);