[Freeswitch-users] Add codec

Brian West brian at freeswitch.org
Mon Jan 4 15:01:05 MSK 2016


He already had PCMA in the SDP, what he probably needs is verbose SDP...
Again it's a mistake to say PCMA isn't there, it's the number 8 in the
audio m line.

On Monday, January 4, 2016, Bhavik Patel <bhavikpatel.aha at gmail.com> wrote:

> Hi,
>
> Thanks Denis, it worked.
>
> Now it is showing another error. "CODEC NEGOTIATION ERROR".
> I think it is because of "[WARNING] switch_core_media.c:3700 Crypto not
> negotiated but required.".
>
> I tried to solve it by putting "<action application="set"
> data="sip_secure_media=true"/>" in dialplan. but not solved.
>
> Here is the log:
>
> https://gist.githubusercontent.com/Bhavik3/47bfebe7d9d290b3f3c5/raw/49760fa0be14fd353122387096a2ac659eedd309/sofiaTrace2
>
>
>
> Thanks,
>
> On Mon, Jan 4, 2016 at 11:41 AM, Denis Papes <shishko69 at gmail.com
> <javascript:_e(%7B%7D,'cvml','shishko69 at gmail.com');>> wrote:
>
>> Try putting {absolute_codec_string=PCMA} in bridge command
>>
>>
>>
>>
>> On 01/04/2016 04:36 AM, Bhavik Patel wrote:
>>
>> Hi,
>>
>> Actually, I am trying to set up FreeSWITCH with twilio. But I am getting "SIP/2.0
>> 415 Unsupported media type".
>> Here is the log :
>> https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace
>>
>>
>> According to twilio support, this is because I have not enable G.711
>> codec in my FreeSWITCH.
>>
>>
>> Thanks,
>>
>> On Sun, Jan 3, 2016 at 11:40 PM, Brian West <brian at freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>> wrote:
>>
>>> In what context do you wish to add them, because it would appear it's
>>> already loaded!
>>>
>>>
>>> On Sunday, January 3, 2016, Bhavik Patel <
>>> <javascript:_e(%7B%7D,'cvml','bhavikpatel.aha at gmail.com');>
>>> bhavikpatel.aha at gmail.com
>>> <javascript:_e(%7B%7D,'cvml','bhavikpatel.aha at gmail.com');>> wrote:
>>>
>>>> Hi,
>>>>
>>>> in FreeSWITCH, how can I add following codec:
>>>>
>>>> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE
>>>>
>>>> --
>>>> Bhavik Patel
>>>> DA-IICT
>>>>
>>>
>>>
>>> --
>>>
>>> *Brian West*
>>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>
>>> brian at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>
>>>
>>>
>>> *Twitter: @FreeSWITCH , @briankwest*
>>> http://www.freeswitchbook.com
>>> http://www.freeswitchcookbook.com
>>>
>>> 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)
>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','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
>>> <javascript:_e(%7B%7D,'cvml','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
>>>
>>
>>
>>
>> --
>> Bhavik Patel
>> DA-IICT
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users at lists.freeswitch.org');>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>>
>
>
>
> --
> Bhavik Patel
> DA-IICT
>


-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

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)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/de520966/attachment.html 


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