With sipura (I tried this with both the 3000 and 841) set to prefer the g726-32 codec, a call from the sipura to asterisk will use g726. Asterisk sip.conf has: disallow=all allow=g726 allow=gsm allow=alaw When the call is from asterisk to the sipura, asterisk will not use g726. It ends up using alaw. I usually use stable but I tried this with head too, and same thing happens. Anybody know how to make the call leg from asterisk to the sipura use g726?
Philip Fleischer wrote:> With sipura (I tried this with both the 3000 and 841) set to prefer > the g726-32 codec, a call from the sipura to asterisk will use g726.You need to enable DEPRECIATED726 or something like that in the Makefile.
> With sipura (I tried this with both the 3000 and 841) set to prefer > the g726-32 codec, a call from the sipura to asterisk will use g726. > > Asterisk sip.conf has: > disallow=all > allow=g726 > allow=gsm > allow=alaw > > When the call is from asterisk to the sipura, asterisk will not use > g726. It ends up using alaw. I usually use stable but I tried this > with head too, and same thing happens. > > Anybody know how to make the call leg from asterisk to the sipura > use g726?If you're using cvs-head, have you tried: disallow=all allow=g726,gsm,alaw (The codec preference approach does not appear to be implemented in stable.)