r3573 - in trunk/libmsip: include/libmsip source/dialogs

erik at minisip.org erik at minisip.org
Wed Apr 16 15:44:53 CEST 2008


Author: erik
Date: 2008-04-16 15:44:53 +0200 (Wed, 16 Apr 2008)
New Revision: 3573

Removed:
   trunk/libmsip/include/libmsip/SipDialogUtils.h
Modified:
   trunk/libmsip/source/dialogs/SipDialogRegister.cxx
Log:

 * Removed file that is not used any more (it's renamed to
   SipTransitionUtils.h)
 * Made SipDialogRegister catch transport_error messages
   from the transaction layer (before it only caught them
   from the transpor layer).



Deleted: trunk/libmsip/include/libmsip/SipDialogUtils.h
===================================================================
--- trunk/libmsip/include/libmsip/SipDialogUtils.h	2008-04-16 12:58:22 UTC (rev 3572)
+++ trunk/libmsip/include/libmsip/SipDialogUtils.h	2008-04-16 13:44:53 UTC (rev 3573)
@@ -1,68 +0,0 @@
-/*
-  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
-  
-  This library is free software; you can redistribute it and/or
-  modify it under the terms of the GNU Lesser General Public
-  License as published by the Free Software Foundation; either
-  version 2.1 of the License, or (at your option) any later version.
-
-  This library is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-  Lesser General Public License for more details.
-
-  You should have received a copy of the GNU Lesser General Public
-  License along with this library; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-
-/*
- * Authors: Erik Eliasson <eliasson at it.kth.se>
- *          Johan Bilien <jobi at via.ecp.fr>
-*/
-
-#ifndef SIPTRANSACTIONUTILS_H
-#define SIPTRANSACTIONUTILS_H
-
-#include<libmsip/libmsip_config.h>
-
-#include<libmutil/MemObject.h>
-#include<libmsip/SipSMCommand.h>
-#include<string>
-
-class SipResponse;
-
-/**
- * Checks if a response packet has the response code indicated by a
- * pattern. The pattern may contain wild cards (*)
- * @param resp 		SIP response to check against, for example "100 OK"
- * @param pattern	Pattern, for example "100" or "1**"
- */
-bool LIBMSIP_API sipResponseFilterMatch(MRef<SipResponse*> resp, const std::string &pattern);
-	
-
-#define IGN -1
-
-bool LIBMSIP_API transitionMatch(
-		const std::string& packetType,
-		const SipSMCommand &command,
-		int source,
-		int destination,
-		const std::string &respFilter="");
-
-/** Match Sip responses */
-bool LIBMSIP_API transitionMatchSipResponse(
-		const std::string& cseqMethod,
-		const SipSMCommand &command,
-		int source,
-		int destination,
-		const std::string &respFilter="");
-
-bool LIBMSIP_API transitionMatch(
-		const SipSMCommand &command,
-		const std::string &cmd_str,
-		int source,
-		int destination);
-
-#endif
-

Modified: trunk/libmsip/source/dialogs/SipDialogRegister.cxx
===================================================================
--- trunk/libmsip/source/dialogs/SipDialogRegister.cxx	2008-04-16 12:58:22 UTC (rev 3572)
+++ trunk/libmsip/source/dialogs/SipDialogRegister.cxx	2008-04-16 13:44:53 UTC (rev 3573)
@@ -285,7 +285,7 @@
 	
 	if (transitionMatch(command, 
 				SipCommandString::transport_error,
-				SipSMCommand::transport_layer,
+				IGN,
 				SipSMCommand::dialog_layer)){
 		
 		//Mark the identity as currently un-registered



More information about the Minisip-devel mailing list