Re: [SR-Users] SIP Routing Logic in Lua

2010-11-22 Thread Daniel-Constantin Mierla
On 11/22/10 9:37 AM, Henning Westerholt wrote: On Saturday 20 November 2010, Jeremya wrote: [..] As an aside, is there a current index of functions available? i.e. given a function what module is it from and what it does? Hi Jeremya, at least for older versions there is such an index, e.g.:

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-22 Thread Henning Westerholt
On Saturday 20 November 2010, Jeremya wrote: > [..] > As an aside, is there a current index of functions available? i.e. given > a function what module is it from and what it does? Hi Jeremya, at least for older versions there is such an index, e.g.: http://www.kamailio.org/dokuwiki/doku.php/mod

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-20 Thread Daniel-Constantin Mierla
On 11/20/10 10:27 AM, Jon Bonilla (Manwe) wrote: El Sat, 20 Nov 2010 10:15:27 +0100 Daniel-Constantin Mierla escribió: This should not be that complex, there is no function name that has '.' in order to have current conflicts to solve. My concern is related to modules with very long names, b

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-20 Thread Daniel-Constantin Mierla
On 11/20/10 10:24 AM, Jeremya wrote: Daniel-Constantin Mierla wrote: On 11/19/10 8:27 PM, Iñaki Baz Castillo wrote: 2010/11/17 Daniel-Constantin Mierla: I made an easy-to-do tutorial where all the SIP routing logic is implemented in a Lua script (including authentication, accounting, regist

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-20 Thread Manwe
El Sat, 20 Nov 2010 10:15:27 +0100 Daniel-Constantin Mierla escribió: > This should not be that complex, there is no function name that has '.' > in order to have current conflicts to solve. My concern is related to > modules with very long names, but seems that most of such cases do not > exp

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-20 Thread Jeremya
Daniel-Constantin Mierla wrote: > > > On 11/19/10 8:27 PM, Iñaki Baz Castillo wrote: >> 2010/11/17 Daniel-Constantin Mierla: >>> 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).

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-20 Thread Daniel-Constantin Mierla
On 11/19/10 8:27 PM, Iñaki Baz Castillo wrote: 2010/11/17 Daniel-Constantin Mierla: 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

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-19 Thread Iñaki Baz Castillo
2010/11/17 Daniel-Constantin Mierla : > 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

Re: [SR-Users] SIP Routing Logic in Lua

2010-11-17 Thread Carsten Bock
Definitely cool! Thanks, Carsten 2010/11/17 Daniel-Constantin Mierla : > Hello, > > during last days I spent some time to extend the native API exported to Lua. > Many more functions exported by core and modules can be called from embedded > Lua scripts. Note that you get also access to psedo-var

[SR-Users] SIP Routing Logic in Lua

2010-11-17 Thread Daniel-Constantin Mierla
Hello, during last days I spent some time to extend the native API exported to Lua. Many more functions exported by core and modules can be called from embedded Lua scripts. Note that you get also access to psedo-variable operations and you can call all functions exported by modules that have