cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1005
Views
0
Helpful
3
Replies

CUBE SIP Trunk with PSTN

Nizar Abuseni
Cisco Employee
Cisco Employee

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.

1 Accepted Solution

Accepted Solutions

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

View solution in original post

3 Replies 3

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

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

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

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: