Hi everyone,
thank you for your help solving my issues :)
I now have a working solution for my simple SIP phone in Python and everyone who is interested how to get a FritzBox working with pjsip - here are the config_site.h defines that are required to get it going. The bold settings are required and the non bold settings are some extra settings that I personally use now. Note that I do not use conferencing and therefore enable the switchboard (which drops the conferencing functionality!)
#define PJMEDIA_CONF_USE_SWITCH_BOARD 1
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
#define PJMEDIA_AUDIO_DEV_HAS_WMME 1
#define PJMEDIA_CONF_SWITCH_BOARD_BUF_SIZE 2000
#define PJMEDIA_SND_DEFAULT_REC_LATENCY 20
#define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 100
#define PJMEDIA_HAS_G711_CODEC 1
#define PJMEDIA_HAS_FFMPEG 0
#define PJMEDIA_HAS_L16_CODEC 0
#define PJMEDIA_HAS_G722_CODEC 0
#define PJMEDIA_HAS_GSM_CODEC 0
#define PJMEDIA_HAS_SPEEX_CODEC 0
#define PJMEDIA_HAS_ILBC_CODEC 0
#define PJMEDIA_HAS_PASSTHROUGH_CODECS 1
#define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 0
#define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
#define PJMEDIA_AUDIO_DEV_HAS_WMME 1
#define PJMEDIA_CONF_SWITCH_BOARD_BUF_SIZE 2000
#define PJMEDIA_SND_DEFAULT_REC_LATENCY 20
#define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 100
#define PJMEDIA_HAS_G711_CODEC 1
#define PJMEDIA_HAS_FFMPEG 0
#define PJMEDIA_HAS_L16_CODEC 0
#define PJMEDIA_HAS_G722_CODEC 0
#define PJMEDIA_HAS_GSM_CODEC 0
#define PJMEDIA_HAS_SPEEX_CODEC 0
#define PJMEDIA_HAS_ILBC_CODEC 0
#define PJMEDIA_HAS_PASSTHROUGH_CODECS 1
#define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 0
#define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1
With these settings everything is now working as desired!
Cool stuff indeed! Thanks everyone for your responses :)
Cheers,
Oliver
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org