Summary:ASTERISK-13733: SRTP fail before a complete Answer is done
Reporter:Kristijan Vrban (kristijan)Labels:
Date Opened:2009-03-11 23:29:19Date Closed:2011-06-07 14:08:24
Versions:Frequency of
Description:Call from SRTP SIP-Phone into:

exten => 4001,1,Answer
exten => 4001,n,MusicOnHold()
-->OK, get Moh with SRTP.

exten => 4002,1,MusicOnHold()
-->Not ok: Get Error:

[Mar 12 05:15:28] DEBUG[8696]: rtp.c:3945 ast_rtp_write: Created smoother: format: 8 ms: 20 len: 160
[Mar 12 05:15:28] DEBUG[8696]: res_srtp.c:301 res_srtp_unprotect: SRTP unprotect: authentication failure
[Mar 12 05:15:28] WARNING[8696]: rtp.c:1723 ast_rtp_read: RTP Read error: No such file or directory.  Hanging up.
   -- Stopped music on hold on SIP/18-b77dbad0

So calling a app that do not make a Answer itself (like MusicOnHold), you get this error. Surely there are also other circumstances (early media?) where RTP starts moving to the phone without a complete answer is done.
Comments:By: Joshua C. Colp (jcolp) 2009-03-12 08:33:09

Since this issue is about a branch that is still in progress please add a note to the issue report tracking that branch. It is 5413.