[asterisk-users] SRTP Encryption Per Device

Matthew Jordan mjordan at digium.com
Mon Jul 9 08:22:44 CDT 2012




----- Original Message -----
> From: "Danny Nicholas" <danny at debsinc.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> Sent: Monday, July 9, 2012 8:17:25 AM
> Subject: Re: [asterisk-users] SRTP Encryption Per Device
> 
> I think so - set UDP and TLS on allow= in sip.conf, then set
> transport=udp
> on your "non-secure" devices.
> 

Those settings do not affect SRTP.

SRTP can be enabled on a device basis using the encryption setting.  From
the provided sip.conf.sample:

;encryption=no  ; Whether to offer SRTP encrypted media (and only SRTP encrypted media)
                ; on outgoing calls to a peer. Calls will fail with HANGUPCAUSE=58 if
                ; the peer does not support SRTP. Defaults to no.

In the DEVICE CONFIGURATION section, encryption is explicitly listed as a
supported setting for devices.

--
Matthew Jordan
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list