diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index f337325122757d2c798c0df59b0f6ab8bedf2b09..53cd8c823bc7f4cecc44a8f791c704653c8e47da 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -2039,9 +2039,9 @@ static int add_sdp_streams(void *obj, void *arg, void *data, int flags)
 	int res;
 
 	if (handler) {
-		/* if an already assigned handler does not handle the session_media or reports a catastrophic error, fail */
+		/* if an already assigned handler reports a catastrophic error, fail */
 		res = handler->create_outgoing_sdp_stream(session, session_media, answer);
-		if (res <= 0) {
+		if (res < 0) {
 			return 0;
 		}
 		return CMP_MATCH;