There's nothing inherently problematic or particularly poorly-performing about using Kamailio as a bridge to a protocol it does not natively speak -- and thus, no need for a single-minded fixation on a C module. At this point, all the latter would provide is syntactical sugar.
Kamailio offers:
1) Extensive packaged async capabilities;
2) Manual management of asynchronous workloads using mqueue + timer;
3) KEMI embedded scripting API framework;
4) Numerous embedded language interpreters, e.g. app_python, which perform very admirably. In the case of app_python, it loads once on startup, byte-compiles the script it will run, and the byte-compiled version sits as an in-memory resident.
You can string this together with async workers to make Kamailio lift even some very heavy weight outside the main SIP worker process pool.
Small differences in performance between native config script and external scripts were far more relevant in a different era of computing hardware, and are unlikely to be relevant to your application.
In a sense, Kamailio already has an SMPP module. You just need to wire the connectors together.
-- Alex
On Sat, Apr 11, 2020 at 09:20:24PM +0100, David Villasmil wrote:
If you’re just looking to send out occasional sms, you can exec an external script like it’s been suggested.
If you’re looking to implement a complete sms server for many messages, kamailio is not your thing, better look into something like kannel.
On Sat, 11 Apr 2020 at 21:09, TelecomsXChange notifications@github.com wrote:
You can use python_exec() for inline execution from a native kamailio.cfg routing block or use KEMI-based scripts for having the equivalent of routing blocks fully in the Python (or other external) scripting language.
Last, if someone wants to contribute a C module for Kamailio with SMPP support, of course they are more than welcome.
Thanks for the feedback, I was more wondering if there was a C module for Kamailio with SMPP support. from you answer I guess its not there yet! We're evaluating different new ideas/options and if we decide to write the C module we'll definitely share it with the community.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/2280#issuecomment-612503950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO7UZI7YWVITI5M3WNZRPLRMDE65ANCNFSM4MFYMFMQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev