12-23-2018 01:33 PM
I'm testing a basic CME setup with all 8800 series internal endpoints and a SIP trunk to an external provider. I can make internal and external calls but, despite having a preference for g722, all internal calls default to the g711ulaw codec and external calls on the SIP trunk default to g711alaw.
As all the endpoints support g722 and my external SIP trunk provider is introducing this functionality in the near future (already in place for test calls) I want to ensure that internal calls use g722 and it is the preferred codec for calls on the SIP trunk.
My understanding from the documentation is that the endpoints should select the preferred codec so long as they support it?
If I use XLite softphone and force the codec to g722, I can call the SIP provider's test number and it works fine as seen below:
I cannot call the internal 8800 endpoints when forcing the codec and receive a beeping tone. This leads me to believe that the 8800 phones or CME are rejecting the calls based on a codec mismatch.
With the config at the end of this post, you can see in the two calls below that calls from the 8800 endpoints never use the g722 codec.
cme#Show call active voice compact (Call to SIP provider test number from 8800 endpoint)
<callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp> VRF
Total call-legs: 2
118 ANS T3 g711alaw VOIP P101 192.168.10.181:21510 NA
120 ORG T3 g711alaw VOIP P10000 212.9.44.251:29066 NA
cme#Show call active voice compact (8800 to 8800 internal call)
<callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp> VRF
Total call-legs: 2
83 ANS T209 g711ulaw VOIP P101 192.168.10.181:29258 NA
85 ORG T209 g711ulaw VOIP P102 192.168.10.166:63518 NA
voice class codec 1
codec preference 1 g722-64
codec preference 2 g711ulaw
codec preference 3 g711alaw
voice register pool 1
busy-trigger-per-button 2
id mac 0038.DF00.9504
type 8865
number 1 dn 1
template 1
presence call-list
dtmf-relay rtp-nte sip-notify
voice-class codec 1
username 1234 password XXXX
description Office
no vad
!
voice register pool 2
id mac 9457.A5DB.EDC1
number 1 dn 2
voice-class codec 1
username xlite password XXXX
camera
video
!
dial-peer voice 1 voip
description **INCOMING from Sipgate**
preference 1
service session
session protocol sipv2
session target dns:sipgate.co.uk
session transport udp
incoming called-number .%
voice-class codec 1
voice-class sip profiles 1
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 2 voip
description **OUTBOUND to Sipgate**
destination-pattern 0..........
session protocol sipv2
session target dns:sipgate.co.uk
session transport udp
voice-class codec 1
voice-class sip profiles 1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 3 voip
description **Internal Calls**
destination-pattern [1-8]..
session protocol sipv2
session target sip-server
session transport udp
voice-class codec 1
dtmf-relay rtp-nte
no vad
Solved! Go to Solution.
01-03-2020 05:55 AM - edited 01-03-2020 05:56 AM
Hi,
I had the same problem with all 8800 sip phones, and no SCCP Phone.
You have to add to your config:
telephony-service
codec g722-64
service phone g722CodecSupport 2
This is required even with no sccp phone used.
Hope this helps
Marc
01-03-2020 05:55 AM - edited 01-03-2020 05:56 AM
Hi,
I had the same problem with all 8800 sip phones, and no SCCP Phone.
You have to add to your config:
telephony-service
codec g722-64
service phone g722CodecSupport 2
This is required even with no sccp phone used.
Hope this helps
Marc
01-03-2020 08:58 AM
To add to the earlier post, the configuration:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide