[Freeswitch-svn] [commit] r7831 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Fri Mar 7 13:55:47 EST 2008
Author: anthm
Date: Fri Mar 7 13:55:47 2008
New Revision: 7831
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
Log:
opposite day
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Fri Mar 7 13:55:47 2008
@@ -1981,7 +1981,7 @@
char *full_ref_by = NULL;
char *full_ref_to = NULL;
- if (profile->mflags & MFLAG_REFER) {
+ if (!profile->mflags & MFLAG_REFER) {
nua_respond(nh, SIP_403_FORBIDDEN, NUTAG_WITH_THIS(nua), TAG_END());
goto done;
}
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Fri Mar 7 13:55:47 2008
@@ -638,7 +638,7 @@
char key[128] = "";
switch_event_t *v_event = NULL;
- if (profile->mflags & MFLAG_REGISTER) {
+ if (!profile->mflags & MFLAG_REGISTER) {
nua_respond(nh, SIP_403_FORBIDDEN, NUTAG_WITH_THIS(nua), TAG_END());
goto end;
}
More information about the Freeswitch-svn
mailing list