Re: PJSIP Client sending request on same connection

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

 



Hi All,

 

Could anyone reply to my query below.

 

Regards

Naveen.S

 

From: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> On Behalf Of Naveen Shivanna
Sent: Friday, December 20, 2019 6:35 PM
To: pjsip@xxxxxxxxxxxxxxx
Subject: PJSIP Client sending request on same connection

 

Hi All,

 

Hoping for a solution. Your help will be appreciated.

 

Problem

 

PJsip client sends SIP requests on the same TCP connection

 

Setup details 

 

I have pjsip client service which sends request to SIP servers on Google Cloud Platform (GCP) installed on same VPC.

In between these 2 components we are introducing "Internal TCP load balancer". Basically we wanted to load balance the TCP traffic(SIP Messages) from pjsip client to different SIP Servers sitting behind the load balancer as depicted in the diagram below.

 

 

Observation

 

Since the pjsip have single transport created and hence the request goes on the same connection to Load Balancer ip-address. Load balancer balances the traffic based on the rule “Client IP, Src port and protocol”.. Since any request coming from PBX1 pjsip client will always be having same ip-address and the connection is also same.. all the requests for going to one SIP Server. Because of this we are not able to load balance the traffic to other SIP Servers

 

Could any one suggest me how I can create different connections for each SIP session created by same PBX pjsip client (PBX1).

 

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