From: Steve K. <st...@st...> - 2004-12-03 16:56:19
|
Mikhail Ramendik wrote: >Hello, > >I'd like to try using tkiaxphone. At least I could compile it; besides, I like >the commandline+GUI-wrapper approach. > >But, I could not find a way to set the preferred codec. The asterisk server >may allow me a choice of several codecs, but I'd like to inform it that I >prefer gsm. How do I do this? > > > In the library, you call void iaxc_set_formats(int preferred, int allowed); to do this. I don't think that tkiaxphone has a UI for this yet -- it's development predates this API. If you just want to hack this in, just add a call to this function before you make your call.. -SteveK |