Now that you know how to install FreeSWITCH on Windows, along with basic FreeSWITCH configuration and FreeSWITCH setup, we can finally move on to the final configuration steps.
We have reached the final point prior to launching our PBX system so you can start taking advantage of its value-added services. What’s left to do is to give our PBX the information for routing and terminating calls as well as initiating service invocation. By default (and for security reasons) FreeSWITCH comes with three separate dial-plan xml files, all located under conf/dialplan directory:
- Public.xml: Calls coming from external gateways or remote extensions are analyzed first into the public.xml file.
- Default.xml: Calls originating from the Freeswitch are directly preanalyzed and futher analyzed within default.xml file.
- Features.xml: Handling of special services is performed through other xml files such as features.xml.
Throughout this article I will present samples of digit manipulation and SIP routing within the system. Please keep in mind that these are only example cases used for illustration purposes. My goal is to help you understand how the FreeSWITCH dial-plan works. The acquisition of this knowledge will help you configure and adjust your dial-plan according to your own needs and dialing extensions.
How to Configure the Public.xml File in FreeSWITCH
The public.xml will be the first file interrogated when a call reaches your PBX from the outside (from your SIP Provider or from remote SIP entities). The most important aspects you will come across within this file are examined further on.
How to Configure the Default.xml File in FreeSWITCH
The default.xml is the basic dial-plan file. Termination of calls to local extensions is achieved here. Also initiation of outgoing calls is specified here as well as basic service activation such as call-park, call hunt, call forward, etc. A sample representation of the contents of this file is shown below:
FreeSWITCH: Powerful, Scalable, Reliable
FreeSWITCH is a complete VoIP software package that can do almost everything. It has powerful capabilities while maintaining usage of CPU resources in low levels. Advance dial-plan processing with powerful SIP header manipulation capabilities, makes FreeSWITCH a leader of its class.
Its ease of installation and extension configuration makes it vey attractive solution to large enterprises. Hundred of users can be configured in no time and can also be served at the same time thanks to FreeSWITCH call handling capabilities.
I hope I have succeeded in convincing you that FreeSWITCH is an amazing telephony platform from which you can benefit both service-wise and money-wise. The software is available for immediate use. FreeSWITCH documentation is publicly available through the FreeSWITCH Wiki found at wiki.freeswitch.org. All that is needed is your willingness to acquire knowledge and transform this knowledge into concrete action.
I almost forgot to tell you how to install FreeSWITCH as a service so that it is automatically loaded at system startup … Well it is really easy. All you have to do is open a CMD prompt, go to the directory were you installed FreeSWITCH (C:/Freeswitch) and issue the command freeswitch.exe –install.













Discussion
No comments or trackbacks for “How to Configure FreeSWITCH on Windows Part 3”Post a comment