Asterisk does support DTLS-SRTP, but it needs to be enabled in the settings and 
configured accordingly. The error Chaim reports makes me think that it was not 
in his setup: with DTLS disabled or configured in the wrong way, RTP/SAVPF is 
rejected if no crypto attribute is found.

That said, I did have to hack the code a bit in order for it to work properly 
with Firefox. I wrote a long post on the asterisk-dev mailing list describing 
my efforts in that sense:

http://lists.digium.com/pipermail/asterisk-dev/2013-May/060355.html

I did have to play with its ICE support too, as I said on a post a few months 
ago there were issues that prevented it to work as expected with Firefox:

https://groups.google.com/forum/#!searchin/mozilla.dev.media/asterisk/mozilla.dev.media/RxQe9WrY2Ao/4xSTZa0AuxoJ

All of this was on a slightly earlier version of Asterisk, though, so I'm not 
sure whether or not the latest versions, including the brand new Asterisk 12 
pre-release, have fixed those issues in the meanwhile.

Lorenzo


Il giorno martedì 6 agosto 2013 18:30:04 UTC+2, Eric Rescorla ha scritto:
> This sounds like something to take up with the Asterisk developers.
> 
> 
> 
> If you want to send a message to them and cc me, I will see if I can
> 
> help.
> 
> 
> 
> -Ekr
> 
> 
> 
> 
> 
> On Tue, Aug 6, 2013 at 9:13 AM, Chaim Gross <[email protected]> wrote:
> 
> 
> 
> > We are using the most up to date Asterisk and it is giving us the
> 
> > following error:
> 
> >
> 
> > == Using SIP RTP CoS mark 5
> 
> > [Aug 2 08:49:02] WARNING[25952][C-000001a9]: chan_sip.c:10420 process_sdp:
> 
> > Rejecting secure audio stream without encryption details: audio 62095
> 
> > RTP/SAVPF 109 0 8 101
> 
> >
> 
> > thanks
> 
> >
> 
> > CG
> 
> >
> 
> > On Monday, August 5, 2013 11:57:04 PM UTC-4, Eric Rescorla wrote:
> 
> > > In that case it won't work. Firefox only implements DTLS-SRTP
> 
> > >
> 
> > >
> 
> > >
> 
> > > -Ekr
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > On Mon, Aug 5, 2013 at 8:27 PM, Chaim Gross <[email protected]> wrote:
> 
> > >
> 
> > >
> 
> > >
> 
> > > > On Monday, August 5, 2013 11:04:44 PM UTC-4, Eric Rescorla wrote:
> 
> > >
> 
> > > > > Does the version of Asterisk you are using support DTLS-SRTP? It's
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > a relatively recent feature.
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > -Ekr
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > On Mon, Aug 5, 2013 at 7:49 PM, Chaim Gross <[email protected]> wrote:
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > I am having trouble connecting Web RTC to my asterisk server.
> 
> > Firefox
> 
> > >
> 
> > > > is
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > not sending "valid" encryption details to Asterisk. Is anyone else
> 
> > >
> 
> > > > having
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > similar issues?
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > _______________________________________________
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > dev-media mailing list
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > [email protected]
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > > https://lists.mozilla.org/listinfo/dev-media
> 
> > >
> 
> > > > >
> 
> > >
> 
> > > > > >
> 
> > >
> 
> > > >
> 
> > >
> 
> > > > No it does not
> 
> > >
> 
> > > > _______________________________________________
> 
> > >
> 
> > > > dev-media mailing list
> 
> > >
> 
> > > > [email protected]
> 
> > >
> 
> > > > https://lists.mozilla.org/listinfo/dev-media
> 
> > >
> 
> > > >
> 
> > _______________________________________________
> 
> > dev-media mailing list
> 
> > [email protected]
> 
> > https://lists.mozilla.org/listinfo/dev-media
> 
> >
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to