TT#110302 Small mistake in the 'create_location' of kamailio utils

In this commit: 79c0c9fe12
there was a mistake done, which needs to be fixed.

Change-Id: Iefeebc8bae5ae3b4f58e0e7db01be71773fe973e
mr10.1
Donat Zenichev 4 years ago
parent 79c0c9fe12
commit 7d13b498cc

@ -60,7 +60,7 @@ sub create_location {
my($contact, $q, $expires, $flags, $cflags) = @$params{qw/contact q expires flags cflags/};
my $aor = get_aor($c, $prov_subscriber);
my $path = _compose_location_path($c, $prov_subscriber, $params);#compose path from path or socket from params
my $socket = $params{socket} // 0;
my $socket = $params->{socket} // 0;
if ($expires) {
$expires = NGCP::Panel::Utils::DateTime::from_string($expires)->epoch;

Loading…
Cancel
Save