Picture of Harald 3355
Registered 8 years 20 days
Harald 3355 Thursday, 16 March 2017, 09:28 PM
Different default "default" Coder on on differnet models
Hi

We have until now used G711A as default codec. Now we have found that the coder G722 has higher quality and we want this to be the new standard. To achieve that we have changed the "Coder" field on the IP811 DHCP from G711A,30/G711A,30 to G722,20/G722,20

That is working fine for the most of our phones (IP241 + IP222 + IP112). But we still have some old IP230 + IP240 phones which don't support G722. On those phones it is now a bit random what is selected and I can from time to time see that G729A is used.

To solve this problem I have looked for a command to put into the updateserver / update-IP230.htm file. I have tried the command
config change PHONE SIG /prot H323 /gk-addr 192.168.8.201 /tones 13 /lcoder G711A,20, /coder G711A,20,

The command is working, but sorry it has a dramatic disadvantage: It clears the number assigned to the phone / User-1.

Question: Is there a way to set the Coder Preference without disadvantages?

PS: We are running 12r1 sr7

Best regards
Harald
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 125 days
Christoph Künkel (innovaphone) Friday, 17 March 2017, 06:58 AM
Re: Different default "default" Coder on on differnet models
Try

config add PHONE SIG /lcoder G711A,20, /coder G711A,20,
config write
config activate

"change" replaces all options (not only those you mention), "add" adds/replaces the given ones
Picture of Harald 3355
Registered 8 years 20 days
Harald 3355 Friday, 17 March 2017, 09:31 AM
Re: Different default "default" Coder on on differnet models
Thanks a lot - that did the trick.

Two follow up questions:
1: Do you have the code to set User-2 to User-6 with default G722,20?

In the "Config-Show" I find
vars create PHONE/USER-REG/00002 p %3creg+enable='0'+tones='13'+coder='G711A,20,x0k0'+lcoder='G711A,20'+/%3e
but I don't think I can use enable='0' as I expect this will disable active users (on other devices)?

2: Where can I find a complete description of all the commands available in the update script language.

Again - thanks for helping.
← You can define your color theme preference here