FreeCalypso > hg > themwi-system-sw
diff sip-out/main.c @ 257:cb440d003976
sip-out: add libnumdb2 infra in prep for E911 routing
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 15 Aug 2023 10:50:37 -0800 |
parents | e54b0a9e322f |
children |
line wrap: on
line diff
--- a/sip-out/main.c Tue Aug 15 10:11:51 2023 -0800 +++ b/sip-out/main.c Tue Aug 15 10:50:37 2023 -0800 @@ -44,6 +44,10 @@ openlog("themwi-sip-out", 0, LOG_LOCAL5); read_config_file(); + if (read_number_db() < 0) { + fprintf(stderr, "error reading number database\n"); + exit(1); + } if (read_out_routes_db() < 0) { fprintf(stderr, "error reading out-routes.bin database\n"); exit(1);