diff -uNr asterisk-1.6.2.0-rc3-orig/main/rtp.c asterisk-1.6.2.0-rc3/main/rtp.c --- asterisk-1.6.2.0-rc3-orig/main/rtp.c 2009-10-16 19:45:44.000000000 +0200 +++ asterisk-1.6.2.0-rc3/main/rtp.c 2009-10-16 19:50:43.000000000 +0200 @@ -1291,6 +1291,8 @@ } if (g_srtp_res && rtp->srtp && g_srtp_res->unprotect(rtp->srtp, buf, &len) < 0) { + /* just a workaround - not a solution */ + errno = EAGAIN; return -1; }