[newbie] Clean start with a simple configuration
Hi, I installed Freeswitch with this http://wiki.freeswitch.org/wiki/Quick_Startmanual and it works! But it has al sorts of options enabled: 5000,9995, 9996, 9999, 80+[group], 30+[conf], voicemail, something about pizza (00_pizza_demo.xml) and a lot of other xml files and directories (default.xml and default/) etc. etc. That is not what i want. When i install Asterisk (the only PBX that i have experience with) and i clean out sip.conf and extensions.conf and replace them with this: ---------------------------------------- sip.conf [general] [1001] username=1001 secret=password1001 type=friend context=phones host=dynamic qualify=yes disallow=all allow=g726 [1002] username=1002 secret=password1002 type=friend context=phones host=dynamic qualify=yes disallow=all allow=ilbc ---------------------------------------- extensions.conf ---------------------------------------- [phones] exten => _[1001-1002],1,Dial(SIP/${EXTEN},60) exten => _[1001-1002],n,Hangup() ---------------------------------------- then i can simply call from one (local) sip phone to another and force transcoding between them. Nothing else. I want that also with Freeswitch. It is a good starting point but i am fiddeling with it for a couple of days now, read the docs but i can't get Freeswitch to do just this. So just calling between a few local sip phones with transcoding and _everything_ else disabled. Can anyone help me a little? Thanks in advance!
FreeSWITCH default config already has this feature. Register two phones... 1000 and 1001 both with password of 1234 then you can call between them. That will work exactly as you want out of the box. Expect more simplified configs to show up after 1.0.3. /b On Feb 14, 2009, at 6:02 PM, xs wrote:
I want that also with Freeswitch. It is a good starting point but i am fiddeling with it for a couple of days now, read the docs but i can't get Freeswitch to do just this. So just calling between a few local sip phones with transcoding and _everything_ else disabled.
I think the crux of the matter is "I can't get Freeswitch to do _just_ this" (emphasis added). Users that are relatively new to FreeSWITCH but Asterisk veterans want to know how to build a simple, lean configuration. I'm trying to figure it out myself right now. If simplified configs are only going to be posted after 1.0.3 what's the best place to post my findings and configs? Is there an explicit, sanctioned place for this kind of thing on the Wiki already? Tim On Feb 14, 2009, at 9:10 PM, Brian West wrote:
FreeSWITCH default config already has this feature. Register two phones... 1000 and 1001 both with password of 1234 then you can call between them. That will work exactly as you want out of the box. Expect more simplified configs to show up after 1.0.3.
/b
On Feb 14, 2009, at 6:02 PM, xs wrote:
I want that also with Freeswitch. It is a good starting point but i am fiddeling with it for a couple of days now, read the docs but i can't get Freeswitch to do just this. So just calling between a few local sip phones with transcoding and _everything_ else disabled.
_______________________________________________ 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
Well the config itself is easy to follow. The problem is coming from Asterisk you have the wrong mindset to approach most things in FreeSWITCH. http://svn.freeswitch.org/svn/configs/ (softphone is the best small config to look at) The default config is easy to strip down once you take a few moments to look at it and maybe hop on IRC and ask questions. I wrote the default and the softphone config. So if you have questions I'm just the person to ask. More config sets will appear as I have time to write them. /b On Feb 14, 2009, at 8:20 PM, Tim Mattison wrote:
I think the crux of the matter is "I can't get Freeswitch to do _just_ this" (emphasis added). Users that are relatively new to FreeSWITCH but Asterisk veterans want to know how to build a simple, lean configuration. I'm trying to figure it out myself right now.
If simplified configs are only going to be posted after 1.0.3 what's the best place to post my findings and configs? Is there an explicit, sanctioned place for this kind of thing on the Wiki already?
Tim
I'm in the same boat, finding the transition from Asterisk to FS very frustrating. Something I can do in Asterisk in 10 minutes is taking me a day with FS. Do I think it's worth it? Absolutely, but it's incredibly painful at times. What I've done is to create some WIKI pages to help those familiar with Asterisk to understand the nuances of FS. I posted them in the user pages. Hopefully when there are enough contributions we can have a section on the main WIKI entitled 'Asterisk conversion' or something. Asterisk is very forgiving and takes a lot of the pain away from doing simple tasks. FS on the other hand is less forgiving, but you have more control. Being a control freak I like that. I kind of liken Asterisk to the early versions of basic. Each command had a line number. You could be up and running basic apps in a few hours. Then jump to C, and you'll spend ages doing a simple task, but once you've mastered it, you'll never go back. (7 Day FS veteran :-)) Regards, ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim Mattison Sent: 15 February 2009 02:20 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] [newbie] Clean start with asimple configuration I think the crux of the matter is "I can't get Freeswitch to do _just_ this" (emphasis added). Users that are relatively new to FreeSWITCH but Asterisk veterans want to know how to build a simple, lean configuration. I'm trying to figure it out myself right now. If simplified configs are only going to be posted after 1.0.3 what's the best place to post my findings and configs? Is there an explicit, sanctioned place for this kind of thing on the Wiki already? Tim On Feb 14, 2009, at 9:10 PM, Brian West wrote: FreeSWITCH default config already has this feature. Register two phones... 1000 and 1001 both with password of 1234 then you can call between them. That will work exactly as you want out of the box. Expect more simplified configs to show up after 1.0.3. /b On Feb 14, 2009, at 6:02 PM, xs wrote: I want that also with Freeswitch. It is a good starting point but i am fiddeling with it for a couple of days now, read the docs but i can't get Freeswitch to do just this. So just calling between a few local sip phones with transcoding and _everything_ else disabled. _______________________________________________ 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
We do have mod_dialplan_asterisk if you miss that. You do realize you did not do it in 10 minutes with asterisk when you first started using it only once you learned how to work it. Your problem is more with the paradigm shift than the complexity. This is common so it's good that you are adding some wiki pages from you perspective. I deputize you in charge of training all new users with an asterisk background. It's harder for us to explain it, however, We did all come from asterisk too ;) There are 2 distinct camps of new users. *) Those who try to make it work like asterisk and take month to learn how the rain in Spain falls gently on the plain. *) Those who never heard of asterisk before and understand everything instantly. We need more people to step up and contribute more to the documentation from each perspective , keep up the good work! On Sun, Feb 15, 2009 at 5:21 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
I'm in the same boat, finding the transition from Asterisk to FS very frustrating. Something I can do in Asterisk in 10 minutes is taking me a day with FS.
Do I think it's worth it? Absolutely, but it's incredibly painful at times.
What I've done is to create some WIKI pages to help those familiar with Asterisk to understand the nuances of FS. I posted them in the user pages. Hopefully when there are enough contributions we can have a section on the main WIKI entitled 'Asterisk conversion' or something.
Asterisk is very forgiving and takes a lot of the pain away from doing simple tasks. FS on the other hand is less forgiving, but you have more control. Being a control freak I like that.
I kind of liken Asterisk to the early versions of basic. Each command had a line number. You could be up and running basic apps in a few hours. Then jump to C, and you'll spend ages doing a simple task, but once you've mastered it, you'll never go back.
(7 Day FS veteran J)
Regards,
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Tim Mattison *Sent:* 15 February 2009 02:20 *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] [newbie] Clean start with asimple configuration
I think the crux of the matter is "I can't get Freeswitch to do _just_ this" (emphasis added). Users that are relatively new to FreeSWITCH but Asterisk veterans want to know how to build a simple, lean configuration. I'm trying to figure it out myself right now.
If simplified configs are only going to be posted after 1.0.3 what's the best place to post my findings and configs? Is there an explicit, sanctioned place for this kind of thing on the Wiki already?
Tim
On Feb 14, 2009, at 9:10 PM, Brian West wrote:
FreeSWITCH default config already has this feature. Register two phones... 1000 and 1001 both with password of 1234 then you can call between them. That will work exactly as you want out of the box. Expect more simplified configs to show up after 1.0.3.
/b
On Feb 14, 2009, at 6:02 PM, xs wrote:
I want that also with Freeswitch. It is a good starting point but i
am fiddeling with it for a couple of days now, read the docs but i
can't get Freeswitch to do just this. So just calling between a few
local sip phones with transcoding and _everything_ else disabled.
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale <anthony.minessale@gmail.com> wrote:
There are 2 distinct camps of new users.
*) Those who try to make it work like asterisk and take month to learn how the rain in Spain falls gently on the plain. *) Those who never heard of asterisk before and understand everything instantly.
I must be one of those rare users who stand in the middle: I had used Asterisk before, but I didn't try to apply my Asterisk knowledge to learning FreeSWITCH, other than to make sure that all of the desirable features of my Asterisk configuration eventually had counterparts in my FreeSWITCH configuration.
I must be one of those rare users who stand in the middle: I had used Asterisk before, but I didn't try to apply my Asterisk knowledge to learning FreeSWITCH, other than to make sure that all of the desirable features of my Asterisk configuration eventually had counterparts in my FreeSWITCH configuration.
The key for people coming from Asterisk is to learn the difference between the WHAT and the HOW. It's admittedly difficult, so any who've overcome the challenges and can help other new ones to make the transition are welcome to document their steps. My advice to Asterisk users who want their FS box to do something that their Asterisk box can do is this: separate the WHAT from the HOW. In other words, start at the top (WHAT) and work your way down, not at the bottom (WHAT). The top-down view is like this: Asterisk allows to SIP phones to talk to each other. The bottom-up viewpoint is this: I edited sip.conf, created these PEER entries, then I edited extensions.conf and added exten => foo... See the difference? Start at the top: ask yourself, WHAT does my Ast box do? Now, ask yourself, HOW does FS implement that feature? As much as I like the Rosetta Stone page (because I started it) I don't think that it is the first place to go when you are migrating from Asterisk. (Go there *after* you've played around with FS for a bit.) -MC
participants (7)
-
Anthony Minessale
-
Brian West
-
Jason White
-
Michael Collins
-
Nik Middleton
-
Tim Mattison
-
xs