hi luca,

can you try this patch? it should show up in the log very often. it prints a bitmask of native formats that asterisk support. if it is 0, we should find out why.

regards,

andreas

diff --git a/chan_lcr.c b/chan_lcr.c
index ce1bd3e..2d84324 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -2690,6 +2690,7 @@ static struct ast_frame *lcr_read(struct ast_channel *ast)
 #endif
 #else
        call->read_fr.subclass = ast->nativeformats;
+       printf("formats: %x\n", ast->nativeformats);
 #endif
        if (call->rebuffer) {
                call->read_fr.datalen = call->framepos;

Reply via email to