Subject: | [PATCH] Simple->invite() no longer working with a not fully qualified to |
Date: | Wed, 15 Aug 2012 16:02:30 +0200 |
To: | bug-Net-SIP [...] rt.cpan.org |
From: | Martin Skøtt <mas [...] capmon.dk> |
Hi,
I have discovered a bug which was introduced in 0.64_1 which causes perl to
die.
My script sets a default domain when creating an instance of
Net::SIP::Simple and then supplies just the part of the SIP address before
the @ which causes the error below.
Can't use string ("666") as a HASH ref while "strict refs" in use at
C:/strawberry-perl/perl/site/lib/Net/SIP/Simple.pm line 379, <DATA> line
164.
The attached patch for 0.66 fixes the problem.
I discovered the bug while using Net::SIP 0.66 and Strawberry Perl 5.8.8 on
Windows XP.
--
Kind regards
CapMon A/S
Martin Skøtt
mas@capmon.dk
Message body is not shown because sender requested not to inline it.