Asterisk Called Number Checking

Hi Guys,

I want to query the numbers dialed on the system on a server.I think it works in Enum service logic.

For ex,

777888999 Suppose you call this number,
will query,
Result - 5177788899,

I added 51 per example, I will continue to call this way

Where can I do this with asterisk?

In the dialplan. You could use database lookups, local or remote, or you could simply use a curl call. If it’s only the kind of number and what you want to do is basically based on patterns, you could do everything within the dialplan.