|
reSIProcate/stack
9694
|
00001 #include "resip/stack/InteropHelper.hxx" 00002 00003 namespace resip 00004 { 00005 int InteropHelper::theOutboundVersion=11; 00006 bool InteropHelper::isOutboundSupported=true; 00007 unsigned int InteropHelper::flowTimerSeconds=0; // 0 = disabled 00008 unsigned int InteropHelper::flowTimerGracePeriodSeconds=30; 00009 bool InteropHelper::useRRTokenHack=false; 00010 InteropHelper::ClientNATDetectionMode InteropHelper::clientNATDetection=InteropHelper::ClientNATDetectionDisabled; 00011 bool InteropHelper::assumeFirstHopSupportsOutbound=false; 00012 } 00013 00014 /* ==================================================================== 00015 * The Vovida Software License, Version 1.0 00016 * 00017 * Copyright (c) 2000 00018 * 00019 * Redistribution and use in source and binary forms, with or without 00020 * modification, are permitted provided that the following conditions 00021 * are met: 00022 * 00023 * 1. Redistributions of source code must retain the above copyright 00024 * notice, this list of conditions and the following disclaimer. 00025 * 00026 * 2. Redistributions in binary form must reproduce the above copyright 00027 * notice, this list of conditions and the following disclaimer in 00028 * the documentation and/or other materials provided with the 00029 * distribution. 00030 * 00031 * 3. The names "VOCAL", "Vovida Open Communication Application Library", 00032 * and "Vovida Open Communication Application Library (VOCAL)" must 00033 * not be used to endorse or promote products derived from this 00034 * software without prior written permission. For written 00035 * permission, please contact vocal@vovida.org. 00036 * 00037 * 4. Products derived from this software may not be called "VOCAL", nor 00038 * may "VOCAL" appear in their name, without prior written 00039 * permission of Vovida Networks, Inc. 00040 * 00041 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED 00042 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00043 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND 00044 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA 00045 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES 00046 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL, 00047 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00048 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00049 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 00050 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00051 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 00052 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 00053 * DAMAGE. 00054 * 00055 * ==================================================================== 00056 * 00057 * This software consists of voluntary contributions made by Vovida 00058 * Networks, Inc. and many individuals on behalf of Vovida Networks, 00059 * Inc. For more information on Vovida Networks, Inc., please see 00060 * <http://www.vovida.org/>. 00061 * 00062 */ 00063
1.7.5.1