[sr-dev] [kamailio/kamailio] SMPP support (#2280)

Alex Balashov abalashov at evaristesys.com
Sat Apr 11 22:57:23 CEST 2020


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 at 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 at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
> >
> -- 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337

> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


-- 
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/



More information about the sr-dev mailing list