On 2/6/13 11:39 PM, Konstantin M. wrote:


2013/2/7 Daniel-Constantin Mierla <mico...@gmail.com <mailto:mico...@gmail.com>>

    As expected, a consistent list of dependencies, but I guess that
    people using java would have those installed anyhow :-)

    Is KamExec(...) running config functions exported by the modules?
    Maybe it should be more explicit, eventually with an example. I
    haven't looked at the code, just mentioning here in case it is
    unknown, config functions exported by modules have a special
    mechanism named fixup to convert parameters to custom structures.
    You should be careful with that because can result in memory leaks
    if used from embedded languages.


Yes, I'm using fexport->fixup() to all arguments.

You should use also the free fixup function when available. However, there are many functions implementing a fixup() that dynamically allocates memory and don't provide a free fixup function. So the potential of memory leak is there. If you know what functions you are calling from Java and they are mem leak safe, then all is fine. But it is not valid for all config functions.

That's why for Lua, we exported directly many inter-module API functions.

Cheers,
Daniel

    Cheers,
    Daniel



    On 2/6/13 11:20 PM, Konstantin M. wrote:
    I just published.
    Here is a link:
    http://voipgroup.org.ua/kamailio/dev/kamailio_app_java_v0.1a-README.txt

    2013/2/7 Daniel-Constantin Mierla <mico...@gmail.com
    <mailto:mico...@gmail.com>>

        Hello,

        is the readme or other documentation available directly on
        the web? I am not a java user, but I (and others) can look
        over and spot if there is something to make it coherent in
        with the rest of embedded interpreters.

        Cheers,
        Daniel


        On 2/6/13 6:10 PM, Konstantin M. wrote:
        Hello.

        I've build an application app_java - Java Native Interface
        support for Kamailio.
        It is an alpha version.
        Works with kamailio >= 3.2.

        A code isn't in main release right now.
        You can download it:
        http://voipgroup.org.ua/kamailio/dev/kamailio_app_java_v0.1a.tar.gz

        I would be a very grateful if somebody will test this and
        report about a test usage (and/or bug reports).

        Thanks!

        2012/11/25 <ron.kamai...@mcleodnet.com
        <mailto:ron.kamai...@mcleodnet.com>>

            I am looking for a way to integrate Java business logic
            with Kamailio to influence routing decisions,
            add/remove/modify headers, record accounting-related
            information, etc.  A while back there was a project
            named WeSIP, but it doesn’t appear to active anymore.

            Is anyone doing something like this now, or any ideas or
            suggestions?

            Thanks,

            Ron


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




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

        -- Daniel-Constantin Mierla - http://www.asipto.com
        http://twitter.com/#!/miconda
        <http://twitter.com/#%21/miconda> -
        http://www.linkedin.com/in/miconda

        Kamailio World Conference, April 16-17, 2013, Berlin
          -http://conference.kamailio.com  -


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




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

-- Daniel-Constantin Mierla -http://www.asipto.com
    http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  
-http://www.linkedin.com/in/miconda
    Kamailio World Conference, April 16-17, 2013, Berlin
      -http://conference.kamailio.com  -


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



--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -

_______________________________________________
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