Add a command that will leave only one telephone-event line in SDP
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
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- audio-video-rtc
Direzione di ricerca
Start from how rtpengine_offer flags are parsed, then trace where the outgoing SDP is assembled and where codec-transcode appends the telephone-event/48000 rtpmap alongside the OPUS and PCMA entries. The two SDP exchanges in the report (offer to the client and the answer that ends up with no telephone-event) are the test case. Done means a flag, or a documented flag combination, that leaves only one telephone-event line when transcoding PCMA to OPUS. The report has gone unanswered for months and no approach has been agreed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe
Hello,
The problem is that there are some SIP clients (Mac telephone, Zoiper, Microsip 3.20) that, if they are received 2 telephone-events in SDP for OPUS and for the 711 codec, select the wrong one in SDP and cannot use DTMF afterwards. The following flags are used when calling rtpengine_offer: rtcp-mux-demux DTLS=off SDES-off ICE=remove RTP/AVP replace-origin codec-transcode-opus codec-transcode-PCMA codec-transcode-telephone-event, so telephone-event/48000 is always added.
Question: is there any way to solve this with the correct rtpengine flags, or just get rid of buggy clients?
Or maybe it's possible to add a flag that won't add telephone-event/48000 to every SDP when we want transcoding between PCMA and OPUS?
Examples:
SDP in INVITE to the client:
m=audio 11492 RTP/AVP 8 96 97 101
c=IN IP4 Y.Y.Y.Y
a=rtpmap:8 PCMA/8000
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=rtpmap:97 telephone-event/48000
a=fmtp:97 0-15
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
a=rtcp:11493
a=ptime:20
a=maxptime:140
Client's answer:
c=IN IP4 X.X.X.X
t=0 0
m=audio 58085 RTP/AVP 8 0 97
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=sendrecv
a=rtcp-mux
And result SDP after rtpengine process answer - it goes without telephone-event because SIP-client used wrong dtmf, 97 instead 101:
m=audio 11874 RTP/AVP 8
c=IN IP4 X.X.X.X
a=rtpmap:8 PCMA/8000
a=sendrecv
a=rtcp:11875
a=ptime:20
Describe the solution you'd like
Maybe it's possible to add a flag that won't add telephone-event/48000 to every SDP when we want transcoding between PCMA and OPUS?
Describe alternatives you've considered
No response
The rtpengine version you checked that didn't have the feature you are asking for
13.5.1.2+0~mr13.5.1.2 git-mr13.5.1-876b260
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sipwise/rtpengine
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 2 giorni
-
HTTP/WS worker threads spin forever in `__websocket_write_done()` (`sched_yield` loop) — 100% CPU with `--listen-http`Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
sipwise/rtpengine#2197 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Kernel NULL pointer dereference in target_put() during target deletionForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
sipwise/rtpengine#2190 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Calls using a third logical interface are silently never written to Redis (breaks keyspace-notification HA)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
sipwise/rtpengine#2181 · 4 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di sipwise/rtpengine
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
bioconda/bioconda-recipes#70187 ·
I maintainer di solito rispondono entro 2 giorni
-
documentation Needs Triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 93/100
I maintainer di solito rispondono entro 1 giorno
-
Proposed Text EditsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
curl/everything-curl#658 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
PDLPorters/pdl#561 ·