Dial pattern for anonymous calling KPN

I am having an issue on my newly installed FreePBX 17 server (trunk as PJSIP). The dial plan we used on our previous server, with FreePBX 15 (trunk as chan_sip), is not working correctly anymore. With our provider KPN, you can call anonymously when you append 31 to the number you’re calling. We therefore have the following in the outbound route dial plan:

I have the following error in the log:

[2024-11-11 17:49:31] ERROR[73974][C-00000035] app_stack.c: Gosub attempted to reach non-existent destination 'trunk-dial-with-exten,*31*xxxxxx3692,1' from 'macro-dialout-trunk,s,38'

After this, the call is ended by the PBX.

I also tried to add the dial plan to the trunk, but same thing. The dial plan from the trunk is now empty.

Why is this happening on the new server, and not the old one?

Hi @lonnebol ,

This issue should be on the latest core module version 17.0.18.4, So give it a try with the latest core module if your system is running with the older version . thanks.

Thanks for your reply.

What is the best way to update the core module?

Hi @lonnebol

You can update the core module with below cli command

fwconsole ma upgrade core

Hi @pramarajan

It worked! Thank you very much!

The only thing that I had to do after the upgrade was to click “apply config” in the UI. After that, everything like it should.

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