Dial Patterns doubling zero's?

I’m having trouble with setting the dial patterns.

Any idea why the numbers of zero’s of the prefix of the following dial patterns are doubled in the dialplan?

Kind regards,
Michael

Because you’ve entered them twice. What the user dials is the concatenation of prefix and match pattern.

Hi David,

Thanks for taking the time to answer.

I don’t think I entered the twice, there is a difference. Let me give a bit more context, I’m in Europe:

example local numer: 0477888888
example international numer: 003235555555

I need to put the in E164 format:

local should become: 32477888888 (so, get rid of leading zero and prefix 32)
international should become: 3235555555 (so, get rid of the leading zero’s and no prefix, here I already see a mistake of mine, the entry for international should not add a prepend (the 32 is already there.

So with that corrected:

give this dial plan (the local pattern now shows 2 zero’s, the international 4, where I entered 1 and 2):

prepend: 32
prefix: 0
match: ZX.

You have the 0 in both the prefix and the match, whereas it should only be in one.

Ok, I think I understand.
FreePBX includes the prefix in the number (as I dial it), and then strips it.

I thought the match pattern has to be the number as I dial it (including the prefix).

I will test it like this.

Thx

Thank you David… It now works like a charm😀

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