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@1.2.3.4, doing fresh lookup
2017-12-09 09:57:29.804735 [DEBUG] switch_xml.c:2068 caching lookup for user user@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@xbipin.com>
To: FreeSWITCH Users Help <freeswitch-users@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@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
--
Thanks & Regards,
Godson Gera
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org