| line |
true |
false |
branch |
|
36
|
0 |
0 |
if $domains and not ref $domains |
|
42
|
0 |
0 |
unless $self->{'dispatcher'} |
|
51
|
0 |
0 |
if @_ |
|
71
|
0 |
0 |
unless $packet->is_request |
|
72
|
0 |
0 |
if ($packet->method ne 'REGISTER') |
|
77
|
0 |
0 |
unless (@found) |
|
86
|
0 |
0 |
unless (my $to = $packet->get_header('to')) |
|
93
|
0 |
0 |
if (my($domain, $user, $proto) = sip_uri2parts($to)) |
|
99
|
0 |
0 |
if (my $rd = $self->{'domains'}) |
|
101
|
0 |
0 |
unless $domain =~ /\.?\Q$_\E$/i |
|
|
0 |
0 |
unless (&first(sub {
$_ eq '*' unless $domain =~ /\.?\Q$_\E$/i;
}
, @$rd)) |
|
119
|
0 |
0 |
if $c_addr =~ /<(\w+:\S+)>/ |
|
121
|
0 |
0 |
unless defined $expire |
|
123
|
0 |
0 |
if not defined $expire or $expire > $self->{'max_expires'} |
|
124
|
0 |
0 |
if ($expire) |
|
125
|
0 |
0 |
if ($expire < $self->{'min_expires'}) |
|
133
|
0 |
0 |
if $expire |
|
186
|
0 |
0 |
if ($expire < $now) { } |
|
189
|
0 |
0 |
if not $next_exp or $expire < $next_exp |
|
192
|
0 |
0 |
if (@drop_where) |
|
194
|
0 |
0 |
unless %$contact |
|
197
|
0 |
0 |
if @drop_addr |
|
200
|
0 |
0 |
if ($next_exp) |
|
202
|
0 |
0 |
if (not $$last_timer or $next_exp < $last_timer or $$last_timer <= $now) |