Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

CUBE SIP Trunk with PSTN

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.

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

CUBE SIP Trunk with PSTN

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"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
3 REPLIES
VIP Super Bronze

CUBE SIP Trunk with PSTN

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"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
Community Member

CUBE SIP Trunk with PSTN

ok so then the RTP will go through G0/2 interface? because i thought bind media means the RTP traffic should use which interface.

VIP Super Bronze

CUBE SIP Trunk with PSTN

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"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
495
Views
0
Helpful
3
Replies
CreatePlease to create content