[cisco-voip] Codec Negotiation in Cisco 2600

Uthayakumar,Sasikumar [DBA] sasikumar.u at dba-corp.com
Tue Jan 17 00:49:55 EST 2006


Hi,
            I'm configuring Cisco 2600 router to make VoIP calls, I'm
able to make calls from a PC to a PSTN phone, but the problem is the
voice is not audible at one end.
At the PC end I'm able to hear what is communicated at the PSTN end and
I'm not able to hear at the PSTN end.
I have used codec as g711alaw for all the VOIP Dial-peers and even I
have given voice-class priority to g711alaw.
But while making calls to the PSTN end, the Router decides the
Negotiated codec to be g711ulaw.
Can any one help me out in resolving this issue?
 
The below is my configuration details
 
voice-card 1
!
ip subnet-zero
!
!
!
ip multicast-routing
no ip dhcp-client network-discovery
frame-relay switching
mgcp modem passthrough voip codec g711alaw
mgcp codec g711alaw packetization-period 10
isdn switch-type primary-net5
call rsvp-sync
voice rtp send-recv
!
voice service pots 
!
voice service voip 
!
voice class codec 99
 codec preference 1 g711alaw
!
voice class codec 100
 codec preference 1 g711alaw
!
!
!
!
!
!
!
controller E1 1/0
 framing NO-CRC4 
 clock source internal
 channel-group 5 timeslots 7
 pri-group timeslots 5,16
!
gw-accounting h323
gw-accounting h323 vsa
gw-accounting voip
!
interface Ethernet0/0
 ip address 192.168.1.189 255.255.255.0
 no ip mroute-cache
 full-duplex
 priority-group 15
!
interface Serial1/0:5
 no ip address
 no logging event link-status
!
interface Serial1/0:15
 no ip address
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.86
no ip http server
!
!
!
!
voice-port 1/0:15
!
dial-peer cor custom
!
!
!
dial-peer voice 1500 pots
 application session
 destination-pattern [0-9]..T
!
dial-peer voice 501 voip
application session
 destination-pattern 9.........
 session protocol sipv2
 session target sip-server
 codec g711alaw
!
dial-peer voice 601 voip
 application session
 destination-pattern [0-9]..T
 session protocol sipv2
 session target sip-server
 codec g711alaw
!
dial-peer voice 700 voip
 application session
 session protocol sipv2
 session target sip-server
 codec g711alaw
!
dial-peer voice 900 voip
 application session
 session protocol sipv2
 session target sip-server
codec g711alaw
!
dial-peer voice 800 pots
 application session
 destination-pattern [0-9]..T
 direct-inward-dial
 port 1/0:15
!
dial-peer voice 1800 pots
 application session
 destination-pattern [0-9]..T
 direct-inward-dial
 port 1/0:15
!
dial-peer voice 1801 voip
 application session
 destination-pattern [0-9]..T
 session protocol sipv2
 session target sip-server
 dtmf-relay cisco-rtp
 codec g711alaw
!
dial-peer voice 2000 pots
!
gateway 
!
sip-ua 
 retry invite 4
 retry response 3
 retry bye 2
 retry cancel 2
 sip-server ipv4:192.168.1.86
!
!
line con 0
line aux 0
line vty 0 4
 password sip
 login
line vty 5 14
 password cisco
 login
line vty 15
 password cisco
 login
 modem autoconfigure discovery
!
!
end
 
 
 
  Best Regards
Sasikumar
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20060117/1e5f02ca/attachment-0001.html


More information about the cisco-voip mailing list