[Freeswitch-users] no RTP send during Voice Mail recording

David Knell dave at 3c.co.uk
Sat Apr 25 10:56:31 PDT 2009


Add something like
memset(write_buf, 0, SWITCH_RECOMMENDED_BUFFER_SIZE);
after 
char write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE];
in switch_ivr_play_say.c (line 395)

--Dave

> Thank you very much, dujinfang, for your help!
> 
> When I use
> <action application="set" data="record_waste_resources=true"/>
> 
> the FreeSWITCH really sends back RTP stream during recording, but
> instead of (faked) silence it is full of completely regular load noise :-)
> I have tested it with different devices (Linskys, Snom, FritzBOX,
> Nokia...) with the same result (even pcap files looks similar).
> 
> Dialplan snipped looks like:
> <action application='answer'/>
> <action application='playback' data='silence_stream://1000'/>
> <action application='set' data='record_waste_resources=true'/>
> <action application='voicemail' data='context $${domain} number'/>
> <action application='hangup'/>
> 
> Do you (or anybody else :-) know what I'm doing wrong?
> 
> Thanks once more, dujinfang, for your help!
> 
> Best regards,
> 
> kokoska.rokoska
> 
> 
> 
> dujinfang napsal(a):
> > I haven't tested but I guess it's just like other variables and I  
> > documented to here:
> > 
> > http://wiki.freeswitch.org/wiki/Channel_Variables#record_waste_resources
> > 
> > 
> > On Apr 25, 2009, at 11:56 PM, kokoska rokoska wrote:
> > 
> >> Thank you very much, Anthony, for such fast solution!
> >>
> >> May I ask you - How should I activate this feature?
> >> I have tried to "grep" through sources for new NDLB variable but I
> >> didn't find one...
> >>
> >> Best regards,
> >>
> >> kokoska.rokoska
> >>
> >> Anthony Minessale napsal(a):
> >>> sigh,
> >>>
> >>> see r13144
> >>>
> >>>
> >>> On Fri, Apr 24, 2009 at 3:43 AM, kokoska rokoska
> >>> <kokoska.rokoska at post.cz <mailto:kokoska.rokoska at post.cz>> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>    seven napsal(a):
> >>>> You are not alone, I vote 1.
> >>>>
> >>>> And there's a similer variable in conference:
> >>>>
> >>>>       <!--Can be | delim of waste|mute|deaf waste will always
> >>>> transmit data to each channel
> >>>>           even during silence -->
> >>>>       <!--<param name="member-flags" value="waste"/>-->
> >>>>
> >>>    Thank you very much, seven, for your support :-)
> >>>
> >>>    Best regards,
> >>>
> >>>    kokoska.rokoska
> >>>
> >>>
> >>>    _______________________________________________
> >>>    Freeswitch-users mailing list
> >>>    Freeswitch-users at lists.freeswitch.org
> >>>    <mailto:Freeswitch-users at 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
> >>>
> >>> FreeSWITCH http://www.freeswitch.org/
> >>> ClueCon http://www.cluecon.com/
> >>>
> >>> AIM: anthm
> >>> MSN:anthony_minessale at hotmail.com
> >>> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> >>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> >>> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >>>
> >>> FreeSWITCH Developer Conference
> >>> sip:888 at conference.freeswitch.org
> >>> <mailto:sip%3A888 at conference.freeswitch.org>
> >>> iax:guest at conference.freeswitch.org/888
> >>> <http://iax:guest@conference.freeswitch.org/888>
> >>> googletalk:conf+888 at conference.freeswitch.org
> >>> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >>> pstn:213-799-1400
> >>>
> >>>
> >>> ------------------------------------------------------------------------
> >>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> > 
> > 
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> > 
> 
> 
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 





More information about the FreeSWITCH-users mailing list