TT#23594 kamailio.location.contact values need 'sip:' prefix

- not that obvious, since a "sip:" prefix is neither automatically
  prepended nor enforced by panel UI.

Change-Id: I8b48996b12f184d92450dd5babe7321b2571b674
changes/76/17076/2
Rene Krenn 8 years ago
parent 2825e67705
commit 357ec3776b

@ -1354,7 +1354,7 @@ sub _provision_susbcriber_init_context {
push(@registrations,{
username => $registration->{sip_username},
domain => $registration->{domain},
contact => $registration->{sip_contact},
contact => 'sip:' . $registration->{sip_contact},
ruid => NGCP::BulkProcessor::Dao::Trunk::kamailio::location::next_ruid(),
});
if ($registration->{sip_contact} =~ /(\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3})/) {

Loading…
Cancel
Save