Hey gang, I'm hoping someone can help me out here. I've just noticed that on two of my five Asterisk boxes (CentOS 4.4, Asterisk 1.2.12.1), I'm getting the following translation cost for g729: asterisk*CLI> show translation Server 1: g729 - 26 25 25 25 25 24 26 - 53 36 Server 2: g729 - 66 65 65 65 65 64 69 - 90 75 On my other three boxes, I get much saner vaules (costs anywhere from 3 to 6). Any ideas why two boxes have such high costs? All the servers run the same OS, updated to the same versions of everything, including kernel. Four of the five boxes run x86_64 kernels, with the two that are playing up both running x86_64 kernels. I've switched the entire network to using Speex instead of g729 until I find out why I'm getting such high numbers here. I suspect (but can't prove) that this may have been the cause of some audio issues between these two servers as the phones on either end use alaw, so Asterisk is transcoding to g729 across the IAX2 link. Thanks, Avi -- National Manager - Special Projects < Sydney / Melbourne / Canberra / Hobart / London /> 2/340 Gore Street T: +61 (0) 3 9235 5400 Fitzroy, VIC F: +61 (0) 3 9235 5444 3065 W: http://www.squiz.net ..... > > Open Source - Own It - Squiz.net ...... />
Try forcing asterisk recalculate those costs: CLI> show translation recalc 20 Julian J. M. On 11/5/06, Avi Miller <avi.miller@squiz.net> wrote:> Hey gang, > > I'm hoping someone can help me out here. I've just noticed that on > two of my five Asterisk boxes (CentOS 4.4, Asterisk 1.2.12.1), I'm > getting the following translation cost for g729: > > asterisk*CLI> show translation > > Server 1: g729 - 26 25 25 25 25 24 26 > - 53 36 > Server 2: g729 - 66 65 65 65 65 64 69 > - 90 75 > > On my other three boxes, I get much saner vaules (costs anywhere from > 3 to 6). > > Any ideas why two boxes have such high costs? All the servers run the > same OS, updated to the same versions of everything, including > kernel. Four of the five boxes run x86_64 kernels, with the two that > are playing up both running x86_64 kernels. > > I've switched the entire network to using Speex instead of g729 until > I find out why I'm getting such high numbers here. I suspect (but > can't prove) that this may have been the cause of some audio issues > between these two servers as the phones on either end use alaw, so > Asterisk is transcoding to g729 across the IAX2 link. > > Thanks, > Avi > > -- > National Manager - Special Projects > > < Sydney / Melbourne / Canberra / Hobart / London /> > 2/340 Gore Street T: +61 (0) 3 9235 5400 > Fitzroy, VIC F: +61 (0) 3 9235 5444 > 3065 W: http://www.squiz.net > > ..... > > Open Source - Own It - Squiz.net ...... /> > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
On 06/11/2006, at 8:53 AM, Julian J. M. wrote:> Try forcing asterisk recalculate those costs:Ok, that fixed it. Thanks! :) -- National Manager - Special Projects < Sydney / Melbourne / Canberra / Hobart / London /> 2/340 Gore Street T: +61 (0) 3 9235 5400 Fitzroy, VIC F: +61 (0) 3 9235 5444 3065 W: http://www.squiz.net ..... > > Open Source - Own It - Squiz.net ...... />
newbie alert Glad to see this got fixed so quickly, but could someone give a brief explanation of what this was? What did Asterisk do? Where does the "cost" come into play or get calculated? Jason The place where you made your stand never mattered, only that you were there... and still on your feet Avi Miller wrote:> Hey gang, > > I'm hoping someone can help me out here. I've just noticed that on two > of my five Asterisk boxes (CentOS 4.4, Asterisk 1.2.12.1), I'm getting > the following translation cost for g729: > > asterisk*CLI> show translation > > Server 1: g729 - 26 25 25 25 25 24 26 > - 53 36 > Server 2: g729 - 66 65 65 65 65 64 69 > - 90 75 > > On my other three boxes, I get much saner vaules (costs anywhere from > 3 to 6). > > Any ideas why two boxes have such high costs? All the servers run the > same OS, updated to the same versions of everything, including kernel. > Four of the five boxes run x86_64 kernels, with the two that are > playing up both running x86_64 kernels. > > I've switched the entire network to using Speex instead of g729 until > I find out why I'm getting such high numbers here. I suspect (but > can't prove) that this may have been the cause of some audio issues > between these two servers as the phones on either end use alaw, so > Asterisk is transcoding to g729 across the IAX2 link. > > Thanks, > Avi > > -- > National Manager - Special Projects > > < Sydney / Melbourne / Canberra / Hobart / London /> > 2/340 Gore Street T: +61 (0) 3 9235 5400 > Fitzroy, VIC F: +61 (0) 3 9235 5444 > 3065 W: http://www.squiz.net > > ..... > > Open Source - Own It - Squiz.net ...... /> > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >