Hello. I have a new HT-286 which reports itself in the SIP headers as “Grandstream HT287 1.1.0.31”. I’m using this device with an Asterisk 1.4.23.1 server and am trying to get it to use a G726-32 codec. The HT-286 appears to only want to use PCMU/8000 as seen in this debug output:
I have tried various things in the “Preferred Vocoders” settings in the ATA, even going so far as to set all seven options to G726. I have also reset the device to the factory defaults. Nothing I do changes this behavior. The ATA seems to be stuck on PCMU/8000.
I’ve also tried various codec settings in my sip.conf file on the asterisk server. However, unless I include the ulaw codec on the asterisk side, I cannot establish a successful voice connection with the HT-286. I’ve also tested this with an Asterisk 1.6.0.9 server with the same results.
Any ideas? Grandstream support says they cannot reproduce this problem.
[code]Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME DESC
Again, it only works if I uncomment allow=ulaw. The Asterisk 1.4 box that this ATA is talking to is running on an OpenWRT router. Running “core show translation” shows that I have support for gsm, ulaw, g726, g726aal2, and slin. There’s also a Linksys SPA-3102 talking to the same Asterisk 1.4 using g726aal2 without any problems. So I think the asterisk part is correct, unless you see something wrong in the above sip.conf section.
[quote=“ianplain”]heres the problem it seems one is set to g726 only and the other ulaw only
check your configs [/quote]
Thanks for your reply. Yes, the asterisk box is set to g726 only but the ATA is set to allow these codecs in this order:
PCMU
PCMA
G723
G729
G726-32
iLBC
But it appears from the SIP debug messages that the ATA doesn’t attempt to negotiate anything but PCMU. If G726 is in the ATA’s list, why won’t it use that?
[quote=“ianplain”]Can you post a screen grab of the page of the router for setup of the codecs, Some GS ATAs have a setting to use on ly the prefered codec IE the first