Commit 3db0e06c authored by Steffen Ullrich's avatar Steffen Ullrich

0.820 - allow multiple contacts

parent ba4547f1
Revision history for Net::SIP
0.820 2019-02-14
- loose check from 0.819 - allow multiple contacts
0.819 2019-02-14
- Net::SIP::Packet - add more checks when parsing a packet from string,
notably about conflicting fields like multiple cseq or conflic between
......
......@@ -3,7 +3,7 @@ use warnings;
use 5.010;
package Net::SIP;
our $VERSION = '0.819';
our $VERSION = '0.820';
# this includes nearly everything else
use Net::SIP::Simple ();
......
......@@ -576,7 +576,7 @@ sub as_parts {
);
my %once = map { ($_ => 1) }
qw(cseq content-type from to call-id contact content-length);
qw(cseq content-type from to call-id content-length);
my %key2check = (
rsp => undef,
req => {
......
......@@ -83,7 +83,7 @@ To: <sip:foo@example.com>
REQ
check(qr/conflicting definition of contact/, <<'REQ');
check(undef, <<'REQ');
INVITE sip:foo@bar.com SIP/2.0
From: <sip:me@example.com>
To: <sip:you@example.com>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment