From 2c98238fbe9677ddbb6d46f1f9914243607a88f9 Mon Sep 17 00:00:00 2001
From: Olle Johansson <oej@edvina.net>
Date: Wed, 30 Aug 2006 19:16:53 +0000
Subject: [PATCH] Mark ALERT_INFO as deprecated. This can now be done with the
 sipaddheader() application and does not need special code in chan_sip any
 more.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 UPGRADE.txt         | 4 ++++
 channels/chan_sip.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/UPGRADE.txt b/UPGRADE.txt
index daa8ac8b6f..b47bcbacdd 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -302,6 +302,10 @@ The SIP channel:
   in coming versions of Asterisk. Please use the dialplan function
   SIPCHANINFO(useragent) instead.
 
+* The ALERT_INFO dialplan variable is deprecated and will be removed
+  in coming versions of Asterisk. Please use the dialplan application
+  sipaddheader() to add the "Alert-Info" header to the outbound invite.
+
 The Zap channel:
 
 * Support for MFC/R2 has been removed, as it has not been functional for some
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index a7b7bf81cf..f97e498ab2 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -81,6 +81,10 @@
  * The PBX issues a hangup on both incoming and outgoing calls through
  * the sip_hangup() function
  *
+ * \par Deprecated stuff
+ * This is deprecated and will be removed after the 1.4 release
+ * - the SIPUSERAGENT dialplan variable
+ * - the ALERT_INFO dialplan variable
  */
 
 
-- 
GitLab