saman_asadi
نمونه کانفیگ روتر سیسکو برای تنظیمات fxo و ایزابل
`
voip 192.168.18.5
host=192.168.1.198
deny=0.0.0.0/0.0.0.0
type=friend
canreinvite=no
directmedia=no
port=5060
insecure=port,invite
disallow=all
dtmfmode=rfc2833
qualify=yes
allow=alaw,ulaw
permit=0.0.0.0/0.0.0.0
context=from-internal
Building configuration...
Current configuration : 6276 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Oto
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
logging message-counter syslog
enable secret 5 $1$NMZb$IsEW8e/lNP2TWUrVOc4ez0
!
no aaa new-model
network-clock-participate wic 0
!
dot11 syslog
ip source-route
!
ip source-route
!
!
ip cef
ip dhcp excluded-address 192.168.1.190 192.168.1.210
ip dhcp excluded-address 192.168.1.1 192.168.1.10
!
ip dhcp pool hamid
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
option 150 ip 192.168.1.5
dns-server 8.8.8.8
!
!
ip domain name hamid
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
trunk group pstn
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol cisco
sip
min-se 300
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
username admin privilege 15 secret 5 $1$WhjH$K4.kkMjTLlzp2ub8Ey3oIgC/
archive
log config
hidekeys
!
!
!
!
!
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
!
ip tftp source-interface FastEthernet0/0
ip ssh version 2
!
!
!
interface FastEthernet0/0
ip address 192.168.1.198 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn timer T310 120000
isdn overlap-receiving T302 3000
isdn incoming-voice voice
isdn send-alerting
no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.1
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
tftp-server flash:CTLSEP000D6556EF15.tlv alias CTLSEP000D6556EF15.tlv
tftp-server flash:dialplan.xml alias dialplan.xml
tftp-server flash😛0S3-08-2-00.loads alias P0S3-08-2-00.loads
tftp-server flash:RINGLIST.DAT alias RINGLIST.DAT
tftp-server flash:SEP000D6556EF15.cnf.xml alias SEP000D6556EF15.cnf.xml
tftp-server flash:SIP000D6556EF15.cnf alias SIP000D6556EF15.cnf
tftp-server flash:SIPDefault.cnf alias SIPDefault.cnf
tftp-server flash:CTLSEP000D29D81AC2.tlv alias CTLSEP000D29D81AC2.tlv
tftp-server flash:SEP000D29D81AC2.cnf.xml alias SEP000D29D81AC2.cnf.xml
tftp-server flash:SEP000D29D81AC2.cnf.xml alias SEP000D29D81AC2.cnf.xml
tftp-server flash:SIP000D29D81AC2.cnf alias SIP000D29D81AC2.cnf
tftp-server flash😛0S3-08-2-00.sb2 alias P0S3-08-2-00.sb2
tftp-server flash😛003-08-2-00.sbn alias P003-08-2-00.sbn
tftp-server flash:SIP000D653697B1.cnf.xml alias SIP000D653697B1.cnf.xml
tftp-server flash:SIP000D653697B1.cnf alias SIP000D653697B1.cnf
!
control-plane
!
!
!
voice-port 0/0/0:15
!
voice-port 0/1/0
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/1/1
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/1/2
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/1/3
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/2/0
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/2/1
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
caller-id enable
!
voice-port 0/2/2
trunk-group pstn 1
supervisory disconnect dualtone mid-call
no battery-reversal
output attenuation 0
cptone KW
timeouts call-disconnect 3
timeouts wait-release 3
timing sup-disconnect 300
connection plar 600
shutdown
caller-id enable
!
voice-port 0/2/3
shutdown
!
voice-port 0/3/0
station-id name 118
station-id number 118
caller-id enable
!
voice-port 0/3/1
station-id name 119
station-id number 119
caller-id enable
!
voice-port 0/3/2
station-id name 121
station-id number 121
caller-id enable
!
voice-port 0/3/3
!
!
!
!
!
dial-peer voice 20 pots
trunkgroup pstn 1
destination-pattern 8T
!
dial-peer voice 1 voip
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.1.5
session transport udp
dtmf-relay rtp-nte
no vad
!
dial-peer voice 34144 pots
incoming called-number 34144
direct-inward-dial
!
dial-peer voice 111 voip
destination-pattern 1..
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.1.200
session transport udp
dtmf-relay rtp-nte
no vad
!
dial-peer voice 118 pots
destination-pattern 8118
port 0/3/0
!
dial-peer voice 119 pots
destination-pattern 8119
port 0/3/1
!
dial-peer voice 71 pots
destination-pattern #1
port 0/1/0
!
dial-peer voice 72 pots
destination-pattern #2
port 0/1/1
!
dial-peer voice 73 pots
destination-pattern #3
port 0/1/2
!
dial-peer voice 74 pots
dial-peer voice 74 pots
destination-pattern #4
port 0/1/3
!
dial-peer voice 75 pots
destination-pattern #5
port 0/2/0
!
dial-peer voice 76 pots
destination-pattern #6
port 0/2/1
!
dial-peer voice 8120 pots
destination-pattern 8120
port 0/3/2
!
dial-peer voice 8121 pots
destination-pattern 8121
port 0/3/3
!
!
!
!
line con 0
line aux 0
line vty 0 2
login local
transport input telnet
transport output telnet
line vty 3 4
login local
transport input ssh
transport output ssh
!
scheduler allocate 20000 1000
end
`