[Freeswitch-users] FS weird issue with TLS/SRTP and xml_curl on windows
Bipin Patel
bipin at xbipin.com
Sat Dec 9 06:01:40 UTC 2017
hi,
after setting timeout etc it is better but there is something still
wrong because xml_curl doesnt seem to cache properly as the time now
shows negative and it still calls script for registration details
Time Now: -101036188
Expires: 1044723532
2017-12-09 09:57:29.764708 [DEBUG] switch_xml.c:1990 Cache expired for
user at 1.2.3.4, doing fresh lookup
2017-12-09 09:57:29.804735 [DEBUG] switch_xml.c:2068 caching lookup for
user user at 1.2.3.4 for 1200000 milliseconds
earlier both time now and expires was negative but after running FS with
-monotonic-clock expires came to positive but time now still negative
and the php script is always called rather than using cache
Regards,
Bipin
------------------------------------------------------------------------
-------- Original Message --------
Subject: Re: [Freeswitch-users] FS weird issue with TLS/SRTP and
xml_curl on windows
From: Bipin Patel <bipin at xbipin.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 10/17/2017, 10:54:11 AM
> hi,
>
> the webserver and server where FS runs is same, for now i have added
> the timeout options in xml_curl so lets see if it happens again and
> ill report back, the other issue is for no reason at times FS just
> hangs or so, running the fs_cli app shows blank, this happened today
> morning itself, after killing the process and restarting the service
> it went back to normal
>
>
> Regards,
> Bipin
>
>
> ------------------------------------------------------------------------
> -------- Original Message --------
> Subject: Re: [Freeswitch-users] FS weird issue with TLS/SRTP and
> xml_curl on windows
> From: Godson Gera <godson.g at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Date: 10/16/2017, 10:45:08 AM
>> Hi Bipin,
>>
>> I ran into some thing like this once. Turned out to be a the
>> webservice which is called by xml_curl took too long to repond and FS
>> waited there forever with out timing out. Later on timeout option is
>> introduced in xml curl config. Try setting a reasonable timeout and
>> see if that resolves your issue.
>>
>> On Fri, Oct 6, 2017 at 7:39 PM, Bipin Patel <bipin at xbipin.com
>> <mailto:bipin at xbipin.com>> wrote:
>>
>> hi,
>>
>> i have two instances of FS running on a windows server, one is
>> used for routing to carriers and that uses xml files and that
>> works fine, the second instance is set up to allow clients to
>> register to it using tls and srtp and users are authenticated
>> using xml_curl which calls a php script which inturn sends the
>> directory users details on a register from a client. The problem
>> is every few hours or so FS stops accepting new clients unless i
>> restart the service, i check the php script and the webserver and
>> those are running just fine so no idea whats causing FS to stop
>> calling the script or something else.
>>
>>
>> --
>> Regards,
>> Bipin
>>
>>
>> ------------------------------------------------------------------------
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com
>> <http://www.freeswitchsolutions.com>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org
>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Godson Gera
>> FreeSWITCH Consultant <http://godson.in>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171209/9e4a349c/attachment.html>
More information about the FreeSWITCH-users
mailing list