User Tools

Site Tools


odorik
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Next revision
odorik [2019-10-23 02:29:24] – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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<code>--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
 +</code>(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: <code>./pjsua-x86_64-unknown-linux-gnu --config-file odorik.conf sips:*081@sip.odorik.cz:6670</code>
  
odorik.txt · Last modified: by jenda

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki