Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
shahnawaj.khan1990 at ...
Guest





PostPosted: Mon Sep 20, 2021 12:17 pm    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
brian at freeswitch.com
Guest





PostPosted: Mon Sep 20, 2021 1:10 pm    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

More to it than just setting those params, review the confluence pages again and make sure you didn't miss a step.

On Mon, Sep 20, 2021 at 12:09 PM Shahnawaj Khan <shahnawaj.khan1990@gmail.com (shahnawaj.khan1990@gmail.com)> wrote:

Quote:
Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
 But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--



Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
rehfjo at gmail.com
Guest





PostPosted: Mon Sep 20, 2021 4:17 pm    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

I needed an "inherit_codec =  true" before the bridge for this to work. For some reason, setting ringback also trips this up in some cases, but it's been a while since I looked at this so YMMV.



On Mon, 20 Sept 2021 at 18:02, Shahnawaj Khan <shahnawaj.khan1990@gmail.com (shahnawaj.khan1990@gmail.com)> wrote:

Quote:
Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
 But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz
Back to top
mustafa.pk at gmail.com
Guest





PostPosted: Mon Sep 20, 2021 4:27 pm    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

You may try setting "disable-transcoding" to "true" in your sip profile

Regards,
-m



On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan <shahnawaj.khan1990@gmail.com (shahnawaj.khan1990@gmail.com)> wrote:

Quote:
Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
 But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
dragos at freeswitch.org
Guest





PostPosted: Tue Sep 21, 2021 6:52 am    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

you may get some more information from this recent github issue: https://github.com/signalwire/freeswitch/issues/1340 .



On Tue, Sep 21, 2021 at 12:00 AM Ghulam Mustafa <mustafa.pk@gmail.com (mustafa.pk@gmail.com)> wrote:

Quote:
You may try setting "disable-transcoding" to "true" in your sip profile

Regards,
-m



On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan <shahnawaj.khan1990@gmail.com (shahnawaj.khan1990@gmail.com)> wrote:

Quote:
Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
 But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob  //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
shahnawaj.khan1990 at ...
Guest





PostPosted: Tue Sep 21, 2021 12:22 pm    Post subject: [Freeswitch-users] Freeswitch transcoding even after Late Ne Reply with quote

Hi,

Thanks for the quick responses. we moved "inherit_codec = true" from
profile to dialplan. It's working fine as expected. it may be
associated with the issue
https://github.com/signalwire/freeswitch/issues/1340 as we are using
different profile to bridge the call.

Thanks & Regards,
Shahnawaz

On Tue, Sep 21, 2021 at 4:48 AM Dragos Oancea <dragos@freeswitch.org> wrote:
Quote:

you may get some more information from this recent github issue: https://github.com/signalwire/freeswitch/issues/1340 .


On Tue, Sep 21, 2021 at 12:00 AM Ghulam Mustafa <mustafa.pk@gmail.com> wrote:
Quote:

You may try setting "disable-transcoding" to "true" in your sip profile

Regards,
-m

On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan <shahnawaj.khan1990@gmail.com> wrote:
Quote:

Hi All,

I am working on a use case where we don't want freeswitch to transcode
and the codec negotiated with the B leg's answer should be passed to
the A leg so it also uses the same codec.
I have followed the following link
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
and added following flags in sip profiles
<param name="inbound-late-negotiation" value="true"/>
<param name="inherit_codec" value="true"/>
But freeswitch is itself doing the transcoding. Scenario looks like
the following.

1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch
2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice
3) Alice ---(200 OK with PCMU)---> Freeswitch
4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU

Please let me know if I have some understanding gaps and point me in
the right direction.

Thanks & Regards,
Shahnawaz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services