irontec / sngrep

Ncurses SIP Messages flow viewer
GNU General Public License v3.0
1k stars 189 forks source link

Display RE-INVITE in callflow #180

Open ishmaelen opened 7 years ago

ishmaelen commented 7 years ago

Hello

Would it be possible for you to display "RE-INVITE" (same CallID and From tag) in call-flow instead of always "INVITE" ?

Thx!

Kaian commented 7 years ago

Hi @ishmaelen

This may be interesting, but maybe something enabled by a keybinding. Right now we display the request method or response text extracted directly from the message.

In order to implement this, we should start parsing from/to tag, which we don't right now. My implementation idea will be: by pressing a key (or enabled by default via rc file), change the method by their short version (INV, UPD,...) and add any extra information (like re-INVITE, Media-Changed, and so on).

Thanks for the suggestion, I'll keep it in mind!