[Freeswitch-users] Use inherit_codec Codec on Re-invite

Brian West brian at freeswitch.org
Thu Apr 20 17:49:19 MSD 2017


Going to need to know what you're doing in the dialplan to really
understand whats going on.

/b


On Thu, Apr 20, 2017 at 7:14 AM, Colin Morelli <colin.morelli at gmail.com>
wrote:

> Hey all, back again
>
> Is there any option in FS to either:
>
>    - Keep inherit_codec working after the first invite
>    - Try to reduce codec changes by attempting to use the existing codec
>    on a re-invite
>
> Unless I'm missing something, FS seems to ignore both the current codec
> being used, and the inherit_codec setting on re-invites, so it defaults to
> essentially restarting codec negotiation. Ideally I could have it set to
> preserve inherit_codec if the call is still bridged (i.e. try to negotiate
> the B-leg's codec onto the A-leg if it's supported by the A-leg's new SDP).
> Consider the following call:
>
> INVITE (this is good and what I'd expect):
> A --- (opus, PCMU) ---> FS --- (opus, PCMU) ---> B
> A <-- (PCMU) --- FS <--- (PCMU) --- B
>
> Later Re-INVITE:
>
> A --- (opus, PCMU) ---> FS
> A <-- (opus) --- FS
>
> Ideally, I could get something like:
>
> Later Re-INVITE:
>
> A --- (opus, PCMU) ---> FS (checks codec used on B-leg of call, if
> inherit_codec=true)
> A <-- (PCMU) --- FS
>
> Thanks in advance,
> Colin
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170420/36e496d6/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list