Set CallerID Info not complete


#1

starting from version 1.0.19.21 it is possible to manage the “Set CallerID Info” but in the various possibilities one important one is missing.
Assuming that my Italian Voip Provider sends me the cid in format +3977777777 I should remove the first 3 digits so that it appears 77777777.
And this is possible,
the problem is that if they call me example from another nation would appear +44888888, and with that modification I would only get 8888888 because the first 3 digits would be eliminated, and that’s not good.
A parameter such as "delete only the first N digits if they correspond to ZZZ. That would be perfect.


#2

You can create separate inbound for Itally and separate for rest world.
1 inbound (itally):
CallerID Pattern +397.

2 inbound:
CallerID Pattern +x.

I really do not want to see very complex manipulation as this will create a lot of problem with usage.


#5

Unfortunately this is not good because the rule +x. prevails over any other rule, so it prevails over +39.
now I’m looking for a different formula.
unfortunately does not allow you to sort the rules as it does instead in the outgoing routes.


#6

Okay @Marcin, I may have fixed, now I get it, I’d need someone to make an inbound empty call to verify that a prefix other than +39 is not changed.


#7

Yes :slight_smile:
You need separate call. I usually found that best is not modify incoming, just match outband if someone call back.


#8

I prefer to solve both problems :yum:


#9

Incoming call are pain :stuck_out_tongue: To many countries with not standardised numbers.
That’s why you can make separate route for local and other :slight_smile: