Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

hope the forwarding server receives the caller, callee, and mixed RTP streams simultaneously.

Aperta
#2,078 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
debian, linux

Direzione di ricerca

No source files are named in the payload. Start from the rtpp_flags=directional handling in rtpengine's start-forwarding control path and from the tcp-mixed option in rtpengine-recording.conf, then read the attached rtpengine.log and rtpengine-recording.log to see which streams are actually opened. Trace why only the callee stream reaches the TCP listener on 127.0.0.1:9000. Done means the forwarding server receives caller, callee and mixed RTP concurrently.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature-request
rtpengine version the issue has been seen with

13.5.1.3+0~mr13.5.1.3

Used distribution and its version

Debian 13

Linux kernel version used

6.12.73+deb13-amd64

CPU architecture issue was seen on (see uname -m)

x86_64

Expected behaviour you didn't see

I would like the forwarding server to receive both individual caller/callee RTP streams and the mixed RTP stream simultaneously.

But currently only the callee's RTP stream is being received.

rtpengine-recording.conf:

table = 0
tcp-send-to = 127.0.0.1:9000
tcp-mixed = true
...

kamailio.cfg:

route[start_forwarding] {
	if (is_request()) {
		if(!has_totag()) {
			jansson_set("string", "callid", "$ci", "$var(myjson)");
			jansson_set("string", "from", "$fU", "$var(myjson)");
			jansson_set("string", "to", "$tU", "$var(myjson)");
			jansson_set("string", "stream", "caller", "$var(myjson)");
			start_forwarding("metadata=$var(myjson) rtpp_flags=directional");			
			xinfo("invite start_forwarding\n");
		}
	} else {
		if(has_body("application/sdp") && !dlg_isflagset("1")) {
			jansson_set("string", "callid", "$ci", "$var(myjson)");
			jansson_set("string", "from", "$fU", "$var(myjson)");
			jansson_set("string", "to", "$tU", "$var(myjson)");
			jansson_set("string", "stream", "callee", "$var(myjson)");
			start_forwarding("metadata=$var(myjson) rtpp_flags=directional");
			dlg_setflag("1");
			xinfo("answer start_forwarding\n");
		}
	}
	return 1;
}

rtpengine.log:

[control] Dump for 'start forwarding ... "rtpp_flags": "directional"
[core] Start forwarding (entire call)

rtpengine-recording.log:

DEBUG: [core] [tls_send.c:122] Starting TCP connection to 127.0.0.1:9000
...

rtpengine.log
rtpengine-recording.log

The "rtpp_flags=directional" option appears to have no effect.

Unexpected behaviour you saw

No response

Steps to reproduce the problem

No response

Additional program output to the terminal or logs illustrating the issue

Anything else?

No response

Lingua principale
Perl
Stelle
992
Fork
459
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sipwise/rtpengine

Tutte le issue di sipwise/rtpengine

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.