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 host=sip.voip-unlimited.net username=username fromuser=username secret=password type=peer dtmfmode=rfc2833 nat=no context=incoming-sip insecure=invite allow=alaw fromdomain=voip-unlimited.net 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
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 host=sip.voip-unlimited.net username=username fromuser=username secret=password type=peer dtmfmode=rfc2833 nat=no context=incoming-sip insecure=invite allow=alaw fromdomain=voip-unlimited.net
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
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 host=sip.voip-unlimited.net username=username fromuser=username secret=password type=peer dtmfmode=rfc2833 nat=no context=incoming-sip insecure=invite allow=alaw fromdomain=voip-unlimited.net
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
If the sip proxy/registrar is at sip.voip-unlimited.net you probably need <param name="proxy" value="sip.voip-unlimited.net"/> On 7 March 2015 at 22:52, Richard Mace <richard.mace@gmail.com> wrote:
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 host=sip.voip-unlimited.net username=username fromuser=username secret=password type=peer dtmfmode=rfc2833 nat=no context=incoming-sip insecure=invite allow=alaw fromdomain=voip-unlimited.net
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
_________________________________________________________________________ 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
-- Dušan Dragić
Thanks Dusan, That was the answer. All working now :) Richard On 7 March 2015 at 22:13, Dušan Dragić <dragic.dusan@gmail.com> wrote:
If the sip proxy/registrar is at sip.voip-unlimited.net you probably need <param name="proxy" value="sip.voip-unlimited.net"/>
On 7 March 2015 at 22:52, Richard Mace <richard.mace@gmail.com> wrote:
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 host=sip.voip-unlimited.net username=username fromuser=username secret=password type=peer dtmfmode=rfc2833 nat=no context=incoming-sip insecure=invite allow=alaw fromdomain=voip-unlimited.net
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
_________________________________________________________________________ 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
-- Dušan Dragić
_________________________________________________________________________ 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
You indicate that your 'current attempt' is not working, but you do not say what that involves. Have you defined the SIP trunk 'gateway' into its own XML file within the directory: conf\sip_profiles\external (it is easier to maintain that way) And within the conf\sip_profiles\extenal.xml file have you made sure that the <gateways> will include that new XML file? -------------------------------------------- On Sat, 3/7/15, Richard Mace <richard.mace@gmail.com> wrote: Subject: [Freeswitch-users] SIP Trunk To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Saturday, March 7, 2015, 3:57 AM 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=allhost=sip.voip-unlimited.netusername=usernamefromuser=usernamesecret=passwordtype=peerdtmfmode=rfc2833nat=nocontext=incoming-sipinsecure=inviteallow=alawfromdomain=voip-unlimited.net 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 -----Inline Attachment Follows----- _________________________________________________________________________ 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
participants (4)
-
Dušan Dragić
-
Regis M
-
Richard Mace
-
T Fred Farmington