cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2722
Views
0
Helpful
17
Replies

Issue with region codec selection

Marlon
Level 1
Level 1

Hello Community

I got a problem with getting my regions to work properly, respectively to select the correct codec.

I've built a small lab with 4 phones, two device pools and two regions to simulate a main and branch office. The settings are as following:

Region Lab --- Device Pool Lab --- Phone 1 & 2

Region G729 --- Device Pool G729 --- Phone 3 & 4

Region Lab:

Default: 64 kbps max audio bit rate

Lab: 64 kbps max audio bit rate

G729: 8 kbps max audio bit rate

Region G729:

Default: 8 kbps max audio bit rate

Lab: 8 kbps max audio bit rate

G729: 64 kbps max audio bit rate

So,

Lab - G729 --> Should use G.729

Lab - Lab --> Should use G.711

G729 - G729 --> Should use G.711

Unfortunately G711 is used for all calls, except if I limit to 8 kbps for all regions and all connections to other regions.

Many thanks in advance

Marlon

17 Replies 17

Deepak Rawat
Cisco Employee
Cisco Employee

Can you paste the screenshot of your Region settings. I hope that you have done what you wrote that is assigning the correct region to the DP and then DP further to the phones etc.

Regards

Deepak

Hello Deepak

I checked again, the settings are as I described above.

Attached the screenshots.

Many thanks!

Can you change the Audio Codec Preference list to use Keep Current Setting for both these regions, reset the phones and then try.

Regards

Deepak

I did so, even if I can't see what this should change. No difference at all, still using G.711/722 for all Calls.

Marlon,

Can you send us CUCM traces?

Please rate all useful posts

Sure, you need a specific trace? Attached CM relevant Traces.

call details? calling, called and time of call

Please rate all useful posts

I'm sorry, missed that.

8145 --> 8141 @11:37:15 (G729 to Lab)

8145 --> 8140 @11:36:59 (G729 to Lab)

8145 --> 8142 @11:36:49 (G729 to G729)

8140 --> 8141 @11:36:34 (Lab to Lab)


Marlon,

I've only checked the first call, according to your list it should be G729 to Lab. But what i can see in the traces it's:

03203752.006 |11:37:15.590 |AppInfo |Digit analysis: match(pi="2", fqcn="8145", cn="8145",plv="5", pss="Dialplan:Line:Services:Translation", TodFilteredPss="Dialplan:Line:Services:Translation", dd="8141",dac="0")

03203881.007 |11:37:18.649 |AppInfo |DET-MediaManager-(126)::preCheckCapabilities, region1=LAB, region2=LAB, Pty1 capCount=12 (Cap,ptime)= (25,40) (6,60) (4,40) (2,40) (7,60) (8,60) (86,60) (15,60) (16,60) (11,60) (12,60) (257,1), Pty2 capCount=5 (Cap,ptime)= (4,20) (2,20) (11,20) (12,20) (86,20)

And as a result:

E2E RegionBwKbps[ A=64 V = 0 I = 0 ] 

so still something with the configuration that doesn't seem to be ok.

Looks like 8145 is not assigned to 729 Region.

If you are sure it is you might want to restart CCM service to reread the DB information to CCM IMDB.

Leszek

Hi Leszek

I checked the settings, it should be ok, for reference please see the screenshots on top.

I restarted the service and reset the phones, no change.

I also tried to restart the whole server, no change either :/

Hi Marlon,

Thanks for the information. It's not that I don't trust that the setting are correct but it's od that CUCM show something different than what's in configuration. From what I understand this is the lab system, so can you attach text file with the output from the Publisher of the following CLI commands. This is just to double check we are not missing anything on the configuration level.

run sql select * from region
run sql select * from regionmatrix
run sql select * from devicepool
run sql select * from device

Thanks,

Leszek

Hi Leszek

Yes, that's no problem, attached the file. I removed some devices, that are old and not used (and not registered) at the moment, from the output, except that its complete.

For me, everything looks fine. Correct Bitrate, Correct Region/DB set.

Thanks to you in advance.

Marlon

Hi Marlon,

Thanks, so from configuration site all looks good, but from CUCM traces I've checked the other calls and what I can see is for all the calls CUCM sees only LAB region:

03203275.001 |11:36:59.940 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=0, PREF_NONE, regionA=LAB regionB=LAB latentCaps(A=0, B=0) kbps=64, capACount=12, capBCount=8
03203389.005 |11:37:02.039 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=1, PREF_LIST, regionA=LAB regionB=LAB latentCaps(A=0, B=0) kbps=64, capACount=12, capBCount=8
03204592.001 |11:37:30.081 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=0, PREF_NONE, regionA=LAB regionB=LAB latentCaps(A=0, B=0) kbps=64, capACount=7, capBCount=8
03204762.009 |11:37:31.630 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=1, PREF_LIST, regionA=LAB regionB=LAB latentCaps(A=0, B=0) kbps=64, capACount=8, capBCount=7

Looks like something might be stuck with this region from some reason.

So my suggestion would be to remove LAB region and create some new region with new name like LAB1 in it's place.

Any chance you can try it?

Leszek

Hi Leszek

I did so, no change. Shall i try to create a new DP? To my mind it's not very reasonable as the config seams to be ok, but the CUCM just ignores it for some reason. Any idea, what could lead to such a behavior?

Marlon