[Freeswitch-users] Codec negotiation with ESL socket?
Ian McMaster
ian.mcmaster at gmail.com
Tue Mar 18 06:14:18 MSK 2014
Works like a charm!
Thank you so much,
Ian.
On Mon, Mar 17, 2014 at 9:56 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> Make sure inbound-late-negotiaion is true in the sofia profile.
> Then set the variable absolute_codec_string to pcmu on the channel before
> executing answer.
>
>
>
> On Mon, Mar 17, 2014 at 8:10 PM, Ian McMaster <ian.mcmaster at gmail.com>wrote:
>
>> Our current Polycom phones send the following in the SDP:
>>
>> a=rtpmap:0 PCMU/8000
>>
>> a=rtpmap:8 PCMA/8000
>>
>> a=rtpmap:18 G729/8000
>>
>> We added a 550 phone and now the preferred coded is G722
>>
>> *a=rtpmap:9 G722/8000*
>>
>> a=rtpmap:0 PCMU/8000
>>
>> a=rtpmap:8 PCMA/8000
>>
>> a=rtpmap:18 G729/8000
>>
>> Our IVR application (socket) plays files recorded in PCMU format.
>>
>> When the new phone connects (G722), the play function is now looking for
>> files ending in .G722 (which do not exist).
>>
>> How do you negotiate a codec without a B leg? I'd like the phone to use
>> G722 when connected to other G722 phones, but use PCMU if connected to a
>> socket application.
>>
>> Thank you,
>> Ian.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
>
> --
> Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
>
> ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞
> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org ☎ +19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20140317/750ccf32/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list