TLS Transport Disconnected and auto reconnected

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

 



Hi,

    Have you set any interval time for keep-alive mechanism ?


On Tue, Jul 16, 2013 at 1:29 PM, Pasquale Caruso
<pasquale.caruso at n4com.it>wrote:

> I'm running on mobile ( objective - c ).
> Yes, i can debug into iphone.
>
>
>
> Il giorno 15/lug/2013, alle ore 18:22, Khoa Pham ha scritto:
>
> You're running pjsip on Windows, Linux or mobile ?
> Can you debug into it ?
>
>
> On Mon, Jul 15, 2013 at 8:01 PM, Pasquale Caruso <pasquale.caruso at n4com.it
> > wrote:
>
>> Hi,
>> i have configured my voip client with TLS transport. This is work great,
>> with making call. The problem is that after about 2 minutes, i receive a
>> call to pjsip callback "on_transport_state" that give me state:
>> "PJSIP_TP_STATE_DISCONNECTED" and immediately after i receive a
>> "PJSIP_TP_STATE_CONNECTED".
>> This process is repeated cyclically. After a few tries i receive
>> "PJSIP_TP_STATE_DISCONNECTED" without more send callback connection. The
>> question is:
>> why i receive this sequence of messages from pjsip ?
>>
>> Note: I have a self-signed certificate, in my server configuration and i
>> have disabled both verification ( client , server ).
>>
>> In my client I have configured TLS transport in this way:
>>
>> pjsip_tls_setting_default(&app_config->tls_cfg.tls_setting);
>> app_config->tls_cfg.port = 65000;
>> ?.
>> ?.
>> pjsua_transport_create(PJSIP_TRANSPORT_TLS, &app_config->tls_cfg,
>> &transport_id);
>> app_config->tls_cfg.tls_setting.method = PJSIP_TLSV1_METHOD;
>>
>> I miss anything ? How can i solve this problem with continuous
>> disconnection/reconnection ?
>>
>> Any help will be appreciate.
>> Thanks in advance
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Khoa Pham
> HCMC University of Science
> www.fantageek.com
>  _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>


-- 

Regards,
J Alex Antony Vijay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130718/6883efa2/attachment-0001.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