[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    Re: [SR-Users] Forward reply in onreply_route
From:       Yuriy Gorlichenko <ovoshlook () gmail ! com>
Date:       2022-06-29 9:39:53
Message-ID: CABSP_VfxyxpCH_OW_96q-OAW_vN1sdTHn1BKPxbXMtQ-5Q7UzQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Since 5.6.0 there is forward_reply() in corex module
https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.f.forward_reply
it doesn't have enough description but looking at the source it calls
core->do_forward_reply function
which ( at least as I see ) doesn't block the execution of the further
script commands.

вт, 28 июн. 2022 г. в 18:45, Alex Balashov <abalashov@evaristesys.com>:

>
> > On Jun 28, 2022, at 10:06 AM, Olle E. Johansson <oej@edvina.net> wrote:
> >
> > I don't know how to do it that way, but I would add stuff to mqueue and
> process it asynchronously in the background.
>
> +1 — I think this is the way to go. Just push the workload off to some
> other async routine.
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

[Attachment #5 (text/html)]

<div dir="ltr">Since 5.6.0 there is forward_reply() in corex module<br><a \
href="https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.f.forward_reply \
">https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.f.forward_reply</a><br>it \
doesn&#39;t have enough description but looking at the source it calls \
core-&gt;do_forward_reply function<br>which ( at least as I see ) doesn&#39;t block \
the execution of the further script commands.</div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">вт, 28 июн. 2022 г. в 18:45, Alex Balashov &lt;<a \
href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><br> &gt; On Jun 28, 2022, at 10:06 AM, Olle E. \
Johansson &lt;<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>&gt; \
wrote:<br> &gt; <br>
&gt; I don't know how to do it that way, but I would add stuff to mqueue and process \
it asynchronously in the background.<br> <br>
+1 — I think this is the way to go. Just push the workload off to some other async \
routine.<br> <br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" \
target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" \
rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br> <br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
   * <a href="mailto:sr-users@lists.kamailio.org" \
                target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the \
sender!<br> Edit mailing list options or unsubscribe:<br>
   * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" \
rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
 </blockquote></div>



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic