FreeSWITCH_logoMain configuration

under ubuntu/debian the configuration is under /etc/freeswitch

1) make a new file call it
include the following

root@free:/etc/freeswitch/sip_profiles/external# cat
   <gateway name=”“>
     <param name=”username” value=”(YOUR-FREELYCALL-ACCOUNT-NUMBER)”/>
     <param name=”realm” value=”“/>
     <param name=”from-domain” value=”“/>
     <param name=”password” value=”+++++++++++”/>
     <param name=”register” value=”true”/>
     <param name=”retry-seconds” value=”30″/>

2) fs_cli and reload the config reloadxml

3) check freeswitch@internal> myserver status gateway REGED

Don’t forget to replace 2XXXX and password with your actual freelycall account settings.


Faxing can use T.38 or G711 media mode. When calling internationally, T.38 is not supported by many carriers, so it might needed to fall back to g711 media mode. Here’s how to achieve this

in the  file  under /etc/freeswitch/suto_config


this is the  same as in :

originate {absolute_codec_string=’PCMU,PCMA’,fax_enable_t38=false,fax_enable_t38_request=false}myserver/gateway/ &txfax(/tmp/txfax-sample.tiff)

reload the configuration and  you can send  faxes  without  t.38


Make  sure that you are already registered  to freelycall
1) go to  /etc/freeswitch/dialplan/public
2) make a file like  vim freelycall-uk-in.xml
3) the file should have  this :
   <extension name=”“>
     <condition field=”destination_number” expression=“^(YOUR-FREELYCALL-ACCOUNT-NUMBER)$”>
       <action application=”set” data=”domain_name=$${domain}”/>
       <action application=”transfer” data=“YOUR EXTENTION XML default”/>
4) reload the configuration  and you are  done