Comments (7)
Hi @gedia, I think there is a bit of mess in our doc in regards of how to use the substitution part of the sdp-attr manipulations.
This relates to the way of syntax used by you. I should look into that and actualize it.
For now try to use the full syntax using dictionaries and lists as suggested in the doc mainly.
For example:
'sdp-attr' => { audio => { substitute => [['fmtp:101..0-16', 'fmtp:101..0-15,32,36']] } }
from rtpengine.
Hello @zenichev, thanks for looking into this.
Hi @gedia, I think there is a bit of mess in our doc in regards of how to use the substitution part of the sdp-attr manipulations. This relates to the way of syntax used by you. I should look into that and actualize it.
I'm not sure the docs are to blame here. In commit 0a400e0, there seem to be tests which use the same syntax I did in the logs above. From the tests, auto-daemon-tests.pl, line 16739:
flags => ['sdp-attr-substitute-audio-test1>test2']
For now try to use the full syntax using dictionaries and lists as suggested in the doc mainly. For example:
'sdp-attr' => { audio => { substitute => [['fmtp:101..0-16', 'fmtp:101..0-15,32,36']] } }
Unfortunately I can't use the full syntax for my use case, as kamailio's rtpengine module doesn't have support for this. @rfuchs has mentioned (kamailio/kamailio#3509) eventually supporting a JSON-esque syntax for rtpengine_manage functions, but this hasn't materialized yet. I understand this syntax was supposed to be an interim solution until this refactoring lands.
from rtpengine.
@gedia Alright, I see now. I will check the syntax you've used out and see what's up here.
I'll keep you posted.
from rtpengine.
Fixed in:
from rtpengine.
@gedia upgrade to 11.5.1.8+0~mr11.5.1.8
and see, if it works for you now.
from rtpengine.
Wow, that doesn't seem to have been as trivial a fix as I was expecting!
I'll check the new code once binaries are made available, thanks for looking into this so promptly!
from rtpengine.
Hello again,
It took a little longer than I anticipated, but I can now confirm that attr-substitute seems to be working as intended on rtpengine 11.5.1.9-1~bpo11+1.
I'm closing this for now, thank you for the fix!
from rtpengine.
Related Issues (20)
- DTMF event sending does not recover from failure HOT 6
- security: RTPengine may fully disable existing firewall
- Using the rtpengine + rtpengine-recording modules for recording. Only the caller side sends flows to the recording module, and the callee side does not. HOT 3
- Codec with dynamic pt stripped in answer if different pt than in offer HOT 1
- Error! Bad return status for module build on kernel: HOT 6
- rtpengine-recording not including the label (%l) in the file name. HOT 1
- System hard lock or kernel call traces generated when using rx-gro-list or rx-udp-gro-forwarding offloads HOT 11
- Netfilter rules check NOT successful: immediate-goto rule not found HOT 7
- Reset average MOS and other statistics
- DTLS: last handshake flight cannot be retransmitted in rtpengine
- Crash in function proc_blist_read (kernel mode). HOT 2
- RTCP feedback TMMBR HOT 1
- Sometimes DTLS cannot be negotiated HOT 2
- A code problem HOT 1
- Geting SIGFPE when trying restore calls from redis with enabled: "poller-per-thread"
- RTCP packets failing to be processed properly after starting a recording on a call. HOT 4
- RTP Engine two interfaces with private IPs HOT 2
- dtls-mtu param does not have any effect on RTPEngine HOT 5
- Codec / Transcoding information returned by ng query
- How to determine the multi-channel sequence of recording
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.