From 034a79c303b0fc49be6b5271e3413ee99c96c066 Mon Sep 17 00:00:00 2001
From: TransNexus OSP Development <support@transnexus.com>
Date: Fri, 12 Feb 2010 08:30:05 +0000
Subject: [PATCH] Updated doc for OSP lookup application.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@246382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 CHANGES              | 3 +++
 UPGRADE.txt          | 8 ++++++++
 apps/app_osplookup.c | 6 ++++--
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/CHANGES b/CHANGES
index 0327789c8f..132d31ef30 100644
--- a/CHANGES
+++ b/CHANGES
@@ -133,6 +133,9 @@ Applications
    during the Dial will be set to the argument passed to the 'f' option.
  * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
    Gosub on the peer.
+ * The OSP lookup application adds in/outbound network ID, optional security,
+   number portability, QoS reporting, destination IP port, custom info and service
+   type features.
 
 Dialplan Functions
 ------------------
diff --git a/UPGRADE.txt b/UPGRADE.txt
index f402c81bec..0aff1da4ac 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -67,6 +67,14 @@ From 1.6.2 to 1.8:
   working that will no longer work.
   Please see doc/externalivr.txt for details.
 
+* OSP lookup application changes following variable names:
+  OSPPEERIP to OSPINPEERIP
+  OSPTECH to OSPOUTTECH
+  OSPDEST to OSPDESTINATION
+  OSPCALLING to OSPOUTCALLING
+  OSPCALLED to OSPOUTCALLED
+  OSPRESULTS to OSPDESTREMAILS
+
 From 1.6.1 to 1.6.2:
 
 * SIP no longer sends the 183 progress message for early media by
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index 509f927fe9..c116a0d76b 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -222,6 +222,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 				<variable name="OSPOUTCALLIDTYPES">
 					<para>The outbound Call-ID types.</para>
 				</variable>
+				<variable name="OSPOUTCALLID">
+					<para>The outbound Call-ID. Only for H.323.</para>
+				</variable>
 				<variable name="OSPDIALSTR">
 					<para>The outbound Dial command string.</para>
 				</variable>
@@ -908,7 +911,7 @@ static int osp_get_provider(
  * \param name OSP provider context name
  * \param trans OSP transaction handle, output
  * \param source Source of provider, output
- * \param sourcesize Size of source buffer, in
+ * \param srcsize Size of source buffer, in
  * \return OSK_OK Success, OSK_FAILED Failed, OSP_ERROR Error
  */
 static int osp_create_transaction(
@@ -2910,7 +2913,6 @@ static int osp_load(int reload)
 			osp_security = 1;
 		}
 		ast_debug(1, "OSP: osp_security '%d'\n", osp_security);
-
 		
 		if ((cvar = ast_variable_retrieve(cfg, OSP_GENERAL_CAT, "tokenformat"))) {
 			if ((sscanf(cvar, "%30d", &ivar) == 1) &&
-- 
GitLab