<html><head></head><body><div class="ydp8edae5e9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div>I've been reviewing the code for the sl module to try and see if it can be modified to send the current body with send_reply().</div><div><br></div><div>However I'm not a C programmer so I'm fumbling around in the dark!</div><div><br></div><div>I came across this section in sl_funcs.c</div><div><br></div><div><span><div><span style="white-space: pre-wrap;">        </span>/* if that is a redirection message, dump current message set to it */</div><div><span style="white-space: pre-wrap;"> </span>if (code>=300 && code<400) {</div><div><span style="white-space: pre-wrap;">             </span>dset.s=print_dset(msg, &dset.len, sl_rich_redirect);</div><div><span style="white-space: pre-wrap;">               </span>if (dset.s) {</div><div><span style="white-space: pre-wrap;">                  </span>add_lump_rpl(msg, dset.s, dset.len, LUMP_RPL_HDR);</div><div><span style="white-space: pre-wrap;">             </span>}</div><div><span style="white-space: pre-wrap;">      </span>}</div></span><br></div><div>If this was modified to include <span>LUMP_RPL_BODY then could that be made to work?</span></div><div><span><br></span></div><div><span>Or is there a better way of tweaking this SL module to include the body in the response when using send_reply()?</span></div><div><span><br></span></div><div><span>Thanks, Dave</span></div><div><span><br></span></div>
        
        </div><div id="yahoo_quoted_6483483983" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, 16 April 2019, 23:28:06 BST, David Dean <just_bytesize@yahoo.co.uk> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv9671272591"><div><div class="yiv9671272591yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello Kamailio gurus,</div><div><br></div><div>I'm successfully using <span>send_reply() with <span>append_to_reply() to add some custom headers.</span></span></div><div><span><span><br></span></span></div><div><span><span>Now I need to add some text into the reply body.</span></span></div><div><span><span><br></span></span></div><div>How can I add a body to send_reply() ?</div><div><br></div><div>Thx, Dave</div><div><br></div></div></div></div></div>
            </div>
        </div></body></html>