Inbound route - not recognizing CID

Hi, I want to use two inbound Routes. One default and one just for a single Number.
Let assume the single number is +49123456789.

I have two inbound routes.
DID/CID: ANY/ANY --> IVR
DID/CID ANY/+49123456789 --> DISA
but also the call from the single number is routed to IVR.

So, I thought ANY may bound all - regardless any other one configured. So I tried:
DID/CID: ANY/_X! --> IVR
DID/CID ANY/+49123456789 --> DISA

Now, my single Number is routed correctly, but all other does not work anymore. Probably because the + in the CID.
I used this wiki page https://wiki.freepbx.org/display/FPG/Inbound+Route+User+Guide and the linked https://wiki.freepbx.org/display/FPG/DIAL+PATTERN+INFO)

Thanks a lot
(Asterisk 16.4.1 & FreePBX 14.0.13.4)

See the tool tip for “CID Priority Route” in your inbound route with the CID specified.

1 Like

Thanks, that works.
I thought this is only relevant if DID is configured and because both routes have no DID, I ignored it.
I had a workaround (use dial pattern _[+0-9]! instead ANY) but your solution is quite more elegant

1 Like

The other way to solve it is to strip the internationalization information from the inbound call and normalize your numbers in a way that allows people to actually enter the numbers from the keypad. The “generally accepted” way of doing that is through a context like “from-pstn-e164-us” or “from-pstn-e164-gr” contexts in your inbound trunks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.