Git Product home page Git Product logo

Comments (4)

rfuchs avatar rfuchs commented on July 22, 2024

It's very similar to the old EI/IE flags, in fact you can directly translate those into the spelled-out options "internal" and "external". Run the rtpengine daemon with arguments -i internal/1.2.3.4 -i external/4.5.6.7 and you should be good to go.

from rtpengine.

nakchak avatar nakchak commented on July 22, 2024

Thanks, i re-read the documentation and realised that, and now have that running :)
Im now trying to work out how to get this running in kamailio, i see that there is a rtpengine module in the current devel kamailio, i assume that this wont work with the 4.1 release of kamailio?
as the new flags format is a massive improvement and would much rather use that than rtpproxy-ng module's flags format.
From my experiments this morning it seems that unless i revert to the original rtpproxy module i cant get the i & e flags to behave as expected...

from rtpengine.

rfuchs avatar rfuchs commented on July 22, 2024

In 4.1 you have the module rtpproxy-ng, which features the same flags as rtpproxy (including E and I). This should work as well.

from rtpengine.

nakchak avatar nakchak commented on July 22, 2024

I think I found my problem…

Im running rtpengine from the init.d script, so I just duplicated the RTP_IP line in sysconfig/rtpengine and set the interfaces accordingly, I decided to echo out the arguments being passed by the init script and only a single interface was being passed, manually setting the interfaces in the script like so:

#if [[ -n "$RTP_IP" ]]
#then
    #OPTS+=" --interface=$RTP_IP"
    OPTS+=" --interface=external/172.16.51.70!123.123.123.123"
    OPTS+=" --interface=internal/172.16.52.70"

#fi

Seems to be doing what I need, really should learn to RTFM sorry

from rtpengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.