Hi Matt, On the ATA, set TxCodec=2 and RxCodec=2 (G.711u). Also, set AudioMode=0x00160016 , which will force G.711 . After saving, reload the /dev page to be sure that these values are set as expected.
In Asterisk, allow=ulaw only. If it still doesn't work, use the NPrintf field and prserv, Ethereal, or Asterisk itself to trace the SIP. The problem may not be (only) codec negotiation. Don't throw out your ATA. We have several in our network, and they have better voice quality and fewer glitches than our other adapters. --Stewart > ----- Original Message ----- > From: "Matthew Simpson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 04, 2004 8:52 AM > Subject: Re: [Asterisk-Users] miserable time with Cisco ATA186 > > > > If I turn allow=ulaw on only, asterisk tries to use it > > > > a=rtpmap:0 PCMU/8000 > > > > but the ATA says it doesn't have it: > > > > Answering/Requesting with root capability 4 > > Answering with non-codec capability 0x1(G723) > > > > If I turn allow=alaw on only or with allow=ulaw, asterisk sends it, the > ATA > > says it has it [alaw], but it still won't negotiate it. > > > > I think the stupid ATA is just determined to use G723 no matter what... I > > have LBRCodec set to 3 which should have it try to use G729, but it still > > tries to use G723. The AudioMode setting has a parameter bit to "Enable > > G711 only", but I'm not sure how that bit thing works. Either the default > > 0x00150015 or the recommended 0x00140014 fails. [btw, bit 1 should be "1" > > to enable G711 only, if someone can help me there]. > > > > I'm seriously about to punt this thing into the garbage. > > > > Help! > > > > thanks, > > matt _______________________________________________ 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
