進出口使用星號ANS CSipSimple作爲客戶端試圖建立VOIP交換,FOL是detials設置TLS + ZRTP對於VOIP使用Asterisk和CSipSimple
服務器端:
- 生成服務器證書和兩個客戶端
- 將在/ etc /星/密鑰服務器證書/
SIP的.conf:
[general]
context=local
allowguest=no
alwaysauthreject=yes
allow=gsm
allow=ulaw
allow=alaw
directmedia=yes
allowoverlap=no
bindport=5061
tlsdontverifyserver=yes
tlsenable=yes
tlsbindaddr=192.168.0.119
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscapath=/etc/asterisk/keys
register => tls://john:[email protected]:5061
register => tls://jane:[email protected]:5061
tlscipher=ALL
tlsclientmethod=tlsv1
localnet=192.168.0.119/255.255.255.0
[john]
type=peer
defaultuser=john
secret=password
dtmfmode=rfc2833
callerid="User one"
host=dynamic
canreinvite=no
nat=no
encryption=yes
transport=tls
[jane]
type=peer
defaultuser=jane
secret=password
dtmfmode=rfc2833
callerid="User two"
host=dynamic
canreinvite=no
nat=no
encryption=yes
transport=tls
客戶端:
設置在OSTN帳戶中的TLS設置
UDP啓用TCP啓用
SRTP禁用 ZRTP創建ZRTP 碼=> GSM ,ulaw,alw
問題
TLS + ZRTP顯示和呼叫由 上而不是星號CLI我看到一個消息話題,
採用了android 4.2.2星號1.8,如果我做SRTP強制性和ZRTP =>創建ZRTP呼叫作出指示TLS來直接跳+ SRTP警告[5008] [C-00000034]:chan_sip.c:10433 process_sdp:匹配 設備設置爲使用SRTP,但請求不是!
我如何能實現TLS + ZRTP上
IM使用CSipSimple作爲客戶端的星號。
問候。