Codecs order is as follows,
Public Enum AudioEncodeFmt
IAX_Format_GSM = 0
IAX_Format_Speex = 1
IAX_Format_iLBC = 2
IAX_Format_ULAW = 3
IAX_Format_ALAW = 4
IAX_Format_G729 = 5
IAX_Format_MP3 = 6
IAX_Format_ADPCM = 7
IAX_Format_Linear = 8
IAX_Format_LPC10 = 9
IAX_Format_G723 = 10
End Enum
I m updating VB sample, got from other member on this forum.
Regards,
Babar Shafiq Nazmi