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.
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 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@conference.freeswitch.org ☎ +19193869900
Works like a charm! Thank you so much, Ian. On Mon, Mar 17, 2014 at 9:56 PM, Anthony Minessale < anthony.minessale@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 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@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Ian McMaster