In my opinion there should be also a last 'else' branch just in case any of those
library introduce a return code that you don't handle right now. You can say
'unknown response code' and print the value of the response code along with the
message. You can add an additional patch for it to this pull request.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/351#issuecomment-144942198