cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
752
Views
0
Helpful
3
Replies

G729 and CCME

vinhnguyen
Level 1
Level 1

I have two sites running CCME 3.3 on 2801 router. I want to run G729 between the two sites. Anybody know whether any documents to show how this is done. Apart from enabling dspfarm on the voice-port and specify on the voip dial peer to use codec G729 do I need to do anything else?

3 Replies 3

kzeeshan
Cisco Employee
Cisco Employee

Besides that you can also use voice-class codec where you can specify set of codecs to use with more options..

voice class codec 1

codec preference 1 g729r8

dial-peer voice 99 voip

voice-class codec 1

Let me know if you get into any issues.

Setup :

Phone --> CAllmanager 8.5 --> WAN-->MGW2(2811)--> Carrier SIP Connection.

Problem : Phone rings then disconnect automatically.

Codec and dialpeer details in 2811 Router:

============================================

!

voice class codec 1

codec preference 1 g729r8

codec preference 2 g729br8

!

!

dial-peer voice 900 voip

  Discription Dial peer to connects sip port

destination-pattern .T

voice-class codec 1

voice-class sip g729 annexb-all

session protocol sipv2

session target ipv4:10.248.121.28

session transport udp

dtmf-relay rtp-nte

no vad

!

dial-peer voice 904 voip

description dial peert to receive call from CUCM

answer-address 30.

voice-class codec 1

session protocol sipv2

session transport udp

dtmf-relay rtp-nte

playout-delay nominal 30

playout-delay minimum low

no vad

!

MGW router 2811 SIP logs

===================================

MGW2#

Sep 30 02:56:36.014: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:0422625886@10.105.1.252:5060 SIP/2.0

Via: SIP/2.0/TCP 10.52.19.253:5060;branch=z9hG4bK12e75cb1f8e0

From: <3022>;tag=45708~3690b33d-45e9-4a01-984c-3bdb32c67395-30180291

To: <0422625886>

Date: Fri, 30 Sep 2011 02:56:35 GMT

Call-ID: cdb83900-e8512fe3-f9e-fd13340a@10.52.19.253

Supported: timer,resource-priority,replaces

Min-SE:  1800

User-Agent: Cisco-CUCM8.5

Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY

CSeq: 101 INVITE

Expires: 180

Allow-Events: presence, kpml

Supported: X-cisco-srtp-fallback

Supported: Geolocation

Call-Info: <10.52.19.253:5060>;method="NOTIFY;Event=telephone-event;Duration=500"

Cisco-Guid: 3451402496-0000065536-0000000062-4245894154

Session-Expires:  1800

P-Asserted-Identity: <3022>

Remote-Party-ID: <3022>;party=calling;screen=yes;privacy=off

Contact: <3022>;video;audio

Max-Forwards: 69

Content-Length: 0

Sep 30 02:56:36.038: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

INVITE sip:0422625886@10.248.121.28:5060 SIP/2.0

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

Remote-Party-ID: <0892203022>;party=calling;screen=yes;privacy=off

From: <0892203022>;tag=475C8DD0-F6F

To: <0422625886>

Date: Fri, 30 Sep 2011 02:56:36 GMT

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

Supported: 100rel,timer,resource-priority,replaces,sdp-anat

Min-SE:  1800

Cisco-Guid: 3451402496-65536-62-4245894154

User-Agent: Cisco-SIPGateway/IOS-12.x

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

CSeq: 101 INVITE

Timestamp: 1317351396

Contact: <0892203022>

Expires: 180

Allow-Events: telephone-event

Max-Forwards: 68

Session-Expires:  1800

Content-Length: 0

Sep 30 02:56:36.042: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/TCP 10.52.19.253:5060;branch=z9hG4bK12e75cb1f8e0

From: <3022>;tag=45708~3690b33d-45e9-4a01-984c-3bdb32c67395-30180291

To: <0422625886>

Date: Fri, 30 Sep 2011 02:56:36 GMT

Call-ID: cdb83900-e8512fe3-f9e-fd13340a@10.52.19.253

CSeq: 101 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

Sep 30 02:56:36.062: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

MGW2#SIP/2.0 100 Trying

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

From: <0892203022>;tag=475C8DD0-F6F

To: <0422625886>

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

CSeq: 101 INVITE

Content-Length: 0

MGW2#

Sep 30 02:56:40.106: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

To: <0422625886>;tag=3526335740-336939

From: <0892203022>;tag=475C8DD0-F6F

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

CSeq: 101 INVITE

Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK

Contact: <0422625886>

Call-Info: <10.248.121.28>;method="NOTIFY;Event=telephone-event;Duration=1000"

Content-Type: application/sdp

Content-Length: 171

v=0

o=MSX01-KENT-SYD 3440992 0 IN IP4 10.248.121.28

s=sip call

c=IN IP4 10.248.121.29

t=0 0

m=audio 21398 RTP/AVP 8 100

a=rtpmap:100 X-NSE/8000

a=fmtp:100 192-194

Sep 30 02:56:40.110: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

CANCEL sip:0422625886@10.248.121.28:5060 SIP/2.0

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

From: <0892203022>;tag=475C8DD0-F6F

To: <0422625886>

Date: Fri, 30 Sep 2011 02:56:36 GMT

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

CSeq: 101 CANCEL

Max-Forwards: 70

Timestamp: 1317351400

Reason: Q.850;cause=65

Content-Length: 0

Sep 30 02:56:40.134: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 200 OK

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

To: <0422625886>;tag=3526335740-336939

From: <0892203022>;tag=475C8DD0-F6F

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

CSeq: 101 CANCEL

Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK

Contact: <0422625886>

Content-Length: 0

Sep 30 02:56:40.138: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 487 Request Terminated

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

To: <0422625886>;tag=3526335740-336939

From: <0892203022>;tag=475C8DD0-F6F

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

CSeq: 101 INVITE

Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK

Contact: <0422625886>

Call-Info: <10.248.121.28>;method="NOTIFY;Event=telephone-event;Duration=1000"

Content-Length: 0

Sep 30 02:56:40.146: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 501 Not Implemented

Via: SIP/2.0/TCP 10.52.19.253:5060;branch=z9hG4bK12e75cb1f8e0

From: <3022>;tag=45708~3690b33d-45e9-4a01-984c-3bdb32c67395-30180291

To: <0422625886>;tag=475C9DDC-211F

Date: Fri, 30 Sep 2011 02:56:36 GMT

Call-ID: cdb83900-e8512fe3-f9e-fd13340a@10.52.19.253

CSeq: 101 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=65

Content-Length: 0

Sep 30 02:56:40.146: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

ACK sip:0422625886@10.248.121.28:5060 SIP/2.0

Via: SIP/2.0/UDP 10.248.116.18:5060;x-route-tag="cid:IIPC-PER-ID@10.248.116.18";branch=z9hG4bK5E1484

From: <0892203022>;tag=475C8DD0-F6F

To: <0422625886>;tag=3526335740-336939

Date: Fri, 30 Sep 2011 02:56:36 GMT

Call-ID: A52442DC-EA4611E0-8238E861-A6621C2D@10.248.116.18

Max-Forwards: 70

CSeq: 101 ACK

Allow-Events: telephone-event

Reason: Q.850;cause=65

Content-Length: 0

Sep 30 02:56:40.226: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

MGW2#ACK sip:0422625886@10.105.1.252:5060 SIP/2.0

Via: SIP/2.0/TCP 10.52.19.253:5060;branch=z9hG4bK12e75cb1f8e0

From: <3022>;tag=45708~3690b33d-45e9-4a01-984c-3bdb32c67395-30180291

To: <0422625886>;tag=475C9DDC-211F

Date: Fri, 30 Sep 2011 02:56:35 GMT

Call-ID: cdb83900-e8512fe3-f9e-fd13340a@10.52.19.253

Max-Forwards: 70

CSeq: 101 ACK

Allow-Events: presence, kpml

Content-Length: 0

we are trying to use g729 codec between CUCM , MGW and carrier Sip ports. Carrier confirmed they are supporting g711alaw , g711ulaw and g729. however we are not able to use the g729 code.

Call manager sip trunk informaiton is attached with this message.

!

skhilnan
Level 1
Level 1

Are you using CUE as well? If so, you might need to setup transcoding on your routers to send calls to CUE at G.711