05-18-2011 08:02 PM - edited 03-16-2019 05:01 AM
Hi All,
Background :
++++++++++
Cisco 2811 act as IP to IP gateway which is connecting H323 to SIP. Topology is like this :
A <==> PABX<==> VG <==> CCM <==> 2811 (IP2IPGW) <==> SIP PBX <==> B
Configuration :
++++++++++
dial-peer has been configured for only prefer 1 codec G729r8 :
voice class codec 2
codec preference 1 g729r8
dial-peer voice 113 voip
description to CCM
preference 1
destination-pattern .T
voice-class codec 2
voice-class h323 2
session target ipv4:10.165.1.34
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs5 signaling
no vad
dial-peer voice 111 voip
description To SIP Server
destination-pattern 79825....
voice-class codec 2
voice-class h323 2
session protocol sipv2
session target ipv4:10.166.42.2
incoming called-number 7T
dtmf-relay rtp-nte digit-drop
ip qos dscp cs5 media
ip qos dscp cs5 signaling
no vad
dial-peer voice 1 voip
voice-class codec 2
incoming called-number .T
no vad
PROBLEM :
+++++++++
B call to A, no problem
A call to B, A cant hear anything
after debugging, I found this :
May 18 08:53:10.935: //365/008299490600/CCAPI/cc_api_caps_ack:
Destination Interface=0x475C3710, Destination Call Id=364, Source Call Id=365,
Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=1)
May 18 08:53:10.939: //364/008299490600/CCAPI/cc_api_caps_ack:
Destination Interface=0x47E157E8, Destination Call Id=365, Source Call Id=364,
Caps(Codec=gsmefr(0x0), Fax Rate=Invalid(0x0), Vad=Invalid(0x0),
Modem=OFF(0x0), Codec Bytes=0, Signal Type=0, Seq Num Start=0)
I have no idea why it ack for codec gsmefr. I think this is the cause for the voice issue. Any idea what is going on ? I attach the whole debug. Appreciate if someone can give me a clue to solve this. Thank you in advance.
05-18-2011 08:10 PM
IOS is spservices 12.4.22T2.
05-18-2011 08:46 PM
Hi
I see you only configured codec g.729 in the voice class.
If you want to use strictly this codec, I would suggest to configure the dial-peer inbound and outbound both with codec g729 using the command::
router(dial-peer) #codec g.729
and then check if you still have the issue.
To check which codec they are negotiating, run the debugs "debug voip ccapi inout" and "debug ccsip messages" when you make a test call and provide me the debugs.
Thanks
Mudit
05-18-2011 09:08 PM
05-18-2011 10:46 PM
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