From 2787a14001b6ab54779ebb07bb1115c2082e8577 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Tue, 24 Aug 2010 20:34:03 +0000 Subject: [PATCH] Changes the default behavior for sip.conf's pedantic option from "no" to "yes". git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283493 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- UPGRADE.txt | 3 +++ channels/sip/include/sip.h | 2 +- configs/sip.conf.sample | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/UPGRADE.txt b/UPGRADE.txt index 9202cfb106..9889a55e6a 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -114,6 +114,9 @@ From 1.6.2 to 1.8: removal of this feature will hopefully be followed by a correct RFC compliant STUN implementation in chan_sip in the future. +* The default value for the pedantic option in sip.conf has been changed + from "no" to "yes". + From 1.6.1 to 1.6.2: * SIP no longer sends the 183 progress message for early media by diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index cf3c0da696..11996f690a 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -209,7 +209,7 @@ #define DEFAULT_DOMAINSASREALM FALSE /*!< Use the domain option to guess the realm for registration and invite requests */ #define DEFAULT_NOTIFYRINGING TRUE /*!< Notify devicestate system on ringing state */ #define DEFAULT_NOTIFYCID DISABLED /*!< Include CID with ringing notifications */ -#define DEFAULT_PEDANTIC FALSE /*!< Avoid following SIP standards for dialog matching */ +#define DEFAULT_PEDANTIC TRUE /*!< Follow SIP standards for dialog matching */ #define DEFAULT_AUTOCREATEPEER FALSE /*!< Don't create peers automagically */ #define DEFAULT_MATCHEXTERNADDRLOCALLY FALSE /*!< Match extern IP locally default setting */ #define DEFAULT_QUALIFY FALSE /*!< Don't monitor devices */ diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 287e3c52be..b0c7e8d328 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -215,7 +215,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;pedantic=yes ; Enable checking of tags in headers, ; international character conversions in URIs ; and multiline formatted headers for strict - ; SIP compatibility (defaults to "no") + ; SIP compatibility (defaults to "yes") ; See qos.tex or Quality of Service section of asterisk.pdf for a description of these parameters. ;tos_sip=cs3 ; Sets TOS for SIP packets.