[SR-Users] External script

Henning Westerholt hw at gilawa.com
Tue Nov 8 15:31:08 CET 2022


Hello,

In my opinion you should find another way, if you concerned about performance.

Just to give two ideas: you could e.g. call an HTTP API from the script, or you put it in a queue structure (there are several modules) and then have a worker from outside of Kamailio processes it.

Cheers,

Henning

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of ????????? ???????
Sent: Tuesday, November 8, 2022 3:24 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] External script

Hello!

I was wondering how everyone uses exec_cmd(). I'm using it to call an external script directly from a worker route which locks it for the time of execution. If all that is needed is to call it and forget, should the best option be to call the async route with exec_cmd()?

Thanks a lot for any input on this topic!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221108/7ab1d2bc/attachment.htm>


More information about the sr-users mailing list