Comments (14)
More information please. What happened in this call previously and who's sending what kind of RTP traffic where?
from rtpengine.
Cisco phone <---> asterisk <---> kamailio + rtpengine <---> sipml5
Cisco phone calls to sipml5, sipml5 answers, call is established, then sipml5 presses hold this happen.
from rtpengine.
So rtpengine was talking SRTP to sipml and RTP to asterisk. Then sipml went sendonly, and then rtpengine started sending SRTP to asterisk? Is that what you're saying?
from rtpengine.
yes, that's right
from rtpengine.
Here's trace from asterisk:
https://www.dropbox.com/s/pkbfeumgboqt9y3/glue.pcap?dl=0
from rtpengine.
The pcap shows that the call is hung up (BYE in packet 1411) before the re-invite to sendonly (1412). Also there's no RTP packets after this point.
I tried reproducing what you describe but I can't.
from rtpengine.
What can be wrong? Maybe I'm calling rtpengine_manage with wrong options?
from rtpengine.
Can you make a pcap of the other side as well, and also post the full rtpengine log for the entire call please. I'm guessing that packet 1409 is what triggers the error in asterisk.
from rtpengine.
Hi,
took pcap from kamailio to sipml5, also here's log files from rtpengine and from sipml5:
https://www.dropbox.com/sh/mt4zu396frb3be0/AACZriVHq5h7xL4DbcmLV1Jqa?dl=0
from rtpengine.
Can you please try apply the following patch, recompile and see if that fixes your issue?
diff --git a/daemon/call.c b/daemon/call.c
index 548f98c..c60cd6c 100644
--- a/daemon/call.c
+++ b/daemon/call.c
@@ -611,8 +611,7 @@ static int stream_packet(struct stream_fd *sfd, str *s, struct sockaddr_in6 *fsi
if (MEDIA_ISSET(media, DTLS) && is_dtls(s)) {
ret = dtls(stream, s, fsin);
- if (!ret)
- goto done;
+ goto done;
}
if (PS_ISSET(stream, STUN) && is_stun(s)) {
from rtpengine.
Did not work, still getting the same.
from rtpengine.
Anything helpful in the logs? I can't see to find any actual logs in what you've uploaded earlier, there's only some MacOS specific files that I don't know what to do with.
from rtpengine.
Sorry. Moved from pages to txt files:
https://www.dropbox.com/sh/mt4zu396frb3be0/AACZriVHq5h7xL4DbcmLV1Jqa?dl=0
from rtpengine.
I've finally been able to reproduce this and the above commit should fix this issue for you. Let me know if there's any more problems.
from rtpengine.
Related Issues (20)
- cannot compile mr8.5.12 HOT 2
- RFC 2833 issue - tripling of digits due to final 2 payloads getting new timestamp HOT 3
- Proposal to change this log from ERR to WARN HOT 1
- 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 1
- 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
- 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
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.