[Freeswitch-users] FreeSwitch setup as a "Dumb" SBC

Ken Rice krice at freeswitch.org
Mon Feb 2 20:28:17 PST 2009


Yes you can do that, but there is nothing that says you cant have FreeSWITCH
just do those lookups and ENUM (FS Supports ENUM out of the box) and do the
exact same thing so it would work  like  Provider -> ingress SBC -> egress
SBC/Registration Server -> customer

Loosing a whole hop in the process


From: Adam Long <ajlong at worldlink.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Mon, 2 Feb 2009 22:05:17 -0500
To: <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] FreeSwitch setup as a "Dumb" SBC

Hi Guys,
 
I¹ve been working at setting up a couple of FreeSwitch nodes as a topology
hiding SBCs that handles both ingress traffic from my
providers/peers and pass traffic up to an openser router that then routes
call across the cluster of SBCs through which they reach the destination.
 
I have OpenSIPS/SER setup doing DB route lookups and ENUM with LCR/Serial
forking etc.
 
My question is what would be the best way to send a call out to a
destination choosen by the OpenSER router?
 
For example:
SIP Provider -- >  SBC --- > OpenSER ---- ( route lookup returns
123.123.123.4 as dest )  -- > SBC  --- > 123.123.123.4
 
I was thinking something along the lines of adding a ³X-Route-To:
+1NXXNXXXXXX at 123.123.123.4² with openser
and then something like this in the SBCŠ
 
  <context name="from-sipcore">
    <extension name="outboundroute">
        <action application="bridge"
data="sofia/external/${sip_h_X-Route-To}" />
    </extension>
  </context>
 
Is this a wise approach, is there anything I could do to do this better?
I¹d like to keep the logic in the SBCs as simple as possible.
 
I am pretty familiar with SIP but my knowledge fades when it gets into the
nitty gritty of routingŠ ie the Contact: and Via: headers
and all that good stuff.
 
I should also state I have two profiles defined one for the internal/private
³core² network and one for the outside ³external² network.
 
Any thoughts on this at all would be greatly appreciated.
Am I missing something in the SIP spec that would allow for this is a
standardized way?
 
Regards,
-Adam


_______________________________________________
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/20090202/be0fb682/attachment-0002.html 


More information about the FreeSWITCH-users mailing list