Using freeswitch as Generic SIP SBC/RtpProxy without predefined endpoints
Hi, I am an OpenSIPS/Kamailio user that has spent the whole day trying to figure out which software is most suitable to build an SBC that only acts as a full b2bua with rtp-relay, with an undefined number of destinations(entire domains with lots of unknown proxies) on each side. I've been looking at yate, freeswitch, SEMS, but I am overwhelmed by the gazillions of configuration-files that seem to be needed. I have absolutely NO need of pbx/user functionality, just a B2BUA and rtp-proxy capabilities(with full codec-transparency), with the addition that I must be able to add some custom logic to decide the DNS or IP(v6) address of the next-hop sip-node. All examples I've found on freeswitch SBC config, has predefined gateways/trunks/proxies as "predefined next-hops", and I want the SBC to be able to send anywhere, depending on custom application logic. I'd stick with kamailio/rtp-proxy and the standard topology-hiding module, but unfortunately I need the full topology hiding of a b2bua. Is this easily achievable with Freeswitch? Any help with be immensely appreciated! Regards Taisto Qvist
Hello Taisto, Your best bet is to use a proxy server such as opensips. That is designed specifically for applications such as yours. Have a look at Dynamic Routing, B2BUA and Load balancing modules in OpenSIPS. They do exactly what you are trying to achieve. Regards, Ali Pey On Thu, Jun 19, 2014 at 10:57 AM, Taisto Qvist <taisto.qvist@gmail.com> wrote:
Hi,
I am an OpenSIPS/Kamailio user that has spent the whole day trying to figure out which software is most suitable to build an SBC that only acts as a full b2bua with rtp-relay, with an undefined number of destinations(entire domains with lots of unknown proxies) on each side.
I've been looking at yate, freeswitch, SEMS, but I am overwhelmed by the gazillions of configuration-files that seem to be needed.
I have absolutely NO need of pbx/user functionality, just a B2BUA and rtp-proxy capabilities(with full codec-transparency), with the addition that I must be able to add some custom logic to decide the DNS or IP(v6) address of the next-hop sip-node.
All examples I've found on freeswitch SBC config, has predefined gateways/trunks/proxies as "predefined next-hops", and I want the SBC to be able to send anywhere, depending on custom application logic.
I'd stick with kamailio/rtp-proxy and the standard topology-hiding module, but unfortunately I need the full topology hiding of a b2bua.
Is this easily achievable with Freeswitch?
Any help with be immensely appreciated!
Regards Taisto Qvist
_________________________________________________________________________ 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
All examples I've found on freeswitch SBC config, has predefined gateways/trunks/proxies as "predefined next-hops", and I want the SBC to be able to send anywhere, depending on custom application logic.
I'd stick with kamailio/rtp-proxy and the standard topology-hiding module, but unfortunately I need the full topology hiding of a b2bua.
Is this easily achievable with Freeswitch?
I need exactly what Taisto Qvist wants. A very simple b2bua I can configure my phones to use as a proxy. I need to be able to transcode between codecs but without pre-defining extensions etc.. There are just soooo many configuration examples online doing something ever so slightly different, cant sort out how and if its possible
but what's the problem with sending calls anywhere you want? In the bridge command, you specify the destination as, for example, sofia/external/123123123123@5.5.5.5:5060 and the calls will be sent to the specified To number at the specified host. The host and port can also be replaced with a name that has NAPTR and SRV DNS records. There are some corner cases where a feature requires you to configure a gateway - for example, the "caller-id-in-from" parameter cannot be set as a channel variable. But you can fetch the gateways configuration from some database-driven backend via mod_curl_xml. On Fri, May 13, 2016 at 10:30 PM, Daniel <dandenson@gmail.com> wrote:
All examples I've found on freeswitch SBC config, has predefined gateways/trunks/proxies as "predefined next-hops", and I want the SBC to be able to send anywhere, depending on custom application logic.
I'd stick with kamailio/rtp-proxy and the standard topology-hiding module, but unfortunately I need the full topology hiding of a b2bua.
Is this easily achievable with Freeswitch?
I need exactly what Taisto Qvist wants. A very simple b2bua I can configure my phones to use as a proxy. I need to be able to transcode between codecs but without pre-defining extensions etc..
There are just soooo many configuration examples online doing something ever so slightly different, cant sort out how and if its possible
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (4)
-
Ali Pey
-
Daniel
-
Stanislav Sinyagin
-
Taisto Qvist