[Asterisk-Users] SIP error: Asked to transmit frame type 64
Philipp von Klitzing
klitzing at pool.informatik.rwth-aachen.de
Thu Oct 30 04:33:00 MST 2003
Hi there,
I'll need some help with this: Trying to establish an IAX2 link between
two servers works in one direction (SIP client with ulaw), but not in the
other (SIP client with GSM). The client used for this is X-Lite behind
NAT while both servers have a public IP (I playback an anouncement before
trying to connect to the second *).
Error on the originating * server:
WARNING[27670]: File chan_sip.c, Line 1148 (sip_write): Asked to transmit
frame type 64, while native formats is 2 (read/write = 2/2)
I really _really_ have no clue why codec "16 bit Signed Linear PCM" is n
the game here, to my knowledge that is not supported by X-Lite, and it is
certainly not enabled anyware in the conf files either.
Should I file a bug report, or is this a setup problem on my side?
Philipp
In both sip.conf and iax.conf on both servers I have (with slight
variations):
disallow=all
allow=gsm
allow=ilbc
allow=ulaw
We dial "98616" here:
exten => _9XXXX,1,Playback(transfer)
exten => _9XXXX,2,Ringing
exten => _9XXXX,3,Wait(1)
exten => _9XXXX,4,Dial(IAX2/myserv:mypw at remote-regist-server/${EXTEN:1})
exten => _9XXXX,5,Congestion
exten => _9XXXX,105,Playback(tt-monkeysintro)
exten => _9XXXX,106,Hangup
my chan_sip.c:
static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
{
struct sip_pvt *p = ast->pvt->pvt;
int res = 0;
if (frame->frametype == AST_FRAME_VOICE) {
if (!(frame->subclass & ast->nativeformats)) {
--> --> ast_log(LOG_WARNING, "Asked to transmit frame type %d, while
native formats is %d (read/write = %d/%d)\n",
frame->subclass, ast->nativeformats, ast->readformat, ast-
>writeformat);
return -1;
}
Related error reports I found:
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg12648.html
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg05602.html
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg03242.html
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg01139.html
More information about the asterisk-users
mailing list