I don't know if you have been in a position where your router transcodes (even from ulaw to alaw) but at least on my router (asus 500g) this poses a big problem. Fortunately there is http://www.b2bua.org/wiki/AsteriskCodecNegotiationPatch and they provide a patch to add some more clever codec negotiation. With this patch and no codecs the asterisk behaves as pass through only which is what I needed (no moh, no error messages). I've changed this patch to apply cleanly to the current kamikaze asterisk port and can be found at http://members.hellug.gr/nmav/misc/030-codec.patch .
(Last edited by nmav on 14 Nov 2007, 21:39)