unable to use TLS with PJSIP and FreeSwitch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a FreeSwitch which is build and configured to work with TLS and SRTP.
I cannot make this work with PJSIP while when using proprietary
(thusly closed source ;-( ) clients I am able to establish secure
calls.

I have built the latest revision of PJSIP after ?setting ?*define
PJSIP_HAS_TLS_TRANSPORT 1* at
`pjproject/pjsip/include/
pjsip/sip_config.h`
and have openssl (and its header files) installed on my linux machine.
I also copied the certificate of the server and supply it in the
config file as you can see below

when running
$ ./pjsua-i686-pc-linux-gnu --config-file default.conf
I get the following in the terminal

Account list:
?[ 0] <sip:10.0.0.106:5060>: does not register
? ? ? Online status: Online
?[ 1] <sip:10.0.0.106:5060;transport=TCP>: does not register
? ? ? Online status: Online
?[ 2] <sip:10.0.0.106:5061;transport=TLS>: does not register
? ? ? Online status: Online
?*[ 3] sip:1050 at cheerfulsanity.net: 200/OK (expires=87)
? ? ? Online status: Online


the default.conf contains the following lines:

--id sip:1050 at domain.net
--registrar sip:domain.net
--realm *
--username 1050
--password ********
--use-srtp 2
--srtp-secure 0
--use-tls
--tls-cert-file cacert.pem



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux