« Back to TCL-API

How to detect the negotiated codec of an outbound leg

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
When sending outbound SIP calls to customers SIP devices, how do we detect the codec that was negotiated during call setup?  We must be able to support many codecs.
 
This is so we can play outbound wav using the correct codec.
 
Thanks,
Travis

I don't think we can detect codec dynamically. Codec is configued in dial-peer.
 
Thanks,
 
Yawming

Thanks Yawming,
 
Can you please add a feature request to that team:
 
      [infotag get leg_codec]
 
Sounds like a wonderful addition to the new 15.0 IOS !
 
Thanks,
Travis

Sure I can, here is the request # CSCte58508
 
Thanks,
 
Yawming