Hi Regis,
It's as follows:

<include>
  <gateway name="wph-office">
  <!--/// account username *required* ///-->
  <param name="username" value="username"/>
  <!--/// auth realm: *optional* same as gateway name, if blank ///-->
  <param name="realm" value="voip-unlimited.net"/>
  <!--/// username to use in from: *optional* same as  username, if blank ///-->
  <param name="from-user" value="username"/>
  <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
  <param name="from-domain" value="voip-unlimited.net"/>
  <!--/// account password *required* ///-->
  <param name="password" value="password"/>
  <param name="register" value="true"/>
  </gateway>
</include>

The real username and password has obviously been changed in this example

Thanks


On 7 March 2015 at 15:03, Regis M <regis.freeswitch.org@tornad.net> wrote:
What is your current freeswitch config for this trunk ?
normal config generaly works out of the box...



2015-03-07 10:57 GMT+01:00 Richard Mace <richard.mace@gmail.com>:
Hi,
I have a trunk that currently works with Asterisk, and I am trying to get it working with FreeSWITCH. The Asterisk config is:

[out_trunk]
disallow=all
username=username
fromuser=username
secret=password
type=peer
dtmfmode=rfc2833
nat=no
context=incoming-sip
insecure=invite
allow=alaw

Any idea how I would configure the same in within FreeSWITCH please, as my current attempt doesn't seem to be working?

Thanks very much in advance

Richard

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org