DHAVAL INDRODIYA
2012-Feb-28 11:58 UTC
[asterisk-users] Asterisk Version 1.8.9.2 Question About SIP/SRTP/TLS
Hi All, I have one question that if my device is registered over TLS on asterisk . is it required that it can only use SRTP for making an outbound calls or incoming calls too. how we can disable srtp and only enable TLS. is there any dial-plan functions that can help to disable/enable this SRTP. I want following settings. TLS UDP USERAGENT =======> ASTERISK =========> VoIpProvider So is it possible with asterisk. any help appreciated. thanks dhaval -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120228/ee3f7e8e/attachment-0001.htm>
Larry Moore
2012-Feb-28 15:00 UTC
[asterisk-users] Asterisk Version 1.8.9.2 Question About SIP/SRTP/TLS
On 28/02/2012 7:58 PM, DHAVAL INDRODIYA wrote:> Hi All, > > I have one question that if my device is registered over TLS on > asterisk . > > is it required that it can only use SRTP for making an outbound calls > or incoming calls too. >No.> how we can disable srtp and only enable TLS. >tlsenable=yes Make sure you have your certificates setup prior to enabling this. AFAIK Encryption of RTP isn't on by default, to disable it in your peer configurations use encryption=no> is there any dial-plan functions that can help to disable/enable this > SRTP. >Not that I am aware of.> I want following settings. > > TLS UDP > USERAGENT =======> ASTERISK =========> VoIpProvider > >TLS is used for SIP signalling, what you do with RTP is up to you. I have phones configured to use TLS and I have enforced RTP encryption i.e. SRTP by using encryption=yes in the peers configuration an setting the corresponding setting on the phone. When an outgoing call is made to my ITSP the communications between the phone and Asterisk is all encrypted, the communications with my ITSP are all un-encrypted. I have also used encryption=allow, this permits the administrator of the UA to decide if it should use SRTP or otherwise traditional RTP is used.> So is it possible with asterisk. >Yes! Was that one question!? Larry.