Multiple tcp connection question?

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

 



On Wed, Dec 9, 2009 at 10:02 AM, Liu Jahow <jahowliu at gmail.com> wrote:
> Hi All,
>
> If there are two accounts want to register and those have their tcp
> connection.
> That is to say, the appleciation has multiple tcp connection to connect SIP
> server for each account.
> For example:
>
> \? |------------|
> account 1:(sip:100 at 192.168.1.10:2048;transport=TCP)-------------- \ |
> SIP????? |
> account 2:(sip:100 at 192.168.1.10:2050;transport=TCP)-------------- / |
> Server? |
>
> /?? |------------|
>
> 192.168.1.20:5060
>
> Each account uses its own tcp transport to send all method packet (REQUEST
> and RESPONSE)
> Is it possible to do such change in pjsip, and how do i do for this change?
>

The stack will reuse an existing TCP connection if the request is sent
to the same destination, and currently there's no way to change this
behavior. Please see the other thread (re:How to using different tcp
port to register server) for related discussion.

Cheers
 Benny



[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