How to charge DID according to origin number?

Hi! alright?

Think of a scenario where it is necessary to charge a DID according to the origin number, that is, the DID is the same, but I need to analyze the origin number to know the tariff.

As in the example below, you can see that the DID is the same but the origin is different, and I need to analyze the origin to have different rates:

If
Source Number 5511980808080 → DID: 558008884081 → Destination 1000

Connection Cost = 0
Cost/Min = $1
Grace Time (Sec.) = 3
Initial Increment = 30
increment = 6

case B
Source Number 5511980808080 → DID: 558008884081 → Destination 1000

Connection Cost = 1
Cost/Min = $2
Grace Time (Sec.) = 0
Initial Increment = 60
increment = 60

Currently I can charge the DID with only one condition.

I don’t see how I can parse the source number and put different rates according to the prefix
^5511.*
^5521.*

Any idea?

Hello @Francisco ,

You can not use create similar DIDs more then once but you can use prefix from localization for DID.

Thanks.

Hi Palak

Thanks for listening.

I really don’t want to have two DIDs the same. the text above is to illustrate the same DID with two different rates depending on the origin number.

How do I do what you said?

Hello @Francisco ,

For now it is not possible in the system. But you can contact our sales team for further discussion.

Thank you.

Thank you my friend!