2010/11/17 Daniel-Constantin Mierla <mico...@gmail.com>:
> I made an easy-to-do tutorial where all the SIP routing logic is implemented
> in a Lua script (including authentication, accounting, registrar, user
> location). You can read it at:
>
> http://asipto.com/u/h

sr.tm.t_check_trans()
sr.sl.send_reply(404, "Not here")
sr.tm.t_relay()
sr.rr.loose_route()
[...]

I'd strongly would like that kamailio config file uses namespaced
functions as well, as it's an ellegant way to realize of which module
each function belongs to.
There are more and more modules and new functions, and it's becoming
rather difficult to understand a kamailio/SR script with so many
functions sharing the same/unique "namespace".

  function_name    =>    module.function_name

It's cool, it's easy, it's sexy :)


BTW the article showing the LUA usage is brilliant :)



-- 
Iñaki Baz Castillo
<i...@aliax.net>

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to