[Freeswitch-users] codec inheritance in 3pcc mode
Serge Yuriev
me at nevian.org
Mon Nov 23 09:48:12 MSK 2015
3pcc is a-priory late neg
--
Serge via mobile
--
Serge via mobile
> On 22 нояб. 2015 г., at 21:21, Vladimir Getmanshchuk <vladget at gmail.com> wrote:
>
> inherit_codec works only with late negotiation enabled (disabled by default)
> https://wiki.freeswitch.org/wiki/Codec_Negotiation#Late_Negotiation_.28requires_param.29
>
> check you sofia profiles for this param.
>
>> On Thu, Nov 12, 2015 at 7:03 PM, Serge S. Yuriev <me at nevian.org> wrote:
>> I think problem is in function inherit_codec in switch_ivr_originate.c
>> It checks codecs from both sides but not taking in account 3pcc mode and obviously can't find any matches.
>>
>>
>>> On 06/11/15 21:38, Michael Jerris wrote:
>>> do you have the mod loaded for g729?
>>>
>>>> On Nov 6, 2015, at 12:23 PM, Serge S. Yuriev <me at nevian.org> wrote:
>>>>
>>>> But why? I won't any transcoding, both we and peer supporting g.729.
>>>> But in case of completely independent negotiation we will choose g.722 and they g.729.
>>>>
>>>>> On 06/11/15 19:31, Sergey Safarov wrote:
>>>>> Try with PCM codec. G729 may require license in your case.
>>>>>
>>>>>
>>>>>> On Fri, Nov 6, 2015, 19:19 Serge S. Yuriev <me at nevian.org> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> Our PBX sending INVITEs w/o SDP so we set enable 3pcc=proxy
>>>>>> In dialplan I have set inherit_codec=true
>>>>>>
>>>>>> We receive from peer:
>>>>>>
>>>>>> m=audio 43512 RTP/AVP 18 101
>>>>>> a=rtpmap:18 G729/8000
>>>>>> a=fmtp:18 annexb=no
>>>>>> a=rtpmap:101 telephone-event/8000
>>>>>> a=fmtp:101 0-15
>>>>>> a=ptime:20
>>>>>>
>>>>>>
>>>>>> But FS refuses to send this to Caller
>>>>>>
>>>>>> 2015-11-06 19:00:06.331944 [DEBUG] switch_ivr_originate.c:416 Codec
>>>>>> string G729 at 8000h@20i not supported on sofia/internal/12550 at 10.0.64.63,
>>>>>> skipping inheritance
>>>>>>
>>>>>> But why while there is no SDP from A side? PBX definitely supports G729.
>>>>
>>>> --
>>>> Serge S. Yuriev
>>>> Lead VoIP engineer
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>
>> --
>> Serge S. Yuriev
>> Lead VoIP engineer
>>
>>
>> _________________________________________________________________________
>> 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
>
>
>
> --
> Yours sincerely,
> Vladimir Getmanshchuk
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151123/4dd2ac8a/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list