Disable media one leg?
This is a funny question. I'm setting up a call-in line to listen to to streaming audio. On this particular setup, there's no options - no dtmf, nothing at all for the user to do other than listen or hang up. So can I disable the RTP on the leg from the caller to my server, to not waste bandwidth? (Although it's inbound, so I don't actually pay for that.) e.g. can I set MY inbound RTP ip/port to null? Even if FS supports this, will this possibly not play well with the carrier? Thanks! -Avi
I am trying to make sense of what you are trying to do with no luck. If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar. How do you expect the audio to be carried if you drop the RTP? If the carrier is playing the stream and all it needs is a session to be acknowledged by FS (e.g.: early media music ringtone) try ring_ready from your dialplan. Please clarify further. On Dec 16, 2012, at 4:01 AM, Avi Marcus <avi@avimarcus.net> wrote:
This is a funny question. I'm setting up a call-in line to listen to to streaming audio. On this particular setup, there's no options - no dtmf, nothing at all for the user to do other than listen or hang up.
So can I disable the RTP on the leg from the caller to my server, to not waste bandwidth? (Although it's inbound, so I don't actually pay for that.) e.g. can I set MY inbound RTP ip/port to null?
Even if FS supports this, will this possibly not play well with the carrier?
Thanks! -Avi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I want to drop HALF the RTP. FS -> endpoint should send media, but the other leg of the RTP inbound should just be dropped and not bother the interweb. -Avi On Sun, Dec 16, 2012 at 3:43 PM, Emrah <lists@kavun.ch> wrote:
I am trying to make sense of what you are trying to do with no luck.
If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar. How do you expect the audio to be carried if you drop the RTP?
If the carrier is playing the stream and all it needs is a session to be acknowledged by FS (e.g.: early media music ringtone) try ring_ready from your dialplan.
Please clarify further.
On Dec 16, 2012, at 4:01 AM, Avi Marcus <avi@avimarcus.net> wrote:
This is a funny question. I'm setting up a call-in line to listen to to streaming audio. On this particular setup, there's no options - no dtmf, nothing at all for the user to do other than listen or hang up.
So can I disable the RTP on the leg from the caller to my server, to not waste bandwidth? (Although it's inbound, so I don't actually pay for that.) e.g. can I set MY inbound RTP ip/port to null?
Even if FS supports this, will this possibly not play well with the carrier?
Thanks! -Avi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This might not be the best way, but you could make a 2 person conference with the listener muted and the controls disabled. Then you could also use rtp vad <http://wiki.freeswitch.org/wiki/VAD_and_CNG> to reduce the bandwidth. Again, I'm not sure if these would stack appropriately, but it seems feasible. Nick On Sun, Dec 16, 2012 at 8:56 AM, Avi Marcus <avi@avimarcus.net> wrote:
If FS is going to be streaming the audio the media path is obviously
essential, especially if it's going to be doing some transcoding with mod_shout or something similar.
Ah ha! I get it now. VAD sounds like what you may be looking for. http://wiki.freeswitch.org/wiki/VAD_and_CNG On Dec 16, 2012, at 9:25 AM, Nick Vines <jnvines@gmail.com> wrote:
This might not be the best way, but you could make a 2 person conference with the listener muted and the controls disabled. Then you could also use rtp vad to reduce the bandwidth. Again, I'm not sure if these would stack appropriately, but it seems feasible.
Nick
On Sun, Dec 16, 2012 at 8:56 AM, Avi Marcus <avi@avimarcus.net> wrote: If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you look at mod conference there is the waste flag, if there is no media to send to a channel, mod_conference doesn't send media to it... You should start looking there On 12/16/12 10:34 AM, "Emrah" <lists@kavun.ch> wrote:
Ah ha! I get it now. VAD sounds like what you may be looking for.
http://wiki.freeswitch.org/wiki/VAD_and_CNG On Dec 16, 2012, at 9:25 AM, Nick Vines <jnvines@gmail.com> wrote:
This might not be the best way, but you could make a 2 person conference with the listener muted and the controls disabled. Then you could also use rtp vad to reduce the bandwidth. Again, I'm not sure if these would stack appropriately, but it seems feasible.
Nick
On Sun, Dec 16, 2012 at 8:56 AM, Avi Marcus <avi@avimarcus.net> wrote: If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
I think waste is now the default. Ken Rice <krice@freeswitch.org> wrote:
If you look at mod conference there is the waste flag, if there is no media to send to a channel, mod_conference doesn't send media to it... You should start looking there
On 12/16/12 10:34 AM, "Emrah" <lists@kavun.ch> wrote:
Ah ha! I get it now. VAD sounds like what you may be looking for.
http://wiki.freeswitch.org/wiki/VAD_and_CNG On Dec 16, 2012, at 9:25 AM, Nick Vines <jnvines@gmail.com> wrote:
This might not be the best way, but you could make a 2 person conference with the listener muted and the controls disabled. Then you could also use rtp vad to reduce the bandwidth. Again, I'm not sure if these would stack appropriately, but it seems feasible.
Nick
On Sun, Dec 16, 2012 at 8:56 AM, Avi Marcus <avi@avimarcus.net> wrote: If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Hmm, it sounds like I want rtp_enable_vad_in - for incoming media to be reduced, if I understand it correctly .. Where do I set this? I presume silence threshold set on the opposite end, and I can't set something very high to ensure no audio at all comes to me. -Avi On Sun, Dec 16, 2012 at 6:34 PM, Emrah <lists@kavun.ch> wrote:
Ah ha! I get it now. VAD sounds like what you may be looking for.
http://wiki.freeswitch.org/wiki/VAD_and_CNG On Dec 16, 2012, at 9:25 AM, Nick Vines <jnvines@gmail.com> wrote:
This might not be the best way, but you could make a 2 person conference with the listener muted and the controls disabled. Then you could also use rtp vad to reduce the bandwidth. Again, I'm not sure if these would stack appropriately, but it seems feasible.
Nick
On Sun, Dec 16, 2012 at 8:56 AM, Avi Marcus <avi@avimarcus.net> wrote: If FS is going to be streaming the audio the media path is obviously essential, especially if it's going to be doing some transcoding with mod_shout or something similar.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Avi Marcus
-
covici@ccs.covici.com
-
Emrah
-
Ken Rice
-
Nick Vines