cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3244
Views
0
Helpful
4
Replies
Highlighted
Beginner

SIP Gateway to PSTN config?

Hi Everyone

I currently have a h323 gateway which is connected to PSTN via  a PRI.

because of cost savings , we are canceling the PRIs and getting a SIP trunk.

how do i go about configuring the SIP trunk into the IOS to conenct to PSTN?

anyone has any sample configs that i can take a look at?

for the H323 and PRI, i always have the Serial interface with the ESF and B8ZS and so on.

how do i go about configuring the SIP for PSTN access?

any help is greatly appricaited.

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Beginner

Re: SIP Gateway to PSTN config?

4 REPLIES 4
Highlighted
Beginner

SIP Gateway to PSTN config?

You need an IOS of IP to IP Gateway for your router.

You just need to configure and allow connection of sip to h323 and vice versa in , " voice service voip " , and configure inbount/outbound dial peers.

Beginner

SIP Gateway to PSTN config?

Hi,

You will need an IP-IP gateway as stated above

Please see below sample configuration which i beleive to be relevant to your situation

voice service voip

media flow-around

allow-connections h323 to sip

allow-connections sip to h323

voice class codec 99

codec preference 1 g711alaw

codec preference 2 g711ulaw

voice class h323 1

  h225 timeout tcp establish 3

  call preserve

sccp local GigabitEthernet0/0

sccp ccm X.X.X.X identifier 2 version 7.0

sccp ccm X.X.X.X identifier 1 version 7.0

sccp ip precedence 3

sccp

!

sccp ccm group 1

bind interface GigabitEthernet0/0

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 2 register XCODE

associate profile 1 register MTP

!

dspfarm profile 1 mtp

codec g711ulaw

maximum sessions software 100

associate application SCCP

dial-peer voice 2 voip

description *INBOUND FROM SP*

media flow-around

session protocol sipv2

incoming called-number .

voice-class sip asserted-id pai

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 10 voip ** Outbound dial-peer to SIP Trunk

description -- Outbound to SP

translation-profile outgoing egressTranslation

destination-pattern 0T

session protocol sipv2

session target ipv4:X.X.X.X

codec g711ulaw

voice-class sip asymmetric payload dynamic-codecs

voice-class sip asserted-id pai

voice-class sip early-offer forced

voice-class sip error-code-override options-keepalive failure 500

dtmf-relay rtp-nte

no vad

dial-peer voice 201 voip ** customers DiD range to IPPBX

destination-pattern XXXXXXXXXX

media flow-around

codec g711ulaw

voice-class h323 1

session target ipv4:X.X.X.X

dtmf-relay h245-alphanumeric

no vad

This is a cutdown version of an IP-IP gateway however i hope it to be a good starting point for you.

Scott

Highlighted
Beginner

Re: SIP Gateway to PSTN config?

Highlighted
Beginner

SIP Gateway to PSTN config?

Thanks for hte Help Scott

Sorry for the late response.

CreatePlease to create content