Trying to figure out why my codec rules are being ignored. I'd like to
utilize g726 on my inter server IAX2 trunks.
Scenario:
Polycom 501 g729, ulaw enabled
|
\/
Astersik Server 1
- polycom extension: allow=ulaw dissallow=all
- trunk to peer : allow=g726, dissallow=all
|
\/
Asterisk Server 2
- trunk - user settting for server 1: allow=g726, dissallow=all
- trunk - peer 'LDprovider' : allow=g726, dissallow=none
|
\/
LD Provider
When the polycom dials outbound that goes to the LD Provider, it fails
and says call could not be bridged. If I alter peer-trunk to the LD
provider to allow=g726&ulaw, the call goes through but as ulaw all the way.
show translation gives:
Server1
==================================================================
Connected to Asterisk 1.0.9 currently running on asterisk1 (pid = 1320)
asterisk1*CLI> show translation
Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)
g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc
g723 - - - - - - - - - - -
gsm - - 4 4 13 4 3 15 73 - 60
ulaw - 11 - 1 11 2 1 13 71 - 58
alaw - 11 1 - 11 2 1 13 71 - 58
g726 - 19 10 10 - 10 9 21 79 - 66
adpcm - 11 2 2 11 - 1 13 71 - 58
slin - 10 1 1 10 1 - 12 70 - 57
lpc10 - 20 11 11 20 11 10 - 80 - 67
g729 - 24 15 15 24 15 14 26 - - 71
speex - - - - - - - - - - -
ilbc - 20 11 11 20 11 10 22 80 - -
Server2
==================================================================
Connected to Asterisk 1.0.9 currently running on phone(pid = 1790)
phone*CLI> show translation Translation times between formats (in
milliseconds)
Source Format (Rows) Destination Format(Columns)
g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc
g723 - - - - - - - - - - -
gsm - - 2 2 2 2 1 5 22 - 14
ulaw - 3 - 1 2 2 1 5 22 - 14
alaw - 3 1 - 2 2 1 5 22 - 14
g726 - 4 3 3 - 3 2 6 23 - 15
adpcm - 3 2 2 2 - 1 5 22 - 14
slin - 2 1 1 1 1 - 4 21 - 13
lpc10 - 5 4 4 4 4 3 - 24 - 16
g729 - 7 6 6 6 6 5 9 - - 18
speex - - - - - - - - - - -
ilbc - 4 3 3 3 3 2 6 23 - -
=================================================================
Any ideas to what is stopping the transcoding on the trunk?
Mike
--
Mike Ashton
Quality Track Intl
Ph: 647-722-2092 x 251
Cell: 416-527-4995
Fax: 416-352-6043
QTI CONFIDENTIAL AND PROPRIETARY INFORMATION
The contents of this material are confidential and proprietary to Quality Track
International, Inc.
and may not be reproduced, disclosed, distributed or used without the express
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is
prohibited.
If you have received this communication in error, please immediately delete it
and all copies, and promptly notify the sender.
begin:vcard
fn:Mike Ashton
n:Ashton;Mike
org:Quality Track Intl
adr:;;63 Kenpark Ave;Brmpton;ON;L6Z 3L4;Canada
email;internet:[EMAIL PROTECTED]
title:CTO
tel;work:905-840-4995
tel;cell:416-527-4995
x-mozilla-html:FALSE
url:http://www.QualityTrack.com
version:2.1
end:vcard