- Wed 29th Aug 2018, 01:35
#5375
yay_encryption.png (42.32 KiB) Viewed 860 times
- Appreciate my support? Feel free to buy me a coffee.
- Voipfone are offering you the chance to trial their VoIP service for free for 30 days. Sign me up!
- Sign up for a Dropbox account using my referral link and get an extra 500 MB of bonus space. Sign me up!
What is Call Encryption, TLS and SRTP?
Call Encryption is a method of encrypting both your VoIP SIP traffic (The handshake that introduces and closes a call) and your actual VoIP Audio, often referred to as RTP traffic.
Yay.com support turning on both TLS (Transport Layer Security) to encrypt your VoIP SIP traffic and turning on encryption for your RTP traffic to make the actual audio secure using SRTP (Secure RTP). To activate TLS for the SIP traffic you don't need to do anything in your Yay.com dashboard.
SRTP encryption deals with encrypting the actual audio of the call. Therefore it can be turned on for both the inbound call audio and the outbound call audio. So for listening to what your caller has to say (inbound) and you talking to the caller (outbound). Below is what you need to do to encrypt each part:
Configure your FreePBX trunk as follows...
Outgoing
Trunk Name:
USER Context:
Once you've done that, you then need to enable call encryption in your Yay.com Dashboard. To do this go to your Dashboard > MyVoIP > User > Sip User > Edit > Call Encryption > Enable.
Example:
Call Encryption is a method of encrypting both your VoIP SIP traffic (The handshake that introduces and closes a call) and your actual VoIP Audio, often referred to as RTP traffic.
Yay.com support turning on both TLS (Transport Layer Security) to encrypt your VoIP SIP traffic and turning on encryption for your RTP traffic to make the actual audio secure using SRTP (Secure RTP). To activate TLS for the SIP traffic you don't need to do anything in your Yay.com dashboard.
SRTP encryption deals with encrypting the actual audio of the call. Therefore it can be turned on for both the inbound call audio and the outbound call audio. So for listening to what your caller has to say (inbound) and you talking to the caller (outbound). Below is what you need to do to encrypt each part:
Configure your FreePBX trunk as follows...
Outgoing
Trunk Name:
Code: Select all
PEER Details:
Yay-your_SIP_username
Code: Select all
Incomingtype=peer
qualify=yes
transport=tls
username=your_SIP_username
secret= your_SIP_password
host=talk.yay.com
dtmfmode=rfc2833
disallow=all
allow=alaw
encryption=yes
USER Context:
Code: Select all
USER Details:
from-trunk-Yay-your_SIP_username
Code: Select all
Register String:
type=peer
qualify=yes
nat=yes
insecure=port,invite
host=talk.yay.com
disallow=all
allow=alaw
transport=tls
encryption=yes
Code: Select all
**Simply replace "your_SIP_username" with your SIP username and "your_SIP_password" with your SIP password.tls://your_SIP_username:your_SIP_password@talk.yay.com/your_SIP_username
Once you've done that, you then need to enable call encryption in your Yay.com Dashboard. To do this go to your Dashboard > MyVoIP > User > Sip User > Edit > Call Encryption > Enable.
Example:
Attachments:
- Appreciate my support? Feel free to buy me a coffee.
- Voipfone are offering you the chance to trial their VoIP service for free for 30 days. Sign me up!
- Sign up for a Dropbox account using my referral link and get an extra 500 MB of bonus space. Sign me up!
How did this post make you feel?