<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>no familiar with the app_perl api and the docs doesn't show any
function for setting the body. But you should be able set the new
body in an avp:</p>
<p><a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/app_perl.html#ID-d4453222c49e08dc556c25a6586a00bc">https://www.kamailio.org/docs/modules/stable/modules/app_perl.html#ID-d4453222c49e08dc556c25a6586a00bc</a></p>
<p>and then use it in kamailio.cfg.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 19/01/2017 00:14, David Cunningham
wrote:<br>
</div>
<blockquote
cite="mid:CAHGbP-9GsmOpmo9o04NkzfTo8KF-n20HN5bvEhVV3RXtvfA8qg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,<br>
<br>
We are using Kamailio's perl module and want our custom library
to set the body on a SIP message.<br>
<br>
Is it possible to set a SIP message body from within Perl, or
can we return a string to the Kamailio configuration to then use
with set_body()?<br>
<br>
Thanks for any advice.<br>
<br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>David Cunningham, Voisonics<br>
<a moz-do-not-send="true" href="http://voisonics.com/"
target="_blank">http://voisonics.com/</a><br>
USA: +1 213 221 1092<br>
Australia: +61 (0) 2 8063 9019<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<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 World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>