cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5093
Views
11
Helpful
5
Replies

Saudi Telecom SIP configuration

certifiedrawi37
Level 1
Level 1

We subscribed to STC SIP service and here is the configuration. 

It works, and I want to share with you my configuration for the voice gateway 

hostname SIP-VG
!
clock timezone GMT 3 0
!
voice-card 0
!
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
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
early-offer forced

!
!
voice class uri 6500 sip
host ipv4:10.10.10.1 (STC SIP Registration Server IP)
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
codec preference 4 g729br8
codec preference 5 g723ar53
!
voice class sip-profiles 1000
request INVITE sip-header Remote-Party-ID add "STCETN"
response ANY sip-header Remote-Party-ID add "STCETN"
!
voice translation-rule 1
rule 1 /\(.*\)/ /222\1/ (add 222 before ext for outgoing call)
!
voice translation-rule 2
rule 1 /.*222\(.*\)/ /\1/ (remove 222 to extract ext for incoming call)
!
!
voice translation-profile EXT
translate called 2
!
voice translation-profile Add_Prefix
translate calling 1
!
interface GigabitEthernet0/0
description ***Connected to STC SIP Circuit***
ip address 10.1.1.1 255.255.255.252
!
interface GigabitEthernet0/1
description ***Connected to LAN***
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet0/2
no ip address
shutdown
!
ip route 10.10.10.1 255.255.255.255 10.1.1.2 (Static route for traffic going to STC SIP server)
!
!
!
dial-peer voice 100 voip
description calls to CUCM Publisher
destination-pattern 65..
session protocol sipv2
session target ipv4:192.168.1.10
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
no vad
!
dial-peer voice 101 voip
description calls to CUCM Subscriber
destination-pattern 65..
session protocol sipv2
session target ipv4:192.168.1.11
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
no vad
!
dial-peer voice 200 voip
description ***Incoming calls from STC-SBC***
translation-profile incoming EXT
session protocol sipv2
incoming uri via 6500
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
no vad
!
dial-peer voice 201 voip
description ***Outgoing calls to STC SIP Trunk***
destination-pattern .T
session protocol sipv2
session target ipv4:10.10.10.1:5060
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
no vad
!
dial-peer voice 300 voip
description ***Inbound Dialpeer from CUCM to GW***
translation-profile incoming Add_Prefix
session protocol sipv2
incoming called-number .
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
no vad

5 Replies 5

Dennis Mink
VIP Alumni
VIP Alumni

nice one!   great for future reference.

Please remember to rate useful posts, by clicking on the stars below.

El4azlongy
Level 1
Level 1

How are u Rawi

I Need your help Please, 

Our company received This  configuration to us and I don't know How to configure it? and what is the required Cisco Router to buy for this configuration?

Thank you   

 

Did you get solution bro,

I'm in same config issue !

Kindly help pls.

NSNaveenKumar
Level 1
Level 1

Kindly me Bro, I'm facing same config issue of STC ISP configuration on my Cisco 4331 ISR.

 

mohammad saeed
Level 5
Level 5

Hello,

Any one have new configuration related to STC?

Please share it