[sr-dev] [kamailio/kamailio] Added asynchronous offer, answer and delete rtpe functions (PR #3286)

Daniel-Constantin Mierla notifications at github.com
Mon Nov 28 15:38:57 CET 2022


At first look, this is not about async processing, but only suspending the transaction before doing the rtpproxy control command. There is no passing of a task to some async worker, nor resuming the transaction.

Practically your code does something like:

```
t_suspend();
rtpengine_offer()/_answer()/_delete();
```

Maybe you can just to use `async_task_route()` for INVITE:

  - https://www.kamailio.org/docs/modules/stable/modules/async.html#async.f.async_task_route

And use the rtpengine functions in the target routing block. It looks like what you want to implement inside rtpengine module, but you can achieve that by using async module.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3286#issuecomment-1329221420
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3286/c1329221420 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221128/de3c7f6f/attachment.htm>


More information about the sr-dev mailing list