Skip Menu |

This queue is for tickets about the Net-SIP CPAN distribution.

Report information
The Basics
Id: 88045
Status: resolved
Priority: 0/
Queue: Net-SIP

People
Owner: Nobody in particular
Requestors: aditya [...] grot.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: making a call uses UDP despite the SRV record only existing for TCP
When calling a SIP URI which resolves to a SRV that only provides TCP (ie. _sip._tcp.X.Y is defined but not _sip._udp) then the call isn't made using the proto = TCP (I realize it isn't supported correctly in Net::SIP::Leg::sendto)
Subject: incomplete support for TCP
Am Do 22. Aug 2013, 22:13:25, http://grot.org/aditya/ schrieb: Show quoted text
> When calling a SIP URI which resolves to a SRV that only provides TCP > (ie. _sip._tcp.X.Y is defined but not _sip._udp) then the call isn't > made using the proto = TCP (I realize it isn't supported correctly in > Net::SIP::Leg::sendto)
Yes, and both BUGS and TODO (included in the distribution and referenced from README) note this problem. To make it more visible I added also a BUGS section to perldoc Net::SIP. Because of lack of time and a changed focus of my work this problem will not be fixed by me in the foreseeable future, but you can subclass Net::SIP::Leg and at least provide your own TCP aware receive and sendto functions.
Show quoted text
> Because of lack of time and a changed focus of my work this problem > will not be fixed by me in the foreseeable future, but you can > subclass Net::SIP::Leg and at least provide your own TCP aware receive > and sendto functions.
The just release version 0.700 of Net::SIP includes better support for TCP. This problem should hopefully be solved with the new version.