06-12-2012 05:40 AM - edited 03-16-2019 11:37 AM
Out PSTN will provide us two ethernet connection one for signaling only and the other for voice traffic ony( media). Is the bellow configuration correct for this to work?
Config example:
int g0/0
description connected to LAN
ip add 192.168.1.1 255.255.255.0
int g0/1
description connected to PSTN signaling
ip add 192.168.2.1 255.255.255.0
int g0/2
description connected to PSTN Media
ip add 192.168.3.1 255.255.255.0
voice service voip
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
bind media source-interface GigabitEthernet0/2
dial-peer voice 4000 voip
destination-pattern 07.......
session target ipv4: 192.168.2.2
session protocol sipv2
dtmf-relay rtp-nte h245-alphanumeric h245-signal
codec g711ulaw
no vad
Please confirm if the above example will work.
Solved! Go to Solution.
06-12-2012 06:47 AM
No thats not how it works with SIP..
The ip address configured on the CUBE will be the signaling ip address pointing to the provider, you will not worry about the media address from the provider, usually it will be different than the signaling ip address, once in the SDP message the provider sends the media address, the CUBE will send the media to that ip address.
So the CUBE will always send RTP to the address provided by your provider after a 200 ok with SDP is sent. What you must do is bind all signalling to the ip address provided by your provider for signalling.
Please rate useful posts
"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"
06-12-2012 06:35 AM
No, You need to bind all your signalling to the same interface. During media setup your provider will send the media IP. So dont worry about that.
Your configuration should look like this
sip
bind control source-interface GigabitEthernet0/1
bind media source-interface GigabitEthernet0/1
Please rate useful posts
"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"
06-12-2012 06:44 AM
ok so then the RTP will go through G0/2 interface? because i thought bind media means the RTP traffic should use which interface.
06-12-2012 06:47 AM
No thats not how it works with SIP..
The ip address configured on the CUBE will be the signaling ip address pointing to the provider, you will not worry about the media address from the provider, usually it will be different than the signaling ip address, once in the SDP message the provider sends the media address, the CUBE will send the media to that ip address.
So the CUBE will always send RTP to the address provided by your provider after a 200 ok with SDP is sent. What you must do is bind all signalling to the ip address provided by your provider for signalling.
Please rate useful posts
"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"
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