Brez Borland wrote:
> Hi all,
>
> Below I assume using tcp transport for registrations.
>
> As I understand, while using a reliable transport for dialogs the
> connection between UAC and the next hop is active until the dialog is
> terminated by one party sending BYE and another party responding back.
> The connections on both sides are then closed.
You can't assume that.
Iñaki pointed you to the "outbound" and "connection reuse" stuff.
Aside from that, the best you can expect is that you open a TCP
connection to some destination when you want to send a request, and you
may receive the responses to that request on the same connection. Then,
if you wish you may send additional requests to the same destination
over the same connection. But requests to you, even in the same dialog
will come over a different connection initiated from the other end, and
you will be responding to those, preferably over the same connection.
Thanks,
Paul
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors