<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Again so quick. Thanks. Changed document: <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#record_waste_resources">http://wiki.freeswitch.org/wiki/Channel_Variables#record_waste_resources</a><div><br><div><html>On Apr 26, 2009, at 10:40 PM, Anthony Minessale wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">ok done<br><br>set the var to <br>true / false / <desired silence factor><br><br><br><div class="gmail_quote">On Sun, Apr 26, 2009 at 7:09 AM, dujinfang <span dir="ltr"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Almost perfect. But I think generate CN fake audio is better than absolute silence. Like bridge_generate_comfort_noise does.<div> <div></div><div class="h5"><div><br></div><div><br></div><div><br><div>On Apr 26, 2009, at 7:15 AM, Anthony Minessale wrote:<br><blockquote type="cite">more efficient fix should be in tree<br><br>i just have to init the buffer one since it never changes.<br> <br><br><div class="gmail_quote">On Sat, Apr 25, 2009 at 3:56 PM, kokoska rokoska <span dir="ltr"><<a href="mailto:kokoska.rokoska@post.cz" target="_blank">kokoska.rokoska@post.cz</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> Thank you very much, Dave, for your help!<br> <br> Mentioned modification did the trick and all works as I wish :-) Thank you!<br> <br> BTW: When I look into the pcap files for RTP stream, I see some strange<br> timing for outgoing RTP from FreeSWITCH. Every even packet is sent after<br> 24 ms and every odd packet at 12 ms...<br> "ptime" is on both sides set to 20 ms, incomming stream has nearly no<br> jitter, server is on real HW (no virtualization) and almost idle (the<br> most consuming process is "htop" :-)<br> Is it normal or should I investigate what is wrong?<br> <br> Best regards,<br> <br> kokoska.rokoska<br> <br> <br> David Knell napsal(a):<br> <div><div></div><div>> Add something like<br> > memset(write_buf, 0, SWITCH_RECOMMENDED_BUFFER_SIZE);<br> > after<br> > char write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE];<br> > in switch_ivr_play_say.c (line 395)<br> ><br> > --Dave<br> ><br> >> Thank you very much, dujinfang, for your help!<br> >><br> >> When I use<br> >> <action application="set" data="record_waste_resources=true"/><br> >><br> >> the FreeSWITCH really sends back RTP stream during recording, but<br> >> instead of (faked) silence it is full of completely regular load noise :-)<br> >> I have tested it with different devices (Linskys, Snom, FritzBOX,<br> >> Nokia...) with the same result (even pcap files looks similar).<br> >><br> >> Dialplan snipped looks like:<br> >> <action application='answer'/><br> >> <action application='playback' data='silence_stream://1000'/><br> >> <action application='set' data='record_waste_resources=true'/><br> >> <action application='voicemail' data='context $${domain} number'/><br> >> <action application='hangup'/><br> >><br> >> Do you (or anybody else :-) know what I'm doing wrong?<br> >><br> >> Thanks once more, dujinfang, for your help!<br> >><br> >> Best regards,<br> >><br> >> kokoska.rokoska<br> >><br> >><br> >><br> >> dujinfang napsal(a):<br> >>> I haven't tested but I guess it's just like other variables and I<br> >>> documented to here:<br> >>><br> >>> <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#record_waste_resources" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#record_waste_resources</a><br> >>><br> >>><br> >>> On Apr 25, 2009, at 11:56 PM, kokoska rokoska wrote:<br> >>><br> >>>> Thank you very much, Anthony, for such fast solution!<br> >>>><br> >>>> May I ask you - How should I activate this feature?<br> >>>> I have tried to "grep" through sources for new NDLB variable but I<br> >>>> didn't find one...<br> >>>><br> >>>> Best regards,<br> >>>><br> >>>> kokoska.rokoska<br> >>>><br> >>>> Anthony Minessale napsal(a):<br> >>>>> sigh,<br> >>>>><br> >>>>> see r13144<br> >>>>><br> >>>>><br> >>>>> On Fri, Apr 24, 2009 at 3:43 AM, kokoska rokoska<br> >>>>> <<a href="mailto:kokoska.rokoska@post.cz" target="_blank">kokoska.rokoska@post.cz</a> <mailto:<a href="mailto:kokoska.rokoska@post.cz" target="_blank">kokoska.rokoska@post.cz</a>>> wrote:<br> >>>>><br> >>>>><br> >>>>><br> >>>>><br> >>>>> seven napsal(a):<br> >>>>>> You are not alone, I vote 1.<br> >>>>>><br> >>>>>> And there's a similer variable in conference:<br> >>>>>><br> >>>>>> <!--Can be | delim of waste|mute|deaf waste will always<br> >>>>>> transmit data to each channel<br> >>>>>> even during silence --><br> >>>>>> <!--<param name="member-flags" value="waste"/>--><br> >>>>>><br> >>>>> Thank you very much, seven, for your support :-)<br> >>>>><br> >>>>> Best regards,<br> >>>>><br> >>>>> kokoska.rokoska<br> >>>>><br> >>>>><br> >>>>> _______________________________________________<br> >>>>> Freeswitch-users mailing list<br> >>>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br> >>>>> <mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> >>>>><br> >>>>><br> >>>>><br> >>>>> --<br> >>>>> Anthony Minessale II<br> >>>>><br> >>>>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br> >>>>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br> >>>>><br> >>>>> AIM: anthm<br> >>>>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br> >>>>> <mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com" target="_blank">MSN%3Aanthony_minessale@hotmail.com</a>><br> >>>>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br> >>>>> <mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com" target="_blank">PAYPAL%3Aanthony.minessale@gmail.com</a>><br> >>>>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> <<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>> #freeswitch<br> >>>>><br> >>>>> FreeSWITCH Developer Conference<br> >>>>> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br> >>>>> <mailto:<a href="mailto:sip%253A888@conference.freeswitch.org" target="_blank">sip%3A888@conference.freeswitch.org</a>><br> >>>>> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br> >>>>> <<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>><br> >>>>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br> >>>>> <mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org" target="_blank">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br> >>>>> pstn:213-799-1400<br> >>>>><br> >>>>><br> >>>>> ------------------------------------------------------------------------<br> >>>>><br> >>>>> _______________________________________________<br> >>>>> Freeswitch-users mailing list<br> >>>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> >>>> Freeswitch-users mailing list<br> >>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> >>> _______________________________________________<br> >>> Freeswitch-users mailing list<br> >>> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> >><br> >> _______________________________________________<br> >> Freeswitch-users mailing list<br> >> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> ><br> ><br> > _______________________________________________<br> > Freeswitch-users mailing list<br> > <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br> <br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br> pstn:213-799-1400<br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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></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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br> <br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br> IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>