“SIP registration failed with status=503 (Connection refused)” with PJSUA2

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

 



Hi all,

I succefuly build pjsip library with OpenSSL. Now how can I configure TLS
transport using pjsua2 api? After added tls ransport(ep.transportCreate(
pjsip_transport_type_e.PJSIP_TRANSPORT_TLS, ipTpConfig);), log tells, that
"!SIP TLS listener is ready for incoming connections". But when I added new
account, SIP registration failed with status=503(Connection refused). where
do I add asterisk.pem  and myapp.pem ?Here is asterisk configuration:

icesupport=yes
avpf=yes
qualify=yes
encryption=yes
dtlsenable=yes
dtlsverify = no
dtlsrekey = 60
dtlscafile = /var/lib/asterisk/keys/ca.crt
dtlscertfile = /var/lib/asterisk/keys/asterisk.pem
dtlssetup = actpass

-------------------------------------

Irakli Managadze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150918/7cf85438/attachment.html>


[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