cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1651
Views
0
Helpful
1
Replies

Codec G729A implementation

Freddy Montas
Level 1
Level 1

Hi, im currently using a Cisco 2821 as a CISCO UBE between to endpoints with codec g711ulaw.  I want to migrate to g729a.  I have installed all the necesary pvdm modules, but i think i might be missing something in the config.  Everytime i change the dialpeer to use the g729r8 codec i get the following error:

//209/9F8ADEC68233/SIP/Error/sipSPICreateOutboundSDP: Error in creating an SDP for the outbound call - Check for supported codecs

and

SIP/2.0 501 Not Implemented

please help.  Thanks

Freddy

1 Reply 1

Freddy Montas
Level 1
Level 1

here is the config and errors output

voice-card 0
codec complexity medium
dspfarm
dsp services dspfarm
!
voice service voip
address-hiding
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g729br8
codec preference 3 g711alaw
codec preference 4 g711ulaw
codec preference 5 g726r16
codec preference 6 g726r24
codec preference 7 g726r32
!
sccp ccm group 1
associate profile 1 register test
keepalive retries 1
keepalive timeout 10
switchover method immediate
switchback method immediate
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 66
associate application SCCP
!
dial-peer voice 999 voip
session protocol sipv2
incoming called-number .
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 20 voip
destination-pattern 27
progress_ind progress enable 8
  max-redirects 5
session protocol sipv2
session target ipv4:x.x.x.x
dtmf-relay rtp-nte digit-drop
codec g729r8
no vad
!
gateway
  timer receive-rtp 1200
!

Errors output
!
debug ccsip messages

001025: Jul 13 13:01:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:27 SIP/2.0
Via: SIP/2.0/UDP x.x.x.x;branch=z9hG4bKac10fd1a000000aa4c3c9bcf0000078c00000062;rport
From: "unknown" ;tag=6b092c5d076
To: <27>
Contact:
Call-ID: CC142E53A7C242F5869AB37B55DFADF20xac10fd1a
CSeq: 1 INVITE
Max-Forwards: 70
User-Agent: SJphone/1.65.377a (SJ Labs)
Content-Length: 368
Content-Type: application/sdp
Supported: replaces,norefersub,timer

v=0
o=- 3488029263 3488029263 IN IP4 x.x.x.x
s=SJphone
c=IN IP4 x.x.x.x
t=0 0
m=audio 49194 RTP/AVP 3 97 98 8 0 101
c=IN IP4 x.x.x.x
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=setup:active
a=sendrecv

001026: Jul 13 13:01:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP x.x.x.x;branch=z9hG4bKac10fd1a000000aa4c3c9bcf0000078c00000062;rport
From: "unknown" ;tag=6b092c5d076
To: <27>
Date: Tue, 13 Jul 2010 17:01:03 GMT
Call-ID: CC142E53A7C242F5869AB37B55DFADF20xac10fd1a
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0

001027: Jul 13 13:01:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP x.x.x.x;branch=z9hG4bKac10fd1a000000aa4c3c9bcf0000078c00000062;rport
From: "unknown" ;tag=6b092c5d076
To: <27>;tag=39B1B20-7F9
Date: Tue, 13 Jul 2010 17:01:03 GMT
Call-ID: CC142E53A7C242F5869AB37B55DFADF20xac10fd1a
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=65
Content-Length: 0

001028: Jul 13 13:01:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:27 SIP/2.0
Via: SIP/2.0/UDP x.x.x.x;branch=z9hG4bKac10fd1a000000aa4c3c9bcf0000078c00000062;rport
From: "unknown" ;tag=6b092c5d076
To: <27>;tag=39B1B20-7F9
Call-ID: CC142E53A7C242F5869AB37B55DFADF20xac10fd1a
CSeq: 1 ACK
Max-Forwards: 70
User-Agent: SJphone/1.65.377a (SJ Labs)
Content-Length: 0

debug ccsip errors

001029: Jul 13 13:01:41: //212/24727845823D/SIP/Error/sipSPI_ipip_copy_sdp_to_channelInfo:
failed to update call entry
001030: Jul 13 13:01:41: //213/24727845823D/SIP/Error/sipSPI_ipip_copy_channelInfo_to_sdp:
filter mis-match, failing call
001031: Jul 13 13:01:41: //213/24727845823D/SIP/Error/sipSPIAddSDPMediaPayload: Call Origination Failed: None of the selected codec from CLI is supported by SIP
001032: Jul 13 13:01:41: //213/24727845823D/SIP/Error/sipSPIOutgoingCallSDP: Error with codec types on media line
001033: Jul 13 13:01:41: //213/24727845823D/SIP/Error/sipSPICreateOutboundSDP: Error in creating an SDP for the outbound call - Check for supported codecs
001034: Jul 13 13:01:41: //213/24727845823D/SIP/Error/preprocessSetup: Error during outbound SDP creation
001035: Jul 13 13:01:41: //-1/xxxxxxxxxxxx/SIP/Error/ccsip_spi_process_ccapi_event: CCAPI Event Preprocessor Failure

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: