Force codec on A leg

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Force codec on A leg

This post has NOT been accepted by the mailing list yet.

I have this scenario:
A = user
B = my FreeSwitch
C = Dialogic IVR HMP

A leg place a call with codec in sdp in this order

B reroute the call to C

C answer with codec PCMU, PCMA

I'd like to remove codec PCMU,PCMA from originator (A leg) and use only g729 offered and let the FS make the transcoding vs C.

I have used
on the sip_profile:

on my dialplan:

 <action application="export" data="nolocal:absolute_codec_string=PCMA,PCMU"/>
 before outdialing to the IVR

How can I discard the use of PCMU,PCMA from the A leg?