[asterisk-users] Codec negotiation : expecting G726, getting G711a (alaw)

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Tue Aug 3 09:29:16 CDT 2010


> In the [general] section of sip.conf I have :
> disallow=all
> allow=g726
> allow=alaw
> allow=g729
> allow=gsm

So change the order there and see what happens.

> > * look at the variable SIP_CODEC for the inbound (first) call leg, and
> > in Asterisk 1.8 (or 1.6.2?) also at SIP_CODEC_OUTBOUND
> When I read the value of this variable just before the Dial()-statement,
> it is empty.

You need to set it, not read it.


More information about the asterisk-users mailing list