Module: kamailio
Branch: master
Commit: a1884dca372d0b3bc82d5ad36dced99fa088d141
URL:
https://github.com/kamailio/kamailio/commit/a1884dca372d0b3bc82d5ad36dced99…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)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/a1884dca372d0b3bc82d5ad36dced99…
Patch:
https://github.com/kamailio/kamailio/commit/a1884dca372d0b3bc82d5ad36dced99…
---
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>