Fix several XML documentation validate errors.
[asterisk/asterisk.git] / apps / app_osplookup.c
index 509f927..72edda8 100644 (file)
@@ -58,6 +58,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                <synopsis>
                        OSP Authentication.
                </synopsis>
+               <syntax>
+                       <parameter name="provider">
+                               <para>The name of the provider that authenticates the call.</para>
+                       </parameter>
+                       <parameter name="options">
+                               <para>Reserverd.</para>
+                       </parameter>
+               </syntax>
                <description>
                        <para>Authenticate a call by OSP.</para>
                        <para>Input variables:</para>
@@ -88,14 +96,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                </variable>
                        </variablelist>
                </description>
-               <syntax>
-                       <parameter name="provider">
-                               <para>The name of the provider that authenticates the call.</para>
-                       </parameter>
-                       <parameter name="options">
-                               <para>Reserverd.</para>
-                       </parameter>
-               </syntax>
                <see-also>
                        <ref type="application">OSPLookup</ref>
                        <ref type="application">OSPNext</ref>
@@ -106,6 +106,27 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                <synopsis>
                        Lookup destination by OSP.
                </synopsis>
+               <syntax>
+                       <parameter name="exten" required="true">
+                               <para>The exten of the call.</para>
+                       </parameter>
+                       <parameter name="provider">
+                               <para>The name of the provider that is used to route the call.</para>
+                       </parameter>
+                       <parameter name="options">
+                               <enumlist>
+                                       <enum name="h">
+                                               <para>generate H323 call id for the outbound call</para>
+                                       </enum>
+                                       <enum name="s">
+                                               <para>generate SIP call id for the outbound call. Have not been implemented</para>
+                                       </enum>
+                                       <enum name="i">
+                                               <para>generate IAX call id for the outbound call. Have not been implemented</para>
+                                       </enum>
+                               </enumlist>
+                       </parameter>
+               </syntax>
                <description>
                        <para>Looks up destination via OSP.</para>
                        <para>Input variables:</para>
@@ -222,6 +243,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>
@@ -236,27 +260,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                </variable>
                        </variablelist>
                </description>
-               <syntax>
-                       <parameter name="exten" required="true">
-                               <para>The exten of the call.</para>
-                       </parameter>
-                       <parameter name="provider">
-                               <para>The name of the provider that is used to route the call.</para>
-                       </parameter>
-                       <parameter name="options">
-                               <enumlist>
-                                       <enum name="h">
-                                               <para>generate H323 call id for the outbound call</para>
-                                       </enum>
-                                       <enum name="s">
-                                               <para>generate SIP call id for the outbound call. Have not been implemented</para>
-                                       </enum>
-                                       <enum name="i">
-                                               <para>generate IAX call id for the outbound call. Have not been implemented</para>
-                                       </enum>
-                               </enumlist>
-                       </parameter>
-               </syntax>
                <see-also>
                        <ref type="application">OSPAuth</ref>
                        <ref type="application">OSPNext</ref>
@@ -357,17 +360,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                </variable>
                        </variablelist>
                </description>
-               <syntax>
-                       <parameter name="cause" required="true">
-                               <para>The termaintion cause of the previous call attempt.</para>
-                       </parameter>
-                       <parameter name="provider">
-                               <para>The name of the provider that is used to route the call.</para>
-                       </parameter>
-                       <parameter name="options">
-                               <para>Reserved.</para>
-                       </parameter>
-               </syntax>
                <see-also>
                        <ref type="application">OSPAuth</ref>
                        <ref type="application">OSPLookup</ref>
@@ -378,6 +370,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                <synopsis>
                        Report OSP entry.
                </synopsis>
+               <syntax>
+                       <parameter name="cause">
+                               <para>Hangup cause.</para>
+                       </parameter>
+                       <parameter name="options">
+                               <para>Reserved.</para>
+                       </parameter>
+               </syntax>
                <description>
                        <para>Report call state.</para>
                        <para>Input variables:</para>
@@ -414,14 +414,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                </variable>
                        </variablelist>
                </description>
-               <syntax>
-                       <parameter name="cause">
-                               <para>Hangup cause.</para>
-                       </parameter>
-                       <parameter name="options">
-                               <para>Reserved.</para>
-                       </parameter>
-               </syntax>
                <see-also>
                        <ref type="application">OSPAuth</ref>
                        <ref type="application">OSPLookup</ref>
@@ -908,7 +900,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 +2902,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) &&