[sr-dev] git:master:a1884dca: sdpops: fix module README '&&' in example, fix conversion error

Henning Westerholt hw at skalatan.de
Mon Apr 8 09:30:22 CEST 2019


Module: kamailio
Branch: master
Commit: a1884dca372d0b3bc82d5ad36dced99fa088d141
URL: https://github.com/kamailio/kamailio/commit/a1884dca372d0b3bc82d5ad36dced99fa088d141

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-04-08T09:29:42+02:00

sdpops: fix module README '&&' in example, fix conversion error

---

Modified: src/modules/sdpops/doc/sdpops_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/a1884dca372d0b3bc82d5ad36dced99fa088d141.diff
Patch: https://github.com/kamailio/kamailio/commit/a1884dca372d0b3bc82d5ad36dced99fa088d141.patch

---

diff --git a/src/modules/sdpops/doc/sdpops_admin.xml b/src/modules/sdpops/doc/sdpops_admin.xml
index 6cd8a68f69..5ed3c57d40 100644
--- a/src/modules/sdpops/doc/sdpops_admin.xml
+++ b/src/modules/sdpops/doc/sdpops_admin.xml
@@ -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>
 




More information about the sr-dev mailing list