Open GoogleCodeExporter opened 8 years ago
Added some logs, configs and ss of sipML5 setup.
Original comment by troe...@gmail.com
on 2 Apr 2013 at 7:58
Attachments:
[deleted comment]
[deleted comment]
Could not set SRTP policies
----------------------------
This is not a Sipml5 issue, but looks come from the media-level SDP subsystem
(audio) in asterisk.
I have compiled asterisk version 1.8, 11.5, 11.6 11.7 and 12+pjproject (beta),
using
./configure --with-crypto --with-ssl=ssl --with-srtp
All of them got the same behaviour. Even, after to apply a number of patches
recommended in this website.
Asterisk version 11.5, 11.6 and 11.7 don't understand "a=candidates" lines
reported by the WebRTC client (STUN protocol). As a result
1) res_srtp.c: Adding new policy for SSRC
2) sip/sdp_crypto.c: SRTP policy activated
3) sip/sdp_crypto.c: Accepting crypto tag 0
are not processed and "Could not set SRTP policies"
Asterisk 12 can process a=candidates, but still show the same error "Could not
set SRTP policies"
BTW: module res_srtp was always loaded at the start without errors.
The only asterisk version I have detected which set up the policy is asterisk
11.4 (package).
I could be wrong and I should to provide more parameters after
./configure --XXX -YYY
but I was unable find what is missing.
Miguel Oyarzo,
Melbourne
Original comment by miguel.o...@medulla.com.au
on 23 Nov 2013 at 9:01
Original issue reported on code.google.com by
troe...@gmail.com
on 2 Apr 2013 at 7:48