Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set codec set in trunk

Status
Not open for further replies.

VladimirS

Systems Engineer
Nov 16, 2022
5
0
0
KZ
Hello, please help me to choose corret codec in trunk group
I set network region in signalling group,for which i set codec set to choose only G711A G711MU codecs. (attachment)
But when i make a call, there is G729 codec, when i debug a call in router
Where else i set choosing necessary codec for trunk group?

To: <sip:92584040@10.2.0.5>
Date: Tue, 15 Nov 2022 10:13:11 GMT
Call-ID: 1a889b00-1ee182d1-b1d0ae-25e6020a@10.2.230.37
Supported: timer,resource-priority,replaces
Min-SE: 500
User-Agent: Avaya CM/R015x.02.1.016.4
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 180
Allow-Events: presence
Supported: X-cisco-srtp-fallback,X-cisco-original-called
Call-Info: <urn:x-cisco-remotecc:callinfo>;x-cisco-video-traffic-class=MIXED
Session-ID: 5138e0179ab6358156ee96ab96270729;remote=0000000000000000000000000000 0000
Cisco-Guid: 0445160192-0000065536-0000240315-0635830794
Session-Expires: 1800
P-Asserted-Identity: "Pavel Velichko" <sip:20043@kazminerals.com>
Remote-Party-ID: "Pavel Velichko" <sip:20043@kazminerals.com>;party=calling;scre en=yes;privacy=off
Contact: <sip:20043@10.2.230.37:5060>
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: 277

v=0
o=CiscoSystemsCCM-SIP 96270730 1 IN IP4 10.2.230.37
s=SIP Call
c=IN IP4 10.16.238.252
b=TIAS:48000
b=AS:64
t=0 0
m=audio 10038 RTP/AVP 8 0 18 127
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:127 telephone-event/8000
a=fmtp:127 0-15
 
 https://files.engineering.com/getfile.aspx?folder=721fcb3e-2c0f-460b-9788-5993785213c8&file=avaya_setting.docx
The set itself has a network region be it by the IP Address in ip-network-map or the Media Gateway NR for TDM etc. in the Network region of the phone there is a codec set specified in the destination Region. Open the NR of the phone and find the NR of your trunk (page 4 onwards) what is the Codec set there?
 
Hello bignose21
I have a trunk and sig group
In this sig group i set network region
In network region i choose codec set
This Codec set has only G711A and G711MU codecs
So why when making a call, there is G729 codec apperas?
Is there any other settings where i need to set specific codecs when making a call?

Here is the screen of the settings
 
bignose is talking about the telephone set in his response.
If you have IP phones then they will get their codec settings from the ip-network-map based on their IP address.
If the phone is analog or digital then the phone will use the codec assigned to the media gateway by the region it belongs to.
 
There is also the possibility of the inter-region codec having G.729. Look on page 4 and above on your IP-Network-Region:
Code:
display ip-network-region 1                                     Page   4 of  20

 Source Region: 1     Inter Network Region Connection Management     I       M
                                                                     G  A    t
 dst [COLOR=#EF2929]codec[/color] direct   WAN-BW-limits   Video      Intervening       Dyn A  G    c
 rgn  [COLOR=#EF2929]set[/color]   WAN  Units    Total Norm  Prio Shr Regions           CAC R  L    e
 1    [COLOR=#EF2929]1[/color]                                                                all
 2    [COLOR=#EF2929]2[/color]     n                                  240:    :    :        n       t
 3    [COLOR=#EF2929]2[/color]     n                                  240:    :    :        n       t
 4    [COLOR=#EF2929]2[/color]     n                                  240:    :    :        n       t

Your Codecs may look something like this:
list ip-codec-set

Code:
                                IP MEDIA PARAMETERS

Codec  Codec 1     Codec 2     Codec 3     Codec 4     Codec 5
Set

  1    G.711MU     G.729
  2    G.729       G.711MU

Calls within the region would use G.711MU while calls that go from one region to another would use G.729.
 
Thanks Sean655 and ZeroZeroOne.
You helped me in my question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top