Matthew Boehm wrote:

Well, it seems that Zap cannot do 729 at all:

channels/chan_zap.c (line 4156):

if ((frame->subclass != AST_FORMAT_SLINEAR) &&
            (frame->subclass != AST_FORMAT_ULAW) &&
            (frame->subclass != AST_FORMAT_ALAW)) {
    ast_log(LOG_WARNING, "Cannot handle frames in %d format\n",
frame->subclass);
    return -1;
}

Seems that Zap can only do slinear, ulaw and alaw. So, how do I force my zap
card to only to alaw?

If I have an incomming Sip 729 call, shouldn't asterisk convert it to 711 to
go out the zap card? I have 10 g729 licenses.

Correct. Zap can only do slinear, ulaw, and alaw. Asterisk will transcode from whatever codec you are using for the VoIP leg of the call into ulaw or alaw. Since you have G729 licenses this should happen automagically. I have no idea why this is happening.
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to