Provider Configuration: NumberGroup

From FreeSWITCH Wiki
Jump to: navigation, search

NumberGroup

* [www.numbergroup.com]

DID via SIP URI works. DID via SIP Trunk works. Outgoing works.

      <include>
        <gateway name="numbergroup">
          <param name="realm" value="sip.numbergroup-services.com"/>
          <param name="username" value="USERNAME"/>
          <param name="password" value="PASSWORD"/>
          <param name="register" value="true"/>
          <param name="expire-seconds" value="3600"/>
          <param name="retry-seconds" value="3600"/>
          <param name="caller-id-in-from" value="true"/>
          <param name="extension" value="auto_to_user"/>
          <param name="caller-id-type" value="pid"/>
        </gateway>
      </include>

USERNAME is only the user part, it does not include the domain.

Note that for inbound calls, the call would normally hit the dialplan with destination_number equal to the username. Setting extension to auto_to_user avoids this - the call will arrive with auto_to_user in the URI and Sofia will automatically take the destination_number from the To header instead.

By default, NumberGroup supports G.711 A/U. To enable support for narrowband codecs like G.722, Speex and GSM, go to your Trunk configuration and change "Voice Compression" to "Yes".