odorik
This is an old revision of the document!
Odorik + pjsua + SRTP
- stáhneme a zkompilujeme https://www.pjsip.org/
- vlezeme do pjproject-2.9/pjsip-apps/bin
- stáhneme „Silnejsi certifikat na portu 6670“ z http://www.odorik.cz/w/srtp#verejny_klic_certifikacni_autority do odorik.pem
- vyrobíme odorik.conf
--id sips:400123@sip.odorik.cz --registrar sips:sip.odorik.cz:6670 --username 400123 --password nbusr123 --realm * #--null-audio #--auto-play #--play-file a.wav --rec-file bb.wav --auto-rec --use-tls --use-srtp=2 --tls-ca-file=odorik.pem --tls-verify-server --disable-stun --dis-codec=speex --dis-codec=GSM --dis-codec=iLBC --dis-codec=G722 --dis-codec=PCMU --dis-codec=opus
(ano kodeky je potřeba vypnout ručně, přes TLS nějak nefunguje autonegotiation)
- je potřeba použít port 6670, protože na portu 5061 mají RSA veřejný klíč dlouhý 512 bitů
- voláme:
./pjsua-x86_64-unknown-linux-gnu --config-file odorik.conf sips:*081@sip.odorik.cz:6670
odorik.1571790564.txt.gz · Last modified: 2019-10-23 02:29:24 by 127.0.0.1