11-10-2016 02:35 AM - edited 03-17-2019 08:38 AM
Hello everyone ,
IS it possiple to configure FXS to work over SIP TRUNK ? I HAVE 16 FXS ports ,and voip gateway 2921 cisco .
how to configure fxs to work with it ?
any help thanks.
Solved! Go to Solution.
11-10-2016 05:36 AM
Is there a PBX at play here, i.e. CUCM or CME?
In either case you defined proper dial-peers to point to/from the FXS ports to match the destination of the SIP trunk, pretty straight forward.
11-10-2016 05:36 AM
Is there a PBX at play here, i.e. CUCM or CME?
In either case you defined proper dial-peers to point to/from the FXS ports to match the destination of the SIP trunk, pretty straight forward.
11-10-2016 06:09 AM
actually i have a legacy PBX . i have only the router ,phones ,and legacy PBX
i did a configuration ,and it's working only when someone dial my number the telephone rangs but i can not do any call from the analoge phone . it's working like accept ,but not send . analog phone connected to the FXS PORT.
here is the configuration that i did . please help me figuring out what is the problem .
i have 100 DIDS provided from the sip provider the range is from 126180600 -126180601 -126180602 to 126180699
sip server is :10.208.9.69
!
! Last configuration change at 08:43:46 UTC Wed Nov 9 2016
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$2swb$B4oUJWwogWj9QrTP1C2gI0
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 100.100.4.1
ip dhcp excluded-address 100.100.10.0 100.100.10.50
!
ip dhcp pool Wifi
network 100.100.4.0 255.255.254.0
default-router 100.100.4.254
dns-server 84.235.57.230 84.235.6.55
!
ip dhcp pool Outlet
network 100.100.10.0 255.255.254.0
dns-server 84.235.57.230 84.235.6.55
default-router 100.100.10.254
!
!
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
cts logging verbose
!
!
voice-card 0
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol pass-through g711alaw
modem passthrough nse codec g711alaw
sip
transport switch udp tcp
early-offer forced
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
voice class custom-cptone Saudi_Arabia
dualtone disconnect
frequency 425
cadence 500 500
!
!
voice hunt-group 100 longest-idle
list 100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115
pilot 0126180600
!
!
!
!
voice translation-rule 1
rule 1 /01261806../ /0126180600/
!
voice translation-rule 2
rule 1 /1../ /600/
!
!
voice translation-profile frominside
translate calling 2
!
voice translation-profile fromoutside
translate called 1
!
!
!
license udi pid CISCO2921/K9 sn FGL201511PX
hw-module pvdm 0/0
!
!
!
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.68.45.166 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 1 native
ip address 100.100.12.254 255.255.254.0
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.2
encapsulation dot1Q 2
ip address 100.100.1.254 255.255.254.0
ip access-group 6 out
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.3
encapsulation dot1Q 3
ip address 100.100.4.254 255.255.254.0
ip access-group 8 out
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.4
encapsulation dot1Q 4
ip address 100.100.6.254 255.255.254.0
ip access-group 9 out
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.5
encapsulation dot1Q 5
ip address 100.100.8.254 255.255.254.0
ip access-group 7 out
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.6
encapsulation dot1Q 6
ip address 100.100.10.254 255.255.254.0
ip access-group 10 out
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/2.2963
descrivtion wan interface
encapsulation dot1Q 2963
ip address x.x.x.x 255.255.255.254
ip nat outside
ip virtual-reassembly in
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool Chronic x.x.x.x x.x.x.x netmask 255.255.255.254
ip nat inside source list 1 pool Chronic overload
ip nat inside source list 2 pool Chronic overload
ip nat inside source list 3 pool Chronic overload
ip nat inside source list 4 pool Chronic overload
ip nat inside source list 5 pool Chronic overload
ip route 0.0.0.0 0.0.0.0 x.x.x.x
ip route 10.208.9.69 255.255.255.255 10.68.45.165
!
!
!
access-list 1 permit 100.100.0.0 0.0.1.255
access-list 2 permit 100.100.4.0 0.0.1.255
access-list 3 permit 100.100.6.0 0.0.1.255
access-list 4 permit 100.100.10.0 0.0.1.255
access-list 5 permit 100.100.12.0 0.0.1.255
!
control-plane
!
!
voice-port 0/0/0
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/0/1
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/0/2
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/0/3
ring frequency 50
cptone SA
!
voice-port 0/1/0
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/1/1
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/1/2
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/1/3
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/2/0
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/2/1
ring frequency 50
cptone SA
!
voice-port 0/2/2
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/2/3
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/3/0
ring frequency 50
cptone SA
!
voice-port 0/3/1
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/3/2
ring frequency 50
cptone SA
caller-id enable
!
voice-port 0/3/3
ring frequency 50
cptone SA
caller-id enable
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 100 pots
destination-pattern 100
port 0/0/0
!
dial-peer voice 101 pots
destination-pattern 101
port 0/0/1
!
dial-peer voice 102 pots
destination-pattern 102
port 0/0/2
!
dial-peer voice 103 pots
destination-pattern 103
port 0/0/3
!
dial-peer voice 104 pots
destination-pattern 104
port 0/1/0
!
dial-peer voice 105 pots
destination-pattern 105
port 0/1/1
!
dial-peer voice 106 pots
destination-pattern 106
port 0/1/2
!
dial-peer voice 107 pots
destination-pattern 107
port 0/1/3
!
dial-peer voice 108 pots
destination-pattern 108
port 0/2/0
!
dial-peer voice 109 pots
destination-pattern 109
port 0/2/1
!
dial-peer voice 110 pots
destination-pattern 110
port 0/2/2
!
dial-peer voice 111 pots
destination-pattern 11
port 0/2/3
!
dial-peer voice 112 pots
destination-pattern 112
port 0/3/0
!
dial-peer voice 113 pots
destination-pattern 113
port 0/3/1
!
dial-peer voice 114 pots
destination-pattern 114
port 0/3/2
!
dial-peer voice 115 pots
destination-pattern 115
port 0/3/3
!
dial-peer voice 5990 voip
translation-profile incoming fromoutside
session protocol sipv2
session transport udp
incoming called-number 1261806..
codec g711alaw
!
dial-peer voice 89999 voip
translation-profile outgoing frominside
destination-pattern .T
session protocol sipv2
session target ipv4:10.208.9.69
session transport udp
codec g711alaw
no vad
!
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 13541640095F077E2F712D
login
transport input telnet
!
scheduler allocate 20000 1000
!
end
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