sdpops: fix module README '&&' in example, fix conversion error
authorHenning Westerholt <hw@skalatan.de>
Mon, 8 Apr 2019 07:29:42 +0000 (09:29 +0200)
committerHenning Westerholt <hw@skalatan.de>
Mon, 8 Apr 2019 07:29:42 +0000 (09:29 +0200)
src/modules/sdpops/doc/sdpops_admin.xml

index 6cd8a68..5ed3c57 100644 (file)
@@ -583,15 +583,16 @@ if(sdp_get_line_startswith("$avp(mline)", "m=")) {
                        </para>
                <example>
                <title><function>sdp_get_address_family</function>usage</title>
-               <programlisting format="linespecific">
-       ...
-       if(is_method("INVITE") && has_body("application/sdp")){
-
-               $avp(af) = sdp_get_address_family();
-               xlog("L_INFO","ADDRESS FAMILY OF SDP C line $avp(af) ");
-       }
-       ...
-       </programlisting>
+               <programlisting>
+<![CDATA[
+...
+if(is_method("INVITE") && has_body("application/sdp")){
+       $avp(af) = sdp_get_address_family();
+       xlog("L_INFO","ADDRESS FAMILY OF SDP C line $avp(af) ");
+}
+...
+]]>
+               </programlisting>
                        </example>
        </section>