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

debug flag should also dump the offer

Aperta
#1,659 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
perl
Ambito
observability

Direzione di ricerca

The payload quotes the daemon's log lines: a [control] Dump for 'offer' DEBUG line followed by [core] Creating new call. Start where incoming control requests parse their options, including the flags list shown in the dump ("flags": ["debug", "trust-address"]), and find the condition that already enables per-call debug logging; the offer dump needs the same gate. Done means an offer carrying the debug flag prints its full dumped body, which you can check by running the daemon with debug logging and replaying a control offer (the repo's Perl test scripts drive the control protocol).

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

Descrizione

RTP Engine Version: 11.1.1.9

If a flag "debug" is used on the offer the call gets debug logged.
It would be great (if possible) if the "[control] Dump for 'offer'" could also be debug logged. In the 11.1.1.9 version the

May  4 17:17:27 rtpp5 rtpengine[119240]: DEBUG: [fdb77b8ada2c5168a7321270b035934e]: [control] Dump for 'offer' from 10.55.114.91:40808: { "supports": [ "load limit" ], "sdp": "v=0
...
May  4 17:17:27 rtpp5 rtpengine[119240]: ", "ICE": "remove", "flags": [ "debug", "trust-address" ], "replace": [ "origin", "session-connection" ], "codec": { "strip": [ "PCMU", "RED", "CN", "G729" ] }, "transport-protocol": "RTP/AVP", "rtcp-mux": [ "demux" ], "call-id": "fdb77b8ada2c5168a7321270b035934e", "via-branch": "z9hG4bK54f6a9a9", "received-from": [ "IP4", "52.114.75.24" ], "from-tag": "8c7391546d7d45a6a6c00c3f386e3197", "command": "offer" }

lines are not dumped.

Currently the debug starts with

May  4 17:17:27 rtpp5 rtpengine[119240]: NOTICE: [fdb77b8ada2c5168a7321270b035934e]: [core] Creating new call
May  4 17:17:27 rtpp5 rtpengine[119240]: DEBUG: [fdb77b8ada2c5168a7321270b035934e]: [internals] getting monologue for tag '8c7391546d7d45a6a6c00c3f386e3197' in call 'fdb77b8ada2c5168a7321270b035934e'

This is the log right after the DEBUG [control] Dump for 'offer' log, if debug logging was enabled in config file.

Sorry, if this is already adressed but I haven't found the right keywords in google to find it :-(

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.