Hi Kresten, Did you mean PCMU/u-law hardware codec? Please also note that enabling passthrough codecs will require audio switchboard as described in APS/VAS-direct wiki [1]. Log snippet could be very useful. --- [1] http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct BR, nanang On Thu, Oct 29, 2009 at 8:07 PM, Kresten Tolstrup <kt at danphone.com> wrote: > Hi, > > I have a a-low hardware codec together with a WinCE uP. Therefore I want to > use PJSIP with a passthrough CODEC. in the file config_site.h I have set the > following: > > #define PJMEDIA_HAS_PASSTHROUGH_CODECS ?1 > #define PJMEDIA_HAS_L16_CODEC ? ? ? ? ? 0 > #define PJMEDIA_HAS_ILBC_CODEC ? ? ? ? ?0 > #define PJMEDIA_HAS_GSM_CODEC ? ? ? ? ? 0 > #define PJMEDIA_HAS_SPEEX_CODEC ? ? ? ? 0 > #define PJMEDIA_HAS_G722_CODEC ? ? ? ? ?0 > #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 ?0 > #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC ? ? ?0 > #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA ? ? ?0 > > When I make a call to SJphone, and PJMEDIA_HAS_PASSTHROUGH_CODECS is set to > 1, SJphone says that there is CODEC error, but when > PJMEDIA_HAS_PASSTHROUGH_CODECS is set to 0 the sip call go through. > How can I fix this? > > Best regards > Kresten > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >