<div>I didn&#39;t see any SIP session timers in the wiki. Since I&#39;m already using the event socket for control, my current plan is to use sched_api to play a file with a short (20ms?) clip of silence, capture the play_file event and use it to reschule another one for a couple of seconds later.</div>


<div> </div>
<div>I&#39;ll let you know what happens.</div>
<div> </div>
<div>BB<br><br></div>
<div class="gmail_quote">On Thu, Aug 13, 2009 at 10:47 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="WORD-WRAP: break-word">My suggestion is to use sip session timers not rtp timeouts as rtp is supposed to be discontinuous.  That being said, we have several settings to continuously send media, but then you are doing exactly what you said you didn&#39;t want to do. 
<div><br></div>
<div>Mike</div>
<div>
<div></div>
<div class="h5">
<div><br>
<div>
<div>On Aug 13, 2009, at 6:24 PM, Bradley Brashier wrote:</div><br>
<blockquote type="cite">
<div>OK, I finally got a moment to do a packet capture and take a look at the streams.  It became very clear very quickly that what happens is that during silence the gateway still sends RTP packets to Freeswitch, but Freeswitch doesn&#39;t send any back to the gateway. After 10s of this, the gateway says &quot;Oh, the RPT must be broken&quot; and it hangs up.</div>


<div> </div>
<div>We found a way to turn off this behavior in the gateway, and the good news is that it did indeed fix the problem. But we&#39;d rather not rely on that as a long-term solution because then we can&#39;t detect and drop RTP streams that really are broken.</div>


<div> </div>
<div>So now I&#39;m back to looking at Freeswitch to figure out how to send just a single packet every second or so during silence. If anyone knows of a way to do this, let me know, otherwise I&#39;ll get back to you if and when I find one.</div>


<div> </div>
<div>BB<br><br></div>
<div class="gmail_quote">On Thu, Aug 13, 2009 at 2:48 PM, Bradley Brashier <span dir="ltr">&lt;<a href="mailto:bjbrashier@gmail.com" target="_blank">bjbrashier@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>I took a closer look at the SIP messages on the console. From it, I understand that it&#39;s not Freeswitch timing out, but rather FS is getting the &quot;BYE&quot; msg from somewhere else. I&#39;ve tested phones and tested calling without going through the FS conference, though, and everything works fine. Then I saw something else odd inside the BYE msg:</div>


<div> </div>
<div>   Reason: Q.850 ;cause=31 ;text=&quot;RTP Broken Connection&quot;<br></div>
<div>So I Googled &quot;RTP Broken Connection&quot; and saw several sites talking about AudioCodes gateways and Asterisk -- and our gateway is an AudioCodes. From these sites it sounds like AudioCodes is rather aggressive in detecting RTP breaks, and is interpreting the silence from FS as a break.</div>


<div> </div>
<div>So now I&#39;m looking into ways to maybe send &quot;I&#39;m still here&quot; RTP packets from FS or to tune the gateway to be less aggressive. I can&#39;t stop and get a clean packet capture right now because I&#39;ve got a bunch of testers working on it today. I&#39;ll do that sometime when the system is less busy.</div>


<div> </div><font color="#888888">
<div>BB</div></font>
<div>
<div></div>
<div>
<div> </div>
<div class="gmail_quote">On Thu, Aug 13, 2009 at 1:45 PM, Bradley Brashier <span dir="ltr">&lt;<a href="mailto:bjbrashier@gmail.com" target="_blank">bjbrashier@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>I had just thought of the exact same thing. I&#39;m trying to test that now.  Thanks for your input.</div>
<div> </div><font color="#888888">
<div>BB<br><br></div></font>
<div class="gmail_quote">
<div>
<div></div>
<div>On Thu, Aug 13, 2009 at 1:20 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>
<div style="WORD-WRAP: break-word">My guess is that its the other end killing the call due to rtp timeouts, not us killing the call.  If you can confirm this the best method would be to get them not to do rtp timeouts. 
<div>
<div><br>
<div>
<div>On Aug 13, 2009, at 1:47 PM, Bradley Brashier wrote:</div><br>
<blockquote type="cite">
<div>I&#39;m sure that would work, but I&#39;m worried about it sucking up bandwidth, especially since you&#39;d need it on every caller (since otherwise the one person who had it could hang up and you&#39;d be back to square 1).</div>


<div> </div>
<div>Any other ideas, or should I hunt through the code to try to override the behavior manually?</div>
<div> </div>
<div>BB<br><br></div>
<div class="gmail_quote">On Thu, Aug 13, 2009 at 9:50 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Check out the &#39;waste&#39; member flag. I think if at least one member has that set then RTP will get sent out even during silence. Let us know if that helps...<br>

<br>-MC<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Thu, Aug 13, 2009 at 11:37 AM, Bradley Brashier <span dir="ltr">&lt;<a href="mailto:bjbrashier@gmail.com" target="_blank">bjbrashier@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>
<div>Hi all.</div>
<div> </div>
<div>The solution to this one should be short.</div>
<div> </div>
<div>My conference hangs up when there&#39;s 2+ users and silence for 5 sec or so. I&#39;m trying to find a parameter that changes that (I&#39;d rather it be, say, 60 seconds).</div>
<div> </div>
<div>I didn&#39;t see a parameter like this specific to conferences, so I looked abroad a bit. I found rtp-timeout-sec in sip_profiles, but it&#39;s set to 300 (the default), so I&#39;m pretty sure that&#39;s not the problem. I also searched through the mod_conference.c code and didn&#39;t see it, though I was only skimming.</div>


<div> </div>
<div>I&#39;m not 100% convinced that this is limited to conferences, but I don&#39;t currently have a way to test in a non-conference environment.</div>
<div> </div>
<div>Anybody know how to increase the conference silence-hangup timeout?</div>
<div> </div><font color="#888888">
<div>BB</div></font><br></div></div>_____</blockquote></div></blockquote></div></blockquote></div></div></div></div><br></div></div></blockquote></div></blockquote></div></div></div></blockquote></div></blockquote></div>

<br></div></div></div></div><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>