FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media.
To setup Freeswitch Outbounds call to landline or cell phone, must go through a PSTN or SIP gateway. Didlogic provides DID and SIP gateway.
This tutorial is going to configure SIP gateway on Didlogic, and configure the necessary settings in Freeswitch, in order to make outbounds call to landline or cellphone.
The step 1. Register an account on Didlogic and navigate to SIP Tab (https://didlogic.com/sipaccounts).
Create a SIP Account you will get SIP Username, Password, and you may set a caller ID from a list of DID you registered.
The step 2. You may navigate to Didlogic ‘s provided Freeswitch Configuration page (https://didlogic.com/support/setup-guides/freeswitch-config).
What we want is Freeswitch General Config
<include>
<gateway name="didlogic">
<param name="username" value="12354"/>
<param name="realm" value="sip.didlogic.net"/>
<param name="password" value="your_SIP_password"/>
<param name="register" value="true"/>
<param name="context" value="public"/>
</gateway>
</include>
Replace it with your SIP account username, and password created in Didlogic SIP Accounts Page.
The step 3. Go to your Freeswitch installation directory, for example, installed in a Linux box the location will be: /usr/local/freeswitch/conf/sip_profiles/external
Vi didlogic.xml, and paste the contents above, and :wq! to save the file.
If your Freeswitch is open and running, go to /usr/local/freeswitch/bin/fs_cli, then type reloadxml, it will reload the xml configuration.
Now, you can make a test call.
The step 4. You may go to /usr/local/freeswitch/bin/fs_cli, type:
originate sofia/gateway/didlogic/65xxxxxxxx ''
Then your phone will get the call. You will see the caller id is the same you defined at Didlogic SIP Profiles page.
For advanced Caller ID settings in Freeswitch, I not tried, you need have a verified business custoemr in Didlogic, then you can follow this tutorial https://didlogic.com/support/setup-guides/freeswitch-own-cli, then you may be able to configure your custom CLI.
One thought on “Freeswitch Outbounds call provider settings”