diff --git a/lib/NGCP/Schema/Result/cdr.pm b/lib/NGCP/Schema/Result/cdr.pm index 6f26c6de..0cbed21a 100644 --- a/lib/NGCP/Schema/Result/cdr.pm +++ b/lib/NGCP/Schema/Result/cdr.pm @@ -72,6 +72,12 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 255 }, "source_gpp9", { data_type => "varchar", is_nullable => 1, size => 255 }, + + "source_lnp_prefix", + { data_type => "varchar", is_nullable => 0, size => 255, default_value => "" }, + "source_user_out", + { data_type => "varchar", is_nullable => 0, size => 255, default_value => "" }, + "destination_user_id", { data_type => "char", is_nullable => 0, size => 36 }, "destination_provider_id", @@ -117,6 +123,12 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 255 }, "destination_gpp9", { data_type => "varchar", is_nullable => 1, size => 255 }, + + "destination_lnp_prefix", + { data_type => "varchar", is_nullable => 0, size => 255, default_value => "" }, + "destination_user_out", + { data_type => "varchar", is_nullable => 0, size => 255, default_value => "" }, + "peer_auth_user", { data_type => "varchar", is_nullable => 1, size => 255 }, "peer_auth_realm", @@ -236,6 +248,18 @@ __PACKAGE__->add_columns( extra => { list => ["unexported", "ok", "failed"] }, is_nullable => 0, }, + "source_lnp_type", + { + data_type => "enum", + extra => { list => ["fixed","mobile"] }, + is_nullable => 1, + }, + "destination_lnp_type", + { + data_type => "enum", + extra => { list => ["fixed","mobile"] }, + is_nullable => 1, + }, ); diff --git a/lib/NGCP/Schema/Result/lnp_numbers.pm b/lib/NGCP/Schema/Result/lnp_numbers.pm index f6f342a7..c3404889 100644 --- a/lib/NGCP/Schema/Result/lnp_numbers.pm +++ b/lib/NGCP/Schema/Result/lnp_numbers.pm @@ -39,6 +39,12 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "type", + { + data_type => "enum", + extra => { list => ["fixed","mobile"] }, + is_nullable => 1, + }, ); __PACKAGE__->set_primary_key("id");