MT#8035 Use billing.subscriber_id for events

Otherwise we won't be able to bill terminated subscribers
gjungwirth/voicemail_number
Andreas Granig 11 years ago
parent d1067039c5
commit 6d4fb582e3

@ -14,7 +14,7 @@ sub insert {
$schema->resultset('events')->create({
type => $type,
subscriber_id => $subscriber->provisioning_voip_subscriber->id,
subscriber_id => $subscriber->id,
old_status => $old // '',
new_status => $new // '',
timestamp => NGCP::Panel::Utils::DateTime::current_local->hires_epoch,

Loading…
Cancel
Save