[Freeswitch-users] Different codecs for different devices?
Ken Fulmer
kenfulmer at icstechnologysolutions.com
Tue May 4 09:32:47 PDT 2010
Just in case others are interested, this is possible with the following
parameters:
SIP Profile:
<param name="inbound-late-negotiation" value="true"/>
Dial-Plan:
<action application="set" data="inherit_codec=true"/>
The codec negotiated in Call Leg B, is forced onto Call Leg A. This is
possible due to the "inbound late negotiation" parameter in the sip profile.
Hope this helps someone else.
Ken
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken
Fulmer
Sent: Tuesday, May 04, 2010 8:29 AM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] Different codecs for different devices?
This may be a far out question but here goes:
Our fax machines that are connected to ATA's need to be g.711 on both Call
Leg A and Call Leg B (in either direction).
However, our phones need to be g.711 on the internal side that faces our
PBX. On the side facing our SIP provider, the calls should be transcoded to
g.729. Inbound the calls to phones (not ATA's) need to be g.729 on the
inbound call leg and g.711 on the outbound call leg.
I realize we can set inbound / outbound codec preferences in single or
multiple profiles and we can set the "absolute_codec_string" value for the
outbound call leg.
However, I've yet to determine how to set the inbound call leg's codec
differently depending on the device. Is this possible?
Thanks,
Ken Fulmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100504/7f4823ac/attachment.html
More information about the FreeSWITCH-users
mailing list