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

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

 



Did you add "transport=tls" to the reg uri?
On Fri, Sep 18, 2015 at 2:04 PM Irakli Managadze <managadze at gmail.com>
wrote:

> 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
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150918/2e288d5a/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