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> 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
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
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 #freeswitch ☞ http://freeswitch.org/g+

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900