[Freeswitch-users] 4 second delay in call.

Andrew aademattia at comcast.net
Fri Jan 24 02:46:10 MSK 2014


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=tr
ue,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);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140123/30bf9c11/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list