FreeCalypso > hg > themwi-system-sw
diff sip-out/call_setup.c @ 265:e4a93ad611f3
liboutrt: add prefix length output arg to route_e164_number()
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 13 Nov 2023 15:09:10 -0800 |
parents | 9f96e5b14755 |
children | 556cd78f750a |
line wrap: on
line diff
--- a/sip-out/call_setup.c Sun Nov 05 16:07:14 2023 -0800 +++ b/sip-out/call_setup.c Mon Nov 13 15:09:10 2023 -0800 @@ -58,7 +58,7 @@ struct sip_out_dest *dest; struct special_num_route *special_rt; char to_sip_user[MAX_SIP_USER_PART+1]; - int rc; + int rc, prefix_len; if (msglen != sizeof(struct gsm_mncc)) { syslog(LOG_CRIT, @@ -108,7 +108,7 @@ return; } } - rc = route_e164_number(msg->called.number, &dest); + rc = route_e164_number(msg->called.number, &dest, &prefix_len); if (!rc) { no_route_to_dest: reject_mo_call(mncc, msg->callref, GSM48_CAUSE_LOC_PRN_S_LU,