From: Mikael M. <mik...@tj...> - 2004-10-21 22:04:49
|
Steve Kann wrote: > ... > > libiax2 API: > > Add params to iax_call to set format and capability. > Add param to iax_accept to tell it what format we want. > > -extern int iax_call(struct iax_session *session, char *cidnum, char > *cidname, char *ich, char *lang, int wait); > -extern int iax_accept(struct iax_session *session); > +extern int iax_call(struct iax_session *session, char *cidnum, char > *cidname, char *ich, char *lang, int wait, int format, int capability); > +extern int iax_accept(struct iax_session *session, int format); > > Let me know what you think.. > > I've only tested this on one outgoing calls, so a review and testing is > in order.. ... > Will you send a patch to the libiax2 author? And will it be backward compatible, or will it require source modifications? I'm concerned since I have packaged iaxclient for Debian and I'm using a shared libiax2 library instead of statically linking with libiax2 that is distributed in iaxclient. The libiax2 used comes from the cvs at cvs.digium.com, because they haven't released any real versions yet. Regards, Mikael Magnusson |