mirror of https://github.com/asterisk/asterisk
According to RFC 8866 (Section 5.2), the Session Name (s=) field and the username part of origin (o=) are both mandatory and cannot be empty. If a session has no name, or no username part of origin, the RFC recommends using a single dash (-) as a placeholder. This fix ensures that if the session name or the username part of origin length is zero , it defaults to -. Fixes: #1524pull/1788/head
parent
28f62ec1e8
commit
99a2fa8c68
Loading…
Reference in new issue