Hi,

As far as I now, the transport protocol is specified in Via Header, not in any 
URI.

Then:

1) Using UDP (port 5060 by default), URI shall contain "sip:user@domain";

2) Using TCP (port 5060 by default), URI shall contain "sips:user@domain";

3) Using TLS (port 5061 by default), URI shall contain "sip:user@domain".

>From RFC 3261, section 19.1.2, page 152 :

"(1): The default port value is transport and scheme dependent. The
default is 5060 for sip: using UDP, TCP, or SCTP. The default is
5061 for sip: using TLS over TCP and sips: over TCP.
(2): The default transport is scheme dependent. For sip:, it is UDP.
For sips:, it is TCP."



Leonardo


________________________________
De: Gauri Kshirsagar <[email protected]>
Para: [email protected]
Enviadas: Sexta-feira, 20 de Maio de 2011 6:29
Assunto: Re: [Sip-implementors] Query regarding transport selection

In that case if I want the application to use tls over *sip scheme* how can
it be specified in the target uri  without using transport="tls" parameter
which has been depricated as per RFC 3261.



On Fri, May 20, 2011 at 10:01 AM, ABHISHEK GUPTA <[email protected]>wrote:

> It should be udp by default.
> Regards
> Abhishek
>
>
>   On Fri, May 20, 2011 at 2:08 PM, Gauri Kshirsagar <[email protected]>wrote:
>
>>  Hi,
>>
>> This is a query regarding selection of transport while sending a
>> SIP request. If the target uri is of the form
>>
>> sip:[email protected]:5061  what transport should be used ?
>>
>> Should it be udp as per rfc 3263, section 4.1 which says:-
>>
>> "Otherwise,if no transport protocol is specified, but the TARGET is a
>> numeric IP address, the client SHOULD use UDP for a SIP URI, and TCP for a
>> SIPS URI."
>> Or should it be tls since port 5061 which is default for tls is present in
>> uri.
>>
>>
>> Regards,
>> Gauri
>> _______________________________________________
>> Sip-implementors mailing list
>> [email protected]
>> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>>
>
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to