My brother did something using the console and made a .net dll and he gets 250 CPS+ We are going to be renting a 64 CPU and 128 gb ran to run Freeswitch. We need to get 700 cps per profile and hoping the super server will do it. I just don’t know why freeswitch is not working well when it’s a .net exe vs c++ or c exe. .net is not having the issue so I can only guess its something else. My brother said when using the console it is using a lot more threads then my .net exe. I am sure why. On event of incoming call I start a new thread. I do my LCR ado async. When the even comes back I start another tread to make the call. Again all of this happens in less than a second more like 500 or less mill sec. The only difference in the config file is I am passing the gateway in code and build my own start up exe. I am willing to send the source code if it helps. Andrew From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Thursday, January 23, 2014 7:01 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] 4 second delay in call. Did you ever get a trace on the console console loglevel debug sofia global siptrace on sofia tracelevel alert On Thu, Jan 23, 2014 at 5:46 PM, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: I know most of the people don’t like windows but I am looking for some help. I am building a switch and the exe is done in .net. I have everything in threads. I found that I will take in a call then do a bridge all in less than 1 second. When doing a wire shark trace it looks like the bridge call take almost 4-6 seconds to send a request. I am close to giving up. I did a study and traced every step of my code and its clear its not .net due to the call will come in and out in less than a sec. Again all of this from incoming to bridge happens in less than 1 second but wire shark shows almost 4 seconds from incoming to outgoing call. string Route = "{bypass_media=" + MediaByPass + ",hangup_after_bridge=true,hangup_complete_with_xml=true,continue_on_fail=true,execute_on_answer=sched_hangup +" + SecMaxTalkTime + " alloted_timeout, ignore_early_media=true, origination_caller_id_number=" + CallerIDNumber + ", origination_caller_id_name=" + CallerIDName + ",originate_timeout=" + RingTimeOUT + ",call_timeout=" + RingTimeOUT + ",progress_timeout=" + PDD + ",fail_on_single_reject=USER_BUSY NO_ANSWER NO_USER_RESPONSE ORIGINATOR_CANCEL} " + DialPath; ManagedSession leg_A = new ManagedSession(UUID_LegA); // leg_A.begin_allow_threads(); leg_A.SetVariable("bypass_media", MediaByPass.ToString()); leg_A.Execute("bridge", Route); _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net <http://irc.freenode.net> #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900