Last Update: 8 November 2011
I assume you have the following setup:
- A FreeSWITCH-Server with public IP 184.108.40.206
- Some Numbers like 012 3456 xx registered, where "xx" are extension like 00,01,02...
- Some clients for these extensions
To receive calls from the external side, just set up the dialplan accordingly:
To have this work, you should give your local phones the account names "00","01", "02", etc.
To allow your local phones to make outgoing calls, you need to set up a gateway (I did in conf/sip_profiles/external/netvoip.xml) like following:
Please note: NetVoIP may tell you at some point, you should use numbers like 012345600 or 04112345600 - ignore it, use 0041.. Additionally, make sure you have your local users set their caller-id correctly.
Set up the outgoing dialplan like this: