TCP Keep-Alive - tcp getting destoryed

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

 



Hi,

 

Before creating the endpoint I set the tcp keep_alive interval to 90 sec as below

 

    pjsip_cfg_t *mysipcfg = pjsip_cfg();

    mysipcfg->tcp.keep_alive_interval = 90;

 

    /* Create the endpoint: */

 

    status = pjsip_endpt_create(&cp.factory, endpt_name,

                                &g_endpt);

 

After 90 secs, I could see keep-alive packets being sent(only once it is sent), after 10 sec or so I also see tcp getting disconnected.

Below is the pjsip log snippet

 

06:06:17.830 (31416:31421) [Controller]     tcpc0x7f79340296c8 Sending 4 byte(s) keep-alive to 10.198.161.88:5060

06:06:29.832 (31416:31421) [Controller]     tcpc0x7f79340296c8 TCP transport destroyed normally

 

Could you please let me know why this TCP transport getting destroyed even after setting the keep-alive interval.

 

Regards

Naveen.S


NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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