TT#22475 support src/dst lnp number cdr export fields

+ SOURCE_LNP_TYPE and DESTINATION_LNP_TYPE can be used in
  config.yml cdr export fields.

Change-Id: Ic71b71f675965d89b324fe4c231387f051fc2bef
changes/82/15782/2
Rene Krenn 8 years ago
parent 16ba64f465
commit 03b3a5407e

@ -77,6 +77,8 @@ X_cdr_id_map.SOURCE_LNP_PREFIX = "accounting.cdr.source_lnp_prefix";
X_cdr_id_map.DESTINATION_LNP_PREFIX = "accounting.cdr.destination_lnp_prefix";
X_cdr_id_map.SOURCE_USER_OUT = "accounting.cdr.source_user_out";
X_cdr_id_map.DESTINATION_USER_OUT = "accounting.cdr.destination_user_out";
X_cdr_id_map.SOURCE_LNP_TYPE = "accounting.cdr.source_lnp_type";
X_cdr_id_map.DESTINATION_LNP_TYPE = "accounting.cdr.destination_lnp_type";
# edr fields:
#X_cdr_id_map.PRIMARY_NUMBER = "(select username from provisioning.voip_dbaliases tmp where tmp.subscriber_id = provisioning.voip_subscribers.id order by is_primary, id limit 1)";
X_cdr_id_map.PILOT_SUBSCRIBER_ID = edr_type_select("events_relation","events_relation_data","relation_id","val","pilot_subscriber_id");

Loading…
Cancel
Save