[Freeswitch-users] XML CDR Causes B Leg Hang
Barnaby Ritchley
barnyritchley at hotmail.com
Wed Apr 18 19:48:36 MSD 2012
Sure.
My reason for the note was that we were trying to debug "stuck" b-leg channels and couldnt figure out what was causing the problem. SIP traces etc showed everything was fine, and it was a process of elimination that led us to the answer.
As this script was triggered via the XML CDR module, we were of the opinion that when the CDR was POSTed to the HTTP/S script that this was dial plan independant - IE that the dial plan would not hang waiting for the CDR script to complete, or if this did cause the dial plan to hang, we would not expect to see a channel open.
Hopefully this will help someone else who comes accross the same problem. I am of the opinion that nothing in FS needs to be changed, just some explanation added to the Wiki. I would do this myself, but thought it best left to someone who can use one word, where i would use 100 ;)
Brgds
On 18 Apr 2012, at 16:38, Anthony Minessale wrote:
> However it's not really hurting anything since that leg is independent
> and getting the CDR processed is hight priority to most people.
> This is why I prefer to use mod_xml_cdr to write to disk where it's
> safe then use another program to sort and deliver them to a remote
> location.
>
>
> On Tue, Apr 17, 2012 at 3:10 PM, Michael Collins <msc at freeswitch.org> wrote:
>> Thanks for chiming in on this one. If you haven't already updated the wiki
>> we'll conscript someone to do it tomorrow on our conference call.
>> -MC
>>
>>
>> On Tue, Apr 17, 2012 at 6:46 AM, Barnaby Ritchley
>> <barnyritchley at hotmail.com> wrote:
>>>
>>> Hi Guys
>>>
>>> Just found that when using XML CDR module, if the script that is called
>>> hangs, this will also hang the b-leg. We had a situation where we were
>>> sending CDR data to humbuglabs and because their server was responding
>>> slowly, and in some cases not at all, this was causing b legs in
>>> freeswitch
>>> to hang.
>>>
>>> we added a timeout to the curl post to humbug which has solved the issue.
>>>
>>> More of a note to be added in to the wiki for others for future.
>>>
>>> Cheers
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list