<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28 Jun 2022, at 15:54, Carsten Bock <<a href="mailto:carsten@ng-voice.com" class="">carsten@ng-voice.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Question:<br class="">Is there a way to forward a reply from the reply route and do other stuff afterward? We are currently doing operations on a 183 reply and it would be useful if we could forward the reply before continuing to process other stuff.<br class=""><br class="">High-Level example:<br class=""><br class=""><i class="">route {<br class="">  t_on_reply("REPLY");<br class="">  t_relay();<br class="">}<br class=""><br class="">onreply_route[REPLY] {<br class="">  // Forward the reply to the Caller<br class="">  t_relay(); // Does not work, as t_relay is only allowed in request and failure-routes<br class="">  <br class="">  // Do other fancy stuff, e.g. a DB Update or anything else<br class="">}</i><br class=""><br class="gmail-Apple-interchange-newline">Any ideas?<br class=""></div></div></div></blockquote>I don’t know how to do it that way, but I would add stuff to mqueue and process it asynchronously in the background.</div><div><br class=""></div><div>/O<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class="">Thanks,<br class="">Carsten<br class=""><br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">--</div><div dir="ltr" class="">Carsten Bock I CTO & Founder</div><div dir="ltr" class=""><br class=""><div style="margin: 0cm 0cm 0.0001pt;" class=""><span lang="EN-US" style="" class="">ng-voice GmbH</span><span lang="EN-US" style="color:rgb(0,112,192)" class=""><u class=""></u><u class=""></u></span></div><p style="margin-right:0cm;margin-bottom:12pt;margin-left:0cm;background-image:initial;background-position:initial;background-repeat:initial" class=""><span lang="EN-US" style="" class="">Trostbrücke 1 I 20457 Hamburg I Germany<br class="">T +49 179 2021244 I <a href="http://www.ng-voice.com/" style="color:rgb(17,85,204)" target="_blank" class=""><span style="" class="">www.ng-voice.com</span></a><u class=""></u><u class=""></u></span></p><div style="margin: 0cm 0cm 0.0001pt;" class=""><span lang="EN-US" style="" class="">Registry Office at Local Court Hamburg, HRB 120189<br class="">Managing Directors: Dr. David Bachmann, Carsten Bock</span></div></div></div></div></div></div></div></div></div></div>
__________________________________________________________<br class="">Kamailio - Users Mailing List - Non Commercial Discussions<br class="">  * <a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">Important: keep the mailing list in the recipients, do not reply only to the sender!<br class="">Edit mailing list options or unsubscribe:<br class="">  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class=""></div></blockquote></div><br class=""></body></html>