[Freeswitch-users] Freeswitch in an existing phone network

Michael Collins msc at freeswitch.org
Wed Jun 9 16:40:17 PDT 2010


Tim and Joseph make good points. You start with the default configuration
and then remove what you do not need. Frankly, the default configuration is
just fine for you. FS won't "hijack" your VoIP infrastructure so don't sweat
that. It's simply a server sitting on your network waiting for calls.

My recommendation would be to do a basic install (see the wiki) and then
make one addition to the public.xml dialplan file. Add this simple extension
before the closing </context> tag:

    <extension name="Four-digit extensions">
      <condition field="destination_number" expression="^(\d\d\d\d)$">
        <action application="transfer" data="$1 XML default"/>
      </condition>
    </extension>

Press F6 or type "reloadxml" at the FreeSWITCH command line. Now if you
throw anonymous calls at this server it will handle four-digit extensions.
For example, if you call sip:9999 at x.x.x.x:5060 then you should hear music on
hold. Call sip:5000 at x.x.x.x:5060 and you should hear the demo IVR. (x.x.x.x
= FS server IP address) This will let you test a lot of FS features without
having to register phones to your FS server, although you are certainly free
to do that.

Be sure to read the newbie article that I wrote for Linux-Pro magazine last
year:  http://bit.ly/EpVrv

It will help you get up and running quickly. (Note: we switched to git from
svn, so we recommend you use git to download the source...)

Have fun!
-MC

On Wed, Jun 9, 2010 at 7:43 AM, Tim St. Pierre <
fs-list at communicatefreely.net> wrote:

> Hi Oliver,
>
> FreeSwitch will do whatever you tell it to do and no more.
>
> Here's a few suggestions though -
>
> Empty out the default dialplan directory.  Don't throw those away, as you
> may want to reference them
> as examples, but move them somewhere else.
>
> Edit modules.conf.xml and comment or remove any modules that you don't
> need.  This will also save
> memory and other resources.
>
> You can also disable all the SIP profiles except one.  Pick one that makes
> sense (either Internal or
> External, it doesn't really matter that much), and edit it so that it makes
> sense with respect to
> your network.  What is your topology?  Will you just be setting freeswitch
> up with a static IP
> address and having calls sent to it by the main PBX?  If that's the case,
> you can disable a lot of
> the STUN and uPNP functionality.  Tell this profile to bind to the IP and
> port that the PBX will
> send the calls to.
>
> Then all you have to do, is create a very simple dialplan that will answer
> an incoming call and
> perform whatever task you want.  You would essentially be starting with a
> blank sheet, adding just
> the functions that you want.
>
> Hope that makes sense.
>
> -Tim
>
> Oliver Schenk wrote:
> > Hi All,
> >
> > The company I work for currently has quite an extensive phone network
> > which gets carried between old analogue PABXes which also has an
> > interface to IP based phones. All the phones in our office are connected
> > via CAT5 cable using IP, however literally hundreds of phones out in the
> > field (we operate railway infrastructure) are on standard voice analogue
> > phones carried through fibreoptics.
> >
> > Anyway, I would like to use Freeswitch purely for its IVR and TTS
> > abilities and nothing else. So basically I just need it to act like a
> > slave to whatever IP phone network is already out there. I'm a bit
> > worried if I fire up freeswitch it will hijack the phone network!
> >
> > All our phones are accessible via a 5 digit extension. I would like
> > Freeswitch to be behind one of those ... say 12345. If anyone within our
> > phone network dials 12345 then Freeswitch should answer. I guess my
> > question is...how should I go about disabling most of FreeSwitch except
> > it's ability to pick up the phone and speak IVR/TTS and make an outgoing
> > call via the existing phone network?
> >
> > Any general pointers appreciated.
> >
> >
> > Thanks,
> >
> > Oliver Schenk
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100609/a4ceb6b3/attachment.html 


More information about the FreeSWITCH-users mailing list