FreeCalypso > hg > themwi-system-sw
diff sip-in/invite_init.c @ 248:257da5474e77
sip-in: fix bug in incoming number validation for non-plus
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 14 Aug 2023 22:56:20 -0800 |
parents | 4b685a5d9bd4 |
children | e980fe9c186c |
line wrap: on
line diff
--- a/sip-in/invite_init.c Mon Aug 14 22:39:28 2023 -0800 +++ b/sip-in/invite_init.c Mon Aug 14 22:56:20 2023 -0800 @@ -69,7 +69,7 @@ uri_user[1] != '1') goto not_nanp; called_nanp = uri_user + 2; - } else switch (grok_number_string(uri_user)) { + } else switch (grok_number_string(uri_user, 0)) { case 10: called_nanp = uri_user; break;