<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>5.6.x brings in more flexibility here with the body line
iterator, see the textopsx module.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 24.06.22 12:29, Tim Anderson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8E4F79AA-A58C-488B-B69B-C7EEDBECC529@claritynetworks.com.au">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
You could do <br>
```<br>
set_body($rb+"\r\na=prime:20", $cT);<br>
```<br>
Not sure how to do it of you want to add the line in the middle of
the body though.<br>
<br>
<div class="gmail_quote">On 24 June 2022 9:58:49 am UTC, "Benoît
Panizzon" <a class="moz-txt-link-rfc2396E" href="mailto:benoit.panizzon@imp.ch"><benoit.panizzon@imp.ch></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre dir="auto" class="k9mail">Hi Gang
Next question.
I have some broken CPE which do not set a=ptime despite using 20ms which
then causes the call to get rejected in certain destinations, because
ptime header is missing.
So I would like to match the user-agents in question and add back
a=ptime:20
Google searches found an user with the exact same problem almost 10
years ago and Daniel replying that indeed a function to add a body line
would be handy.
<a href="https://www.kamailio.org/docs/modules/devel/modules/textops.html" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.kamailio.org/docs/modules/devel/modules/textops.html</a>
How could this be accomplished? I don't see a add_body_line or other
function which does not 'replace' a body line.
<div class="k9mail-signature">--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar</div></pre>
</blockquote>
</div>
<div style="white-space: pre-wrap"><div class="k9mail-signature">--
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online: June 20-23, 2022
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>