[Freeswitch-users] Is Freeswitch a good option for dynamic routing?
David Knell
dave at 3c.co.uk
Mon Sep 3 04:18:41 PDT 2007
Hi Chris,
I've recently done a lot of this with FreeSWITCH around a calling-card
application - like yours
except with a bit of audio prompting and digit collection added. It has
a full LCR, etc.
I have good intentions (which will, no doubt, add to those already
paving my way to hell) about
writing this up for the FreeSWITCH wiki, but here's (very briefly) how I
did it:
- used the outbound event socket interface. I couldn't do everything I
wanted to with the switch
in Javascript, and talking to the external socket interface in Perl a)
meant that I could and b)
meant that I could use Perl modules for practically everything else;
- wrote something which talked to the inbound event socket interface to
track call states; you'd
probably not need this for a simple switching application.
The LCR that I've implemented is a simple retarded match on an SQL
table. It could probably
be more efficient, but benchmarks at 100ms peak and maybe 10ms average
per lookup across
four carriers. Unfortunately we're not running enough traffic for this
to be an issue!
I hope these are semi-useful; please drop me a note if I can be of more
help.
Cheers --
Dave
> I need to create a simple wholesale switching application that consists
> of receiving a call via H.323 or SIP, running a custom algorithm and
> lookup to translate the incoming DNIS into a new number, and the
> processing this new number through a standard A-Z routing table for
> termination.
>
> The 2 platforms for this application I am considering are Asterisk and
> Freeswitch. Asterisk has the advantage that I'm familiar with its
> structure and configuration, therefore I can modify it and make it work
> quickly. The downside is it is clumsy for wholesale switching and does
> not scale well. Freeswitch seems to be a better bet given that I would
> like to scale this application to several thousand simultaneous calls,
> however I am under a time crunch to get a test application up and running.
>
> Can someone suggest to me if Freeswitch would be a good platform for
> this? If so, where would be the best place to plug in my custom
> translation routine? Can Freeswitch route signalling only, e.g.
> RTP/media goes directly from gateway to gateway without passing my
> network? If so, how can that be configured?
>
> I apologize for asking without completely studying all the available
> documentation and code, but as I said I am under pressure and I was
> hoping some benevolent individual would point me in the right direction
> to expedite this.
>
> Thank you for any assistance.
>
> Best Regards,
>
> Chris Ziomkowski
>
>
>
> _______________________________________________
> 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
>
>
>
--
David Knell, Director, 3C Limited
T: 020 8114 8901 F: 020 8692 0677 M: 07773 800623
http://www.3c.co.uk
More information about the FreeSWITCH-users
mailing list