[SR-Users] KEMI jsdt CommonJS-based module
Daniel-Constantin Mierla
miconda at gmail.com
Mon Feb 21 13:44:06 CET 2022
Hello,
I didn't notice that require() was not in the duktape 2.x, I will try to
add support for module-duktape when I get a chance. If someone wants to
do it, pull requests are welcome -- it does not seem to be complex:
* https://github.com/svaarala/duktape/tree/master/extras/module-duktape
The module-node sounds interesting, but not being familiar with node.js,
looks it need more work to enable it:
* https://github.com/svaarala/duktape/tree/master/extras/module-node
Cheers,
Daniel
On 20.02.22 00:50, Ian Carlson wrote:
>
> Greetings,
>
>
>
> I’m new to Kamailio and working to add Kamailio to an existing
> Asterisk solution. I’m attracted to the idea of routing via KEMI jsdt
> since our Asterisk ARI is using nodejs. Playing with KEMI jsdt I was
> trying to use require() to break up the monolithic routing script. It
> seems that Kamailio uses Ducktape 2 without module-node or
> module-ducktape, requiring all routing in a single file? I’d
> appreciate any suggested practices for managing Kamailio configurations.
>
>
>
> Cheers,
>
> Ian
>
>
>
>
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at 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
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Feb 21-24, 2022 (America Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220221/96635c86/attachment.htm>
More information about the sr-users
mailing list