what did you do exactly? That config will work for a Pure asterisk only install but if you did everything file for file on a FreePBX system it will break things.
Thanks for your input, but I still dont get it, sorry.
What I did is to create a trunk in FreePBX and configure the router to forward calls to the PBX.
Even I change the context from “pstn-incoming” to “from-trunk”, it still doesn’t work, and I don’t know what else in extensions.conf or sip.conf I should edit, please tell me the detail.
DO NOT EDIT the extensions.conf or sip.conf files. The page you pointed to is for a pure asterisk only setup and adding these items that they say in those files is wrong, will not work and possibly break FreePBX.
That’s why I asked what exactly did you do? Do you also realize that the base writing for that was done in Jan. 2004, that’s 5 years ago.
Please look at the previous link I provided above, it tells you what files you can, should not or CAN’T edit when using FreePBX. When you do not follow these guidelines/rules you break things at the worst, or at the best, the moment you update a setting with FreePBX your changes will get lost as the files will get re-written.