3 ms·
I'd like to share with you my personal hell for a few years: https://raw.githubusercontent.com/asterisk/asterisk/master/channels/chan_sip.c https://raw.githubus
by viraptor 9y ago
I'd like to share with you my personal hell for a few years: https://raw.githubusercontent.com/asterisk/asterisk/master/channels/chan_sip.c https://raw.githubusercontent.com/asterisk/asterisk/master/c...
Whatever are your opinions on comments, this file breaks them all with a good reason behind each.
And it's still implementing a standard which should be fairly well defined, but... isn't.
So yes, multiple comments explaining code, explaining behaviour, reproducing relevant parts of the standard, and many others. The code both requires them to know wtf is going on, and at the same time is pretty close to simple as far as multithreded SIP can go.