public static void removeSipFactory(Context envCtx, String appName, SipFactory sipFactory) {
		if(envCtx != null) {
			try {
				javax.naming.Context sipContext = (javax.naming.Context)envCtx.lookup(SIP_SUBCONTEXT + "/" + appName);
				sipContext.unbind(SIP_FACTORY_JNDI_NAME);
			} catch (NamingException e) {
				logger.error(sm.getString("naming.unbindFailed", e));
			}
		}
	}
public static void removeSipFactory ( Context envCtx , String appName , SipFactory sipFactory ) { if ( envCtx != null ) { try { javax . naming . Context sipContext = ( javax . naming . Context ) envCtx . lookup ( SIP_SUBCONTEXT + "/" + appName ) ; sipContext . unbind ( SIP_FACTORY_JNDI_NAME ) ; } catch ( NamingException e ) { logger . error ( sm . getString ( "naming.unbindFailed" , e ) ) ; } } }
Removes the sip factory binding from the jndi mapping
@param appName the application name subcontext
@param sipFactory the sip factory to remove