I think the UAC should try the transports in the order in which it was received in dns reply.
>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On >Behalf Of Tao Yang >Sent: Wednesday, July 25, 2007 6:12 AM >To: sip-implementors@lists.cs.columbia.edu >Subject: [Sip-implementors] Question about transport and next >ip addressselecting > >I have the two case, when send sip message failure, how to retransmit? > >Case A >Ther DNS record is following >_sip._tcp.example.com IN SRV 0 1 5060 >server1.example.com >_sip._tcp.example.com IN SRV 0 2 5060 >server2.example.com >_sip._udp.example.com IN SRV 0 1 5060 >server1.example.com >_sip._udp.example.com IN SRV 0 2 5060 >server2.example.com >server1.example.com IN A 1.1.1.1 >server2.example.com IN A 1.1.1.2 > >When I send the message to example.com with TCP, first I >choose using TCP to send the message to server1.example.com, >but send failure. >Should I still using TCP to send message to >server2.example.com Or using UDP to send message to >server1.example.com? > > > >Case B >Ther DNS record is following >_sip._tcp.example.com IN SRV 0 1 5060 >server1.example.com >_sip._udp.example.com IN SRV 0 1 5060 >server2.example.com >server1.example.com IN A 1.1.1.1 >server1.example.com IN A 1.1.1.2 >server2.example.com IN A 1.1.2.1 >server2.example.com IN A 1.1.2.2 > >When I send the message to example.com with TCP, first I >choose using TCP to send the message to server1.example.com >(1.1.1.1), but send failure. >Should I still using TCP to send message to >server2.example.com (1.1.2.1) Or using UDP to send message to >server1.example.com(1.1.1.2)? >_______________________________________________ >Sip-implementors mailing list >Sip-implementors@lists.cs.columbia.edu >https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors