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

OPUS to G729 Transcoding broken after SIP Re-INVITE (No SDP)

Aperta
#1,703 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
audio-video-rtc

Direzione di ricerca

The issue names no source files, tests, or entry points; start from the attached rtpengine log and Wireshark capture to reproduce the Opus/G729 call with a re-INVITE that has no SDP. Trace how rtpengine updates the negotiated codecs and transcoding state on re-INVITE, especially where a no-SDP update is handled. Done means the third-party endpoint continues to receive G729 after the re-INVITE instead of Opus.

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

Descrizione

I am having transcoding issue with particular scenario when rtpengine is initially transcoding audio stream between opus and G729 but after SIP re-INVITE with NOSDP is initiated rtpengine transcoding is broken and it starts to send opus to the party which doesn't even support g729: -

SIP signalling and RTP streams info: -

 (webrtc gateway/janus) 10.219.36.155 --------------------> (kamailio/rtpengine)10.211.95.1 ----------------> (third party)10.211.72.1
Media IP:       10.219.36.155                                           10.211.95.2                                10.210.90.1     
   (OFFER) audio 34690 RTP/AVP                         (ANSWER) audio 18354 / (OFFER) audio 18338          (ANSWER)  audio 22728 with 
    RTP/AVP 111 9 8 110 126                            RTP/AVP 111 9 8 18 110 126 / 111 9 8 18 126 110 126     RTP/AVP 18 126
     RTP      <==========================OPUS========================>              =====================G729=================>
	                                         NO Issue with Transcoding initial call
     

	 
                                                                                                               Re-INVITE with NOSDP FROM
(webrtc gateway/janus) 10.219.36.156 <-------------------- (kamailio/rtpengine)10.211.95.1 <---------------- (third party)10.211.72.1
        NOSDP                                                      NOSDP                                         NOSDP
   (OFFER) audio 34690 RTP/AVP                            (ANSWER) audio 18354 / (OFFER) audio 18338          (ANSWER)  audio 14416
Media IP:  10.219.36.156                                          10.211.95.2  / 10.211.95.2                      10.210.72.111
    RTP/AVP 111 9 0 8 126 110                            RTP/AVP 111 9 8 110 126 126 / 18 111 9 8 126 110         RTP/AVP 18 126
	     RTP   <=======================OPUS============================>              =======================OPUS ???=============> 
		                                            Here! RTPEngine transcoding is broken with OPUS RTP stream being sent to Media IP: 10.210.72.111 where it doesn't even support it
		                                                                     <===============G729========================
					
    RTCP(No Issues)   <===================================================>             <==================================>

Wireshark call flow: -
opu-g729-trancode

rtpengine version: 9.5.7.1 custom running on the redhat
Linux xxx-xxxx-xxx-xxx-02.xxxxxxxxxx3.xxxxx 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Attached rtpengine log with loglevel 7
opus-g729-bad-transcod.log

Wireshark capture: -
opus-g729-transcode-bad.zip

Please can someone pointers me where can be the issue :) as the issue is always occurring: -

Second example call flow: -

image

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.