Comments (4)
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.
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.
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.
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)
- UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtpengine/12.2.1.5/build/xt_RTPENGINE.c:5156:32
- compile rtpengine failed on ubuntu 22.04 with error "undefined reference to `av_channel_layout_default'" HOT 4
- SRTP output wanted, but no crypto suite was negotiated HOT 1
- rtpengine mr10.5 crashed in __dtx_send_later HOT 2
- `silent-timeout` not working HOT 1
- for rhel 8.9 mr11.5 there is an compilation issue HOT 1
- rtpengine not support H264 HOT 3
- call.h:921:7: error: unknown type name ‘__auto_type
- kamailio rtpengine re-INVITE HOT 1
- kzalloc() return 0. HOT 6
- DKMS Rebuild modules failed HOT 2
- libg729 crash on rtpengine 9.5.2 HOT 1
- Wrong IPv session stats HOT 3
- ipv4 only media current sessions number wrong after restart HOT 1
- numsessions "current sessions own" and "ipv4 only media" almost always differ HOT 1
- RTP silent-timeou is not working HOT 3
- no log output HOT 1
- How to get linux/btree.h HOT 2
- SRTP with Kamailio Signalling HOT 1
- 如果在某些云主机上部署出现报错绑定网卡相关的问题,可以尝试使用这个仓库中的两个文件替换,属于魔改版
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtpengine.