pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.07k stars 786 forks source link

Modified dialog response status code upon receiving bad request #4147

Closed sauwming closed 1 week ago

sauwming commented 1 week ago

Currently when UAS transaction creation fails, we always reply with 500 (Internal server error), while 400 (Bad request) should be more appropriate if the failure is due to malformed request.