I'm building a cluster with a couple of freeswitch nodes. (I'll try and write it up when I'm done). I'm pleased with the way that freeSWITCH lets me set a fallback url for xml_curl getting the dialplan which is used when the 'primary' config engine isn't working. I am now looking for an equivalent fallback for xml_cdr. Is there a way to give a secondary url in xml_cdr.conf.xml ? Thanks. Tim.
List more than one URL... it'll just work. ;) /b On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
I'm building a cluster with a couple of freeswitch nodes. (I'll try and write it up when I'm done).
I'm pleased with the way that freeSWITCH lets me set a fallback url for xml_curl getting the dialplan which is used when the 'primary' config engine isn't working.
I am now looking for an equivalent fallback for xml_cdr. Is there a way to give a secondary url in xml_cdr.conf.xml ?
Thanks.
Tim.
Didn't work for me, here's what I tried: conf/autoload_configs/xml_cdr.conf.xml <configuration name="xml_cdr.conf" description="XML CDR CURL logger"> <settings> <param name="url" value="http://10.0.4.241/CdrServlet/cdr"/> <param name="url" value="http://10.0.4.240/CdrServlet/cdr"/> etc... It always uses the second one. What am I doing wrong ? Tim. On 26 Nov 2008, at 18:06, Brian West wrote:
List more than one URL... it'll just work. ;)
/b
On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
I'm building a cluster with a couple of freeswitch nodes. (I'll try and write it up when I'm done).
I'm pleased with the way that freeSWITCH lets me set a fallback url for xml_curl getting the dialplan which is used when the 'primary' config engine isn't working.
I am now looking for an equivalent fallback for xml_cdr. Is there a way to give a secondary url in xml_cdr.conf.xml ?
Thanks.
Tim.
_______________________________________________ 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
After some digging in the C I've added this feature (It's about 10 lines) . How do I go about contributing the code back ? Tim. On 27 Nov 2008, at 09:59, Tim Panton wrote:
Didn't work for me, here's what I tried:
conf/autoload_configs/xml_cdr.conf.xml
<configuration name="xml_cdr.conf" description="XML CDR CURL logger"> <settings> <param name="url" value="http://10.0.4.241/CdrServlet/cdr"/> <param name="url" value="http://10.0.4.240/CdrServlet/cdr"/> etc...
It always uses the second one.
What am I doing wrong ?
Tim.
On 26 Nov 2008, at 18:06, Brian West wrote:
List more than one URL... it'll just work. ;)
/b
On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
I'm building a cluster with a couple of freeswitch nodes. (I'll try and write it up when I'm done).
I'm pleased with the way that freeSWITCH lets me set a fallback url for xml_curl getting the dialplan which is used when the 'primary' config engine isn't working.
I am now looking for an equivalent fallback for xml_cdr. Is there a way to give a secondary url in xml_cdr.conf.xml ?
Thanks.
Tim.
_______________________________________________ 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
_______________________________________________ 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
On Thu, Nov 27, 2008 at 8:54 AM, Tim Panton <thp@westhawk.co.uk> wrote:
After some digging in the C I've added this feature (It's about 10 lines) . How do I go about contributing the code back ?
I was looking at the code myself and I couldn't see how to specify more than one URL. You probably want to open a ticket in JIRA <http://jira.freeswitch.org> and post your patch. - Gonzalo
On 27 Nov 2008, at 12:41, Gonzalo Servat wrote:
On Thu, Nov 27, 2008 at 8:54 AM, Tim Panton <thp@westhawk.co.uk> wrote:
After some digging in the C I've added this feature (It's about 10 lines) . How do I go about contributing the code back ?
I was looking at the code myself and I couldn't see how to specify more than one URL.
You probably want to open a ticket in JIRA and post your patch.
Done - My C is a little rusty so feel free to improve it :-) http://jira.freeswitch.org/browse/FSCORE-238 Tim.
participants (3)
-
Brian West
-
Gonzalo Servat
-
Tim Panton