Re: [Freeswitch-users] Help needing translating Asterisk syntax to Freeswitch
Problem is Michael that I don't have an Asterisk box, that config line was from some instructions on their website where they document an Asterisk setup. I'd rather not download Asterisk and try to get to grips with something that I'll never have a need to use again, since getting to grips with FreeSwitch is keeping me busy enough !
I would do is get a siptrace from it working on your Asterisk box and compare that with the sip trace from the freeswitch box.
hi bob, i found in http://www.voip-info.org/wiki/view/Asterisk+SIP+register this sip.conf directive: register => user[:secret[:authuser]]@host[:port][/extension] if i'm correct, there's NO equivalent of "extension" in FS. so i would try: <include> <gateway name="pchdba"> <param name="username" value="0000*1"/> <param name="password" value="secret"/> <param name="auth-username" value="authuser"/> <param name="extension" value="pchdba"/> <param name="expire-seconds" value="60"/> <param name="proxy" value="sip-host:port"/> <!-- port values: 5060 (internal), 5080 (external) --> <param name="register" value="true"/> </gateway> </include> hope it helps. On Thu, Jan 12, 2012 at 4:46 PM, Bob Smith <gb10hkzo-freeswitch@yahoo.co.uk>wrote:
Problem is Michael that I don't have an Asterisk box, that config line was from some instructions on their website where they document an Asterisk setup.
I'd rather not download Asterisk and try to get to grips with something that I'll never have a need to use again, since getting to grips with FreeSwitch is keeping me busy enough !
I would do is get a siptrace from it working on your Asterisk box and compare that with the sip trace from the freeswitch box.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 no extension is given, the 's' extension is used. The extension needs to be defined in extensions.conf to be able to accept calls from this SIP provider." That sounds like "when we get an incoming call, which extension should it go to?" Looks like the equivalent would be: <!--/// extension for inbound calls: *optional* same as username, if blank ///--> <param name="extension" value="cluecon"/> -Avi On Fri, Jan 13, 2012 at 9:16 AM, Nandy Dagondon <gcd@i.ph> wrote:
hi bob,
i found in http://www.voip-info.org/wiki/view/Asterisk+SIP+register this sip.conf directive:
register => user[:secret[:authuser]]@host[:port][/extension]
if i'm correct, there's NO equivalent of "extension" in FS. so i would try:
<include> <gateway name="pchdba"> <param name="username" value="0000*1"/> <param name="password" value="secret"/> <param name="auth-username" value="authuser"/> <param name="extension" value="pchdba"/> <param name="expire-seconds" value="60"/> <param name="proxy" value="sip-host:port"/> <!-- port values: 5060 (internal), 5080 (external) --> <param name="register" value="true"/> </gateway> </include>
hope it helps.
On Thu, Jan 12, 2012 at 4:46 PM, Bob Smith < gb10hkzo-freeswitch@yahoo.co.uk> wrote:
Problem is Michael that I don't have an Asterisk box, that config line was from some instructions on their website where they document an Asterisk setup.
I'd rather not download Asterisk and try to get to grips with something that I'll never have a need to use again, since getting to grips with FreeSwitch is keeping me busy enough !
I would do is get a siptrace from it working on your Asterisk box and compare that with the sip trace from the freeswitch box.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 (3)
-
Avi Marcus
-
Bob Smith
-
Nandy Dagondon