Welcome to FreeSWITCH :)

On May 17, 2013 3:47 PM, "ik" <idokan@gmail.com> wrote:



On Fri, May 17, 2013 at 8:38 PM, Michael Collins <msc@freeswitch.org> wrote:



On Fri, May 17, 2013 at 5:43 AM, ik <idokan@gmail.com> wrote:

On Fri, May 17, 2013 at 1:12 AM, Michael Collins <msc@freeswitch.org> wrote:
What are you trying to accomplish? If you just want to send unauth'd calls to/from each box that doesn't require a gateway in FreeSWITCH. However, if you want the FreeSWITCH box to register to the Asterisk box then you'll need a gateway.

If you just want to send a call from FreeSWITCH to Asterisk then you can use a simple dialstring in your bridge line:

<action application="bridge" data="sofia/internal/1234@asterisk.example.com"/>

Will it work also vice versa, that is Asterisk can call FS like that ?
For incoming calls to FreeSWITCH you will need to handle that in the dialplan. If you are not using authentication then you'll just need to route the inbound calls in your public context. Look in conf/dialplan/public.xml for an example of routing inbound calls to 1000-1019. You'll see that unauthenticated calls come in to the public context and if the destination is 1000-1019 it transfers them over to the default context where they (hopefully) get connected to the actual user.


Thank you very much, finally I understand the state of mind. It looks like Asterisk works much harder then it should be, if you compare it :)
 

-MC
 

Thanks
 

-MC


On Thu, May 16, 2013 at 7:44 AM, ik <idokan@gmail.com> wrote:
Hello,

I'm new to freeswitch, and I did google this, but can't find an answer that works for me.

I have created the following configuration (both at Asterisk and FS sides):
https://gist.github.com/ik5/1a0767f69b8065e1c8b8

* The IP addresses are hidden and replaced with "asterisk.example.com" and "freeswitch.example.com"

As you can see there with the SIP header, freeswitch create the "From" and "To" field with the same IP/Domain address, and there is no "contact" field to make it contact properly.

So what am I missing or doing wrong ?

Thanks,

Ido

_________________________________________________________________________
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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.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



_________________________________________________________________________
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



_________________________________________________________________________
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