Provider Configuration: OneSuite

From FreeSWITCH Wiki
Jump to: navigation, search's clown head is in the sand regarding asterisk and FS: they only "support" their own goofy softphone. But I just tested this with and it works.

Note that these files are set up for a multi-tenant FS server (i.e., multiple independent companies are hosted on one FS server). See Multiple Companies. To undo this and revert to a set up that will work with the stock FS 1.0.4 installation, simply change every occurrence of "" to "default".

On my server, $FS = /usr/local/freeswitch-1.0.4/

This file goes under $FS/conf/dialplan/public/onesuite.phonenumber.inbound.xml (you could name the file anything ending in ".xml"):

  <extension name="in.2025551212">
    <condition field="destination_number" expression="^(UserName00713\-voip\.onesuite\.com)$">
      <action application="set" data=""/>
      <action application="set" data=""/>
      <action application="transfer" data="four_digit_extension_number XML"/>

And this file goes under $FS/conf/sip_profiles/external/

        <gateway name="onesuite">
                <param name="username" value=""/>
                <param name="fromuser" value=""/>
                <param name="from-domain" value=""/>
                <param name="fromdomain" value=""/>
                <param name="password" value="some_digits"/>
                <param name="realm" value=""/>
                <param name="proxy" value=""/>
                <param name="expire-seconds" value="3600"/>
                <param name="register" value="true"/>
                <param name="retry-seconds" value="900"/>
                <param name="caller-id-in-from" value="true"/>