How to detect the negotiated codec of an outbound leg

Version 1
    This document was generated from CDN thread

    Created by: Travis May on 22-01-2010 12:40:49 AM
    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

    Subject: RE: How to detect the negotiated codec of an outbound leg
    Replied by: Yawming Chen on 22-01-2010 02:28:21 AM
    I don't think we can detect codec dynamically. Codec is configued in dial-peer.
     
    Thanks,
     
    Yawming

    Subject: RE: How to detect the negotiated codec of an outbound leg
    Replied by: Travis May on 22-01-2010 09:15:29 PM
    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

    Subject: RE: How to detect the negotiated codec of an outbound leg
    Replied by: Yawming Chen on 22-01-2010 10:26:24 PM
    Sure I can, here is the request # CSCte58508
     
    Thanks,
     
    Yawming