---
title: How to configure Freeswitch gateway.
description: As FreeSWITCH allows you to place XML configuration almost anywhere you will need to decide where you wish to place your gateway configuration. It is suggested to place a file called thinktel.xml unde
---

[Skip to content](https://helpcentre.thinktel.ca/freeswitch#main-content)

English

Show submenu for translations

![Thinktel-logo-navy.png\]](https://helpcentre.thinktel.ca/hs-fs/hubfs/ThinkTel-Templates/Thinktel-logo-navy.png?height=35&name=Thinktel-logo-navy.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [ThinkTel.ca](https://thinktel.ca/)

[ThinkTel.ca](https://thinktel.ca/)

 Find helpful tips & tools.

- There are no suggestions because the search field is empty.

1. [ThinkTel Help Centre](https://helpcentre.thinktel.ca/?hsLang=en)
2. [Setup my services](https://helpcentre.thinktel.ca/setup-my-services?hsLang=en)
3. [PBX - Private Branch Exchange](https://helpcentre.thinktel.ca/setup-my-services?hsLang=en#pbx-private-branch-exchange)

# How to configure Freeswitch gateway.

As FreeSWITCH allows you to place XML configuration almost anywhere you will need to decide where you wish to place your gateway configuration.  
It is suggested to place a file called thinktel.xml under conf/sip\_profiles/external/

In a default configuration, the \<gateway\> head tag exists in the main sip configuration file just before the external directory include statement.

\<gateway name="eico.thinktel.ca"\> # replace as required  
\<param name="username" value="XXXYYYZZZZ"/\> # your SIP authentication username  
\<param name="realm" value="eico.thinktel.ca"/\> # replace as required  
\<param name="password" value="@@@@@@@@"/\> # your SIP authentication password  
\<param name="expire-seconds" value="3600"/\>  
\<param name="register" value="false"/\> # registration is not required/supported  
\<param name="caller-id-in-from" value="true"/\>  
\<param name="ping" value="30"/\> # will mark the gateway down if it cannot be pinged  
\</gateway\>

We hope this info was a help. If you have any problems or questions, please let us know.  
You can open a [support ticket](https://helpcentre.thinktel.ca/contact-us?hsLang=en) or contact us at![phone-icon-blue](https://helpcentre.thinktel.ca/hs-fs/hubfs/Knowledge%20Base%20Import/phone-icon-blue-Apr-12-2024-07-12-11-1897-PM.png?width=20&height=16&name=phone-icon-blue-Apr-12-2024-07-12-11-1897-PM.png) [1-888-852-2381](tel:1-888-852-2381) for additional assistance.

- [SIP Trunking](https://helpcentre.thinktel.ca/sip-trunking?hsLang=en#main-content)

    - [Service Installation](https://helpcentre.thinktel.ca/sip-trunking?hsLang=en#service-installation)
    - [Troubleshooting](https://helpcentre.thinktel.ca/sip-trunking?hsLang=en#troubleshooting)
- [Hosted PBX](https://helpcentre.thinktel.ca/hosted-pbx?hsLang=en#main-content)

    - [Service Installation](https://helpcentre.thinktel.ca/hosted-pbx?hsLang=en#service-installation)
    - [Troubleshooting](https://helpcentre.thinktel.ca/hosted-pbx?hsLang=en#troubleshooting)
- [Business Internet](https://helpcentre.thinktel.ca/business-internet?hsLang=en#main-content)

    - [Service Installation](https://helpcentre.thinktel.ca/business-internet?hsLang=en#service-installation)
- [My Portals](https://helpcentre.thinktel.ca/my-portals?hsLang=en#main-content)

    - [uControl](https://helpcentre.thinktel.ca/my-portals?hsLang=en#ucontrol)
    - [MyPhone](https://helpcentre.thinktel.ca/my-portals?hsLang=en#myphone)
- [Network Status](https://helpcentre.thinktel.ca/network-status?hsLang=en)
- [Contact Us](https://helpcentre.thinktel.ca/contact-us?hsLang=en)
- [Setup my services](https://helpcentre.thinktel.ca/setup-my-services?hsLang=en#main-content)

    - [VOIP - Voice over Internet Protocol](https://helpcentre.thinktel.ca/setup-my-services?hsLang=en#voip-voice-over-internet-protocol)
    - [PBX - Private Branch Exchange](https://helpcentre.thinktel.ca/setup-my-services?hsLang=en#pbx-private-branch-exchange)
- [Voice Services](https://helpcentre.thinktel.ca/voice-services?hsLang=en#main-content)

    - [Think365](https://helpcentre.thinktel.ca/voice-services?hsLang=en#think365)
    - [Fax](https://helpcentre.thinktel.ca/voice-services?hsLang=en#fax)
- [Troubleshooting](https://helpcentre.thinktel.ca/troubleshooting?hsLang=en#main-content)

    - [Fax Service](https://helpcentre.thinktel.ca/troubleshooting?hsLang=en#fax-service)
    - [Toll Free](https://helpcentre.thinktel.ca/troubleshooting?hsLang=en#toll-free)
    - [Think 365](https://helpcentre.thinktel.ca/troubleshooting?hsLang=en#think-365)

[![Distributel](https://helpcentre.thinktel.ca/hubfs/logo-2.svg "Distributel")](https://www.distributel.ca/?hsLang=en)

© 2024 ThinkTel. All Rights Reserved

Copyright © 2026, Distributel