Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] fallback url in xml_cdr ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
thp at westhawk.co.uk
Guest





PostPosted: Wed Nov 26, 2008 1:08 pm    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with 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
brian at freeswitch.org
Guest





PostPosted: Wed Nov 26, 2008 1:09 pm    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with quote

List more than one URL... it'll just work. Wink

/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





PostPosted: Thu Nov 27, 2008 5:01 am    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with 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. Wink

/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





PostPosted: Thu Nov 27, 2008 5:56 am    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with 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 ?

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. Wink

/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





PostPosted: Thu Nov 27, 2008 7:55 am    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with 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.

- Gonzalo
Back to top
thp at westhawk.co.uk
Guest





PostPosted: Thu Nov 27, 2008 9:35 am    Post subject: [Freeswitch-users] fallback url in xml_cdr ? Reply with quote

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 Smile
http://jira.freeswitch.org/browse/FSCORE-238


Tim.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services