Hi all, Is there method to just proxy SDP through Freeswitch through sip profile ? Regards Sam
http://wiki.freeswitch.org/wiki/Proxy_media#How_to_enable_it ce From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sam Sent: Tuesday, April 12, 2011 11:34 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] proxy SDP Hi all, Is there method to just proxy SDP through Freeswitch through sip profile ? Regards Sam
I have done that, but i want to pass the exact SDP what i get from leg A to leg B regards Sam On Tue, Apr 12, 2011 at 4:48 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
http://wiki.freeswitch.org/wiki/Proxy_media#How_to_enable_it
ce
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sam *Sent:* Tuesday, April 12, 2011 11:34 AM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] proxy SDP
Hi all,
Is there method to just proxy SDP through Freeswitch through sip profile ?
Regards Sam
_______________________________________________ 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
Can you be more exact about what in the SDP you want to send across directly? If media is going through FS you can't - the SDP contains the IP and port numbers for the RTP streams, so if FS is in the media path it must change that part of the SDP. Using bypass_media will probably keep the SDP completely intact, with the media going directly between the endpoints. That can be a problem if the endpoints can't see each other directly though. -Steve On 12 April 2011 16:04, Sam <u2nsam@gmail.com> wrote:
I have done that, but i want to pass the exact SDP what i get from leg A to leg B
regards Sam
On Tue, Apr 12, 2011 at 4:48 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
http://wiki.freeswitch.org/wiki/Proxy_media#How_to_enable_it
ce
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sam *Sent:* Tuesday, April 12, 2011 11:34 AM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] proxy SDP
Hi all,
Is there method to just proxy SDP through Freeswitch through sip profile ?
Regards Sam
_______________________________________________ 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
_______________________________________________ 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 pass the exact information what leg A is sending for Media Description & Media Attributes and not connection information. Regards Sam On Tue, Apr 12, 2011 at 10:16 PM, Steven Ayre <steveayre@gmail.com> wrote:
Can you be more exact about what in the SDP you want to send across directly?
If media is going through FS you can't - the SDP contains the IP and port numbers for the RTP streams, so if FS is in the media path it must change that part of the SDP.
Using bypass_media will probably keep the SDP completely intact, with the media going directly between the endpoints. That can be a problem if the endpoints can't see each other directly though.
-Steve
On 12 April 2011 16:04, Sam <u2nsam@gmail.com> wrote:
I have done that, but i want to pass the exact SDP what i get from leg A to leg B
regards Sam
On Tue, Apr 12, 2011 at 4:48 PM, Clemens Ebentheuer <ce@kapper.net>wrote:
http://wiki.freeswitch.org/wiki/Proxy_media#How_to_enable_it
ce
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sam *Sent:* Tuesday, April 12, 2011 11:34 AM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] proxy SDP
Hi all,
Is there method to just proxy SDP through Freeswitch through sip profile ?
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Have you tried enabling late negotiation on the sip profile? Normally FS will pick a codec from the list before hitting dialplan, that parameter delays the decision until the bridge and should send the full list over. -Steve On 13 April 2011 08:53, Sam <u2nsam@gmail.com> wrote:
I want to pass the exact information what leg A is sending for Media Description & Media Attributes and not connection information.
Regards Sam
On Tue, Apr 12, 2011 at 10:16 PM, Steven Ayre <steveayre@gmail.com> wrote:
Can you be more exact about what in the SDP you want to send across directly?
If media is going through FS you can't - the SDP contains the IP and port numbers for the RTP streams, so if FS is in the media path it must change that part of the SDP.
Using bypass_media will probably keep the SDP completely intact, with the media going directly between the endpoints. That can be a problem if the endpoints can't see each other directly though.
-Steve
On 12 April 2011 16:04, Sam <u2nsam@gmail.com> wrote:
I have done that, but i want to pass the exact SDP what i get from leg A to leg B
regards Sam
On Tue, Apr 12, 2011 at 4:48 PM, Clemens Ebentheuer <ce@kapper.net>wrote:
http://wiki.freeswitch.org/wiki/Proxy_media#How_to_enable_it
ce
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sam *Sent:* Tuesday, April 12, 2011 11:34 AM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] proxy SDP
Hi all,
Is there method to just proxy SDP through Freeswitch through sip profile ?
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38. Thanks, Brian On Apr 12, 2011, at 10:04 AM, Sam wrote:
I have done that, but i want to pass the exact SDP what i get from leg A to leg B
regards Sam
Brian, For all of the confusion proxy media creates I still see cases where it is useful... It shouldn't be removed completely. On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
maybe change the param name to proxy_media_t38 ;) ----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP Brian, For all of the confusion proxy media creates I still see cases where it is useful... It shouldn't be removed completely. On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner _______________________________________________ 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
You misunderstand I think... it *isn't* needed for T38 any longer. Only in very old versions. -Steve On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved. On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only in very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where
it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
Proxy media is not required for 2 NAT clients to talk to each other. Transcoding won't be used if both legs use the same codec, and you can use late-negotation/absolute_codec_string to encourage that. -Steve On 14 April 2011 11:22, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved.
On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only in very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where
it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Do you mean set proxy_media=true is the equivalent of set late_negotiation=true bridge {absolute_codec_string=${ep_codec_string}}blah and transcoding will never happen? On Thursday 14 April 2011, Steven Ayre wrote:
Proxy media is not required for 2 NAT clients to talk to each other.
Transcoding won't be used if both legs use the same codec, and you can use late-negotation/absolute_codec_string to encourage that.
-Steve
On 14 April 2011 11:22, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved.
On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only
in
very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where
it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org>
wrote:
We aren't a proxy... we have transcended into this quasi proxy in
some
scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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 don't mean they're equivalent, because proxy_media has other sideaffects such as disabling many features. I mean there are different better ways to avoid transcoding. What you suggested with bridge should indeed avoid it. Without the absolute_codec_string the bleg would be offered all codecs supported by FS which may be more than supported by the caller, however with that setting it would only offer those supported by both the caller and FS. The callee will pick one it supports (or return 488 Not Acceptable Here). The aleg will then use the same codec as the bleg, so at that point both legs will be using the same codec so no transcoding will take place (unless you try using something like eavesdrop/record). You could then if you wanted handle the 488 Not Acceptable Here by redialing without absolute_codec_string to try again, this time the bleg could use a different codec than the aleg (transcoding). -Steve On 14 April 2011 13:28, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Do you mean
set proxy_media=true
is the equivalent of
set late_negotiation=true bridge {absolute_codec_string=${ep_codec_string}}blah
and transcoding will never happen?
On Thursday 14 April 2011, Steven Ayre wrote:
Proxy media is not required for 2 NAT clients to talk to each other.
Transcoding won't be used if both legs use the same codec, and you can use late-negotation/absolute_codec_string to encourage that.
-Steve
On 14 April 2011 11:22, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved.
On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only
in
very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org
Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where
it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org>
wrote:
We aren't a proxy... we have transcended into this quasi proxy in
some
scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Hello, AS freeswitch modifies SDP ( Media Description & Media Attributes) so is there any way to just bypass that process. Regards Sam On Thu, Apr 14, 2011 at 6:32 PM, Steven Ayre <steveayre@gmail.com> wrote:
I don't mean they're equivalent, because proxy_media has other sideaffects such as disabling many features.
I mean there are different better ways to avoid transcoding.
What you suggested with bridge should indeed avoid it. Without the absolute_codec_string the bleg would be offered all codecs supported by FS which may be more than supported by the caller, however with that setting it would only offer those supported by both the caller and FS. The callee will pick one it supports (or return 488 Not Acceptable Here). The aleg will then use the same codec as the bleg, so at that point both legs will be using the same codec so no transcoding will take place (unless you try using something like eavesdrop/record). You could then if you wanted handle the 488 Not Acceptable Here by redialing without absolute_codec_string to try again, this time the bleg could use a different codec than the aleg (transcoding).
-Steve
On 14 April 2011 13:28, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Do you mean
set proxy_media=true
is the equivalent of
set late_negotiation=true bridge {absolute_codec_string=${ep_codec_string}}blah
and transcoding will never happen?
On Thursday 14 April 2011, Steven Ayre wrote:
Proxy media is not required for 2 NAT clients to talk to each other.
Transcoding won't be used if both legs use the same codec, and you can use late-negotation/absolute_codec_string to encourage that.
-Steve
On 14 April 2011 11:22, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved.
On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only
in
very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" < freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where
it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org
wrote:
> We aren't a proxy... we have transcended into this quasi proxy
in
some
> scenarios which mostly involve t.38... as for proxy media DO NOT > USE IT. Just saying it might go away since the purpose of it is > now not needed since we have full t.38. > > Thanks, > Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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'm really starting to think that no amount of documentation will ever make this clear: FreeSWITCH default media mode: - RTP proxied by FreeSWITCH - FreeSWITCH controls codec negotiation - If endpoints agree on same codec, no transcoding is performed - All features enabled - recording, DTMF interception, etc, etc Proxy media mode: - RTP proxied by FreeSWITCH (c= modified, that's it) - FreeSWITCH has no control or even understanding of other SDP parameters (pass through) - Endpoints *MUST* agree on same codec because FreeSWITCH can't help them - Virtually no features available Bypass media mode: - RTP *NOT* proxied by FreeSWITCH - FreeSWITCH has no control over anything SDP related - it's completely pass through from one leg to next (including c=) - Endpoints must agree on same codec because FreeSWITCH doesn't even see the media or SDP - Virtually no features available On Fri, Apr 15, 2011 at 5:48 AM, Sam <u2nsam@gmail.com> wrote:
Hello,
AS freeswitch modifies SDP ( Media Description & Media Attributes) so is there any way to just bypass that process.
Regards Sam
On Thu, Apr 14, 2011 at 6:32 PM, Steven Ayre <steveayre@gmail.com> wrote:
I don't mean they're equivalent, because proxy_media has other sideaffects such as disabling many features.
I mean there are different better ways to avoid transcoding.
What you suggested with bridge should indeed avoid it. Without the absolute_codec_string the bleg would be offered all codecs supported by FS which may be more than supported by the caller, however with that setting it would only offer those supported by both the caller and FS. The callee will pick one it supports (or return 488 Not Acceptable Here). The aleg will then use the same codec as the bleg, so at that point both legs will be using the same codec so no transcoding will take place (unless you try using something like eavesdrop/record). You could then if you wanted handle the 488 Not Acceptable Here by redialing without absolute_codec_string to try again, this time the bleg could use a different codec than the aleg (transcoding).
-Steve
On 14 April 2011 13:28, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Do you mean
set proxy_media=true
is the equivalent of
set late_negotiation=true bridge {absolute_codec_string=${ep_codec_string}}blah
and transcoding will never happen?
On Thursday 14 April 2011, Steven Ayre wrote:
Proxy media is not required for 2 NAT clients to talk to each other.
Transcoding won't be used if both legs use the same codec, and you can use late-negotation/absolute_codec_string to encourage that.
-Steve
On 14 April 2011 11:22, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Proxy media is useful not for T38 only. It's a way for 2 NATed clients to communicate with each other if there are common codecs, no transcoding involved.
On Thursday 14 April 2011, Steven Ayre wrote:
You misunderstand I think... it *isn't* needed for T38 any longer. Only
in
very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote: > maybe change the param name to proxy_media_t38 ;) > > ----- Original Message ----- > From: "Kristian Kielhofner" <kris@kriskinc.com> > To: "FreeSWITCH Users Help" > <freeswitch-users@lists.freeswitch.org> > Sent: Wednesday, April 13, 2011 2:10 PM > Subject: Re: [Freeswitch-users] proxy SDP > > > Brian, > > For all of the confusion proxy media creates I still see cases > where > > it is useful... It shouldn't be removed completely. > > On Tue, Apr 12, 2011 at 8:55 PM, Brian West > <brian@freeswitch.org>
wrote:
> > We aren't a proxy... we have transcended into this quasi proxy > > in
some
> > scenarios which mostly involve t.38... as for proxy media DO > > NOT > > USE IT. Just saying it might go away since the purpose of it is > > now not needed since we have full t.38. > > > > Thanks, > > Brian > > -- > Kristian Kielhofner > > _______________________________________________ > 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 > > > _______________________________________________ > 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
-- Kristian Kielhofner
ok, so maybe remove the word "proxy" that confused a lot of people here (even me at the start) :) ----- Original Message ----- From: Steven Ayre To: FreeSWITCH Users Help Sent: Thursday, April 14, 2011 2:45 AM Subject: Re: [Freeswitch-users] proxy SDP You misunderstand I think... it *isn't* needed for T38 any longer. Only in very old versions. -Steve On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote: maybe change the param name to proxy_media_t38 ;) ----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP Brian, For all of the confusion proxy media creates I still see cases where it is useful... It shouldn't be removed completely. On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote: > We aren't a proxy... we have transcended into this quasi proxy in some > scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. > Just saying it might go away since the purpose of it is now not needed > since we have full t.38. > > Thanks, > Brian > -- Kristian Kielhofner _______________________________________________ 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 _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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
http://wiki.freeswitch.org/wiki/Proxy_Media#Common_misconceptions_.28READ_TH... http://wiki.freeswitch.org/wiki/Proxy_Media#Why_you_almost_certainly_don.27t... On 14 April 2011 17:01, Madovsky <infos@madovsky.org> wrote:
ok, so maybe remove the word "proxy" that confused a lot of people here (even me at the start) :)
----- Original Message ----- *From:* Steven Ayre <steveayre@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Thursday, April 14, 2011 2:45 AM *Subject:* Re: [Freeswitch-users] proxy SDP
You misunderstand I think... it *isn't* needed for T38 any longer. Only in very old versions.
-Steve
On 13 April 2011 23:17, Madovsky <infos@madovsky.org> wrote:
maybe change the param name to proxy_media_t38 ;)
----- Original Message ----- From: "Kristian Kielhofner" <kris@kriskinc.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, April 13, 2011 2:10 PM Subject: Re: [Freeswitch-users] proxy SDP
Brian,
For all of the confusion proxy media creates I still see cases where it is useful... It shouldn't be removed completely.
On Tue, Apr 12, 2011 at 8:55 PM, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
-- Kristian Kielhofner
_______________________________________________ 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
_______________________________________________ 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
------------------------------
_______________________________________________ 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
_______________________________________________ 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
"now not needed since we have full t.38" What about codecs not implemented in FS? Not that there are many of those left. :) It's the *only* good reason I can see for using it. -Steve On 13 April 2011 01:55, Brian West <brian@freeswitch.org> wrote:
We aren't a proxy... we have transcended into this quasi proxy in some scenarios which mostly involve t.38... as for proxy media DO NOT USE IT. Just saying it might go away since the purpose of it is now not needed since we have full t.38.
Thanks, Brian
On Apr 12, 2011, at 10:04 AM, Sam wrote:
I have done that, but i want to pass the exact SDP what i get from leg A to leg B
regards Sam
_______________________________________________ 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 (7)
-
Brian West
-
Clemens Ebentheuer
-
Kristian Kielhofner
-
Madovsky
-
Sam
-
Sergey Okhapkin
-
Steven Ayre