View previous topic :: View next topic |
Author |
Message |
thp at westhawk.co.uk Guest
|
Posted: Wed Nov 26, 2008 1:08 pm Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Nov 26, 2008 1:09 pm Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
List more than one URL... it'll just work.
/b
On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
Quote: | 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 |
|
Back to top |
|
|
thp at westhawk.co.uk Guest
|
Posted: Thu Nov 27, 2008 5:01 am Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
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:
Quote: | List more than one URL... it'll just work.
/b
On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
Quote: | 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 |
|
Back to top |
|
|
thp at westhawk.co.uk Guest
|
Posted: Thu Nov 27, 2008 5:56 am Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
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:
Quote: | 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:
Quote: | List more than one URL... it'll just work.
/b
On Nov 26, 2008, at 12:00 PM, Tim Panton wrote:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
gservat at gmail.com Guest
|
Posted: Thu Nov 27, 2008 7:55 am Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
On Thu, Nov 27, 2008 at 8:54 AM, Tim Panton <thp@westhawk.co.uk (thp@westhawk.co.uk)> wrote:
Quote: | 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.
- Gonzalo |
|
Back to top |
|
|
thp at westhawk.co.uk Guest
|
Posted: Thu Nov 27, 2008 9:35 am Post subject: [Freeswitch-users] fallback url in xml_cdr ? |
|
|
On 27 Nov 2008, at 12:41, Gonzalo Servat wrote:
Quote: | On Thu, Nov 27, 2008 at 8:54 AM, Tim Panton <thp@westhawk.co.uk (thp@westhawk.co.uk)> wrote:
Quote: | 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. |
|
Back to top |
|
|
|