From af26fa721b93b6f424288c64b7e1a5ceba713000 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 7 Mar 2008 15:21:09 +0000 Subject: [PATCH] i picked the wrong day to stop sniffig glue git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7808 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 075c08a7ec..64291fda17 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -638,7 +638,7 @@ void sofia_reg_handle_sip_i_register(nua_t * nua, sofia_profile_t *profile, nua_ char key[128] = ""; switch_event_t *v_event = NULL; - if (profile->mflags & MFLAG_REFER) { + if (profile->mflags & MFLAG_REGISTER) { nua_respond(nh, SIP_403_FORBIDDEN, NUTAG_WITH_THIS(nua), TAG_END()); goto end; }