[reSIProcate-users] Application-specific "Reason" for response via DUM
I've been asked to apply an application-specific textual description to the Status Line in some non-standard (but valid) 4xx responses. At the stack level, Resiprocate allows this -- I see the argument "reason" to Helper::makeResponse, which if not specified uses the string returned by Helper::getResponseCodeReason.
But we get to Helper::makeResponse through Dialog::makeResponse called from InviteSession::reject. There is no means to pass in the reason to the reject function. I do see the "Warning" mechanism, but our situation isn't sufficiently consistent with the examples in RFC3261 to make me think Warning is the right solution.
My system is still using Resiprocate 1.3.5, if I recall correctly. If these interfaces have been enhanced since, please be gentle. :-)
Thanks.
PK