Hello, I just started to play around with FreeSwitch, and I have a couple of questions. Is the default context only used for devices which are registered with FreeSwitch? If I have a Carrier which communicates with FS through a public IP and a Kamailio SIP Proxy which communicates with FS through a private IP address, both will use the public context right? My goal is to configure FS as a SBC, and I see there is a sbc directory in the ../conf folder, but when I change the pre-process value to point to sbc/freeswitch.xml, I'm not able to start freeswitch anymore. <X-PRE-PROCESS cmd="include" data="sbc/freeswitch.xml"/> There are no devices(IP Phones for example) which will register with FreeSwitch, so basically I won't be needing the default context, correct? Regards, Grant
here I started building an SBC configuration, but the project was put on hold because of changing priorities: https://github.com/xlab1/sipfe_freeswitch_common basically, you don't have to stick to "default" and "public" contexts, and you can easily create your own. In my example, I'm using "inside" and "outside" contexts, so that it's more logical for an SBC. Also an advice, start with an empty configuration and add and modify files from the vanilla config as you feel needed. The standard configuration is fine as a demo and for quick tests, but it contains too many unneeded things for a production system.
________________________________ From: Grant Bagdasarian <GB@cm.nl> To: "FreeSWITCH Users Help (freeswitch-users@lists.freeswitch.org)" <freeswitch-users@lists.freeswitch.org> Sent: Friday, August 16, 2013 1:28 PM Subject: [Freeswitch-users] Public and default context question
Hello, I just started to play around with FreeSwitch, and I have a couple of questions. Is the default context only used for devices which are registered with FreeSwitch? If I have a Carrier which communicates with FS through a public IP and a Kamailio SIP Proxy which communicates with FS through a private IP address, both will use the public context right? My goal is to configure FS as a SBC, and I see there is a sbc directory in the ../conf folder, but when I change the pre-process value to point to sbc/freeswitch.xml, I’m not able to start freeswitch anymore. <X-PRE-PROCESS cmd="include" data="sbc/freeswitch.xml"/> There are no devices(IP Phones for example) which will register with FreeSwitch, so basically I won’t be needing the default context, correct? Regards, Grant _________________________________________________________________________ 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
participants (2)
-
Grant Bagdasarian
-
Stanislav Sinyagin