07-12-2012 05:25 AM - edited 03-16-2019 12:09 PM
Hello,
I have one audio issue with our SIP trunk through the CUBE. The problem is that we have two interface in our CUBE one for signaling and one for RTP, and during the call setup our CUBE is sending the signaling interface IP address as media address where SP should send us the RTP, and this both signaling and RTP interface they are not routed from SP. How can I let the cube to send the IP address of the RTP interface so that the SP can send their RTP truffic to that interface.
The configuration is as following:
voice service voip
no ip address trusted authenticate
address-hiding
mode border-element
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/1.1
bind media source-interface GigabitEthernet0/1.1
min-se 90 session-expires 90
early-offer forced
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
description CUBE Signeling
encapsulation dot1Q 500
ip address 172.23.12.70 255.255.255.248
!
interface GigabitEthernet0/1.2
description CUBE Bearer
encapsulation dot1Q 501
ip address 172.23.22.70 255.255.255.248
!
dial-peer voice 400 voip
description $$ - Incoming SIP - $$
translation-profile incoming CUBE-IN
session protocol sipv2
session target ipv4:172.23.12.2:5060
session transport udp
incoming called-number 964T
voice-class sip bind control source-interface GigabitEthernet0/1.1
voice-class sip bind media source-interface GigabitEthernet0/1.1
dtmf-relay rtp-nte h245-alphanumeric
codec g711ulaw
no vad
!
I have tried to bind the media source-interface with G0/1.2 but this didn't help, also from the debug ccsip media we can see the CUBE is sending the signaling IP address as source of RTP packets:
Jul 12 12:16:23.859: //459/FA5EBC800000/SIP/Media/sipSPIDisplayStreamInfo:
Stream type : voice+dtmf
Media line : 1
State : STREAM_ADDING (2)
Stream address type : 1
Callid : 459
Peer Callid : -1
RTP/SRTP Negotiated : 8
Negotiated Codec : g711ulaw, bytes :160
Nego. Codec payload : 0 (tx), 0 (rx)
Negotiated DTMF relay : rtp-nte
Negotiated NTE payload : 101 (tx), 101 (rx)
Negotiated CN payload : 0
Media Srce Addr/Port : [172.23.12.70]:22134 --------------------------> I want to change this to 172.23.22.70 in order to receive rtp packets.
Media Dest Addr/Port : [172.23.22.5]:32380
Many thanks,
Nizar
07-12-2012 05:38 AM
I have fixed the issue, after bind media source-interface g0/1.2 you should reload the router to take effect.
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