Hi Aleksandar, > As I already explained earlier on this forum, I'm running ooH323c > stack on an uCLinux embedded system and I want to modify 'simple' > example provided with the stack in order to use it with my media > library. However, before I start voice streaming, I need to find out > which codec is negotiated between two endpoints since this codec needs > to be turned on in hardware. How to do this? I was not able to find. I > was expecting that this information would exist in channel of call level > calbacks (ooLogicalChannel and ooCallData structures). > I guess you will need a callback function for logical channel established, so you can check the codec type of established channel. So,
1. You can check the established logical channel capability (i.e. OOLogicalChannel.type) in logical channel established function. 2. You will have to add a callback function on logical channel established to find out the codec types used for established channel. Search for "OO_LOGICALCHAN_ESTABLISHED" & add a callback function of logical channel established. > Also, when I register several capabilities for the same endpoint, it > turns out that before a call is established, receive channel callbacks > (caller party side) are triggered for every registered capability. This > was strange for me since I was expecting that only negotiated codec's > channel callback would be triggered. Any remarks on this? > Which callback function you are taking about? Please provide the function name & line no in your code. Regards, Avin Patel Objective Systems, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ ooh323c-devel mailing list ooh323c-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ooh323c-devel