<div dir="ltr">Did you ever get a trace on the console<div><br></div><div>console loglevel debug</div><div>sofia global siptrace on</div><div>sofia tracelevel alert</div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jan 23, 2014 at 5:46 PM, Andrew <span dir="ltr">&lt;<a href="mailto:aademattia@comcast.net" target="_blank">aademattia@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I know most of the people don’t like windows but I am looking for some help.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I am building a switch and the exe is done in .net.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I have everything in threads.  I found that I will take in a call then do a bridge all in less than 1 second.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">When doing a wire shark trace it looks like the bridge call take almost 4-6 seconds to send a request.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">string</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> Route = </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;{bypass_media=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + MediaByPass + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;,hangup_after_bridge=true,hangup_complete_with_xml=true,continue_on_fail=true,execute_on_answer=sched_hangup +&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + SecMaxTalkTime + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot; alloted_timeout, ignore_early_media=true, origination_caller_id_number=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + CallerIDNumber + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;, origination_caller_id_name=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + CallerIDName + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;,originate_timeout=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + RingTimeOUT + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;,call_timeout=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + RingTimeOUT + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;,progress_timeout=&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + PDD + </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;,fail_on_single_reject=USER_BUSY NO_ANSWER NO_USER_RESPONSE ORIGINATOR_CANCEL} &quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> + DialPath;<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="background:white;font-size:9.5pt;font-family:Consolas">            </span><span style="font-size:9.5pt;font-family:Consolas;color:#2b91af;background:white">ManagedSession</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> leg_A = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">new</span><span style="background:white;font-size:9.5pt;font-family:Consolas"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#2b91af;background:white">ManagedSession</span><span style="background:white;font-size:9.5pt;font-family:Consolas">(UUID_LegA);<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="background:white;font-size:9.5pt;font-family:Consolas">           </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white">// leg_A.begin_allow_threads();</span><span style="background:white;font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="background:white;font-size:9.5pt;font-family:Consolas">            leg_A.SetVariable(</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;bypass_media&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas">, MediaByPass.ToString());<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="background:white;font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p><p class="MsoNormal"><span style="background:white;font-size:9.5pt;font-family:Consolas">            leg_A.Execute(</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">&quot;bridge&quot;</span><span style="background:white;font-size:9.5pt;font-family:Consolas">, Route);</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>
<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>
</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ +19193869900 </div><div><br></div></div></div></div>
</div>