سلام
من یه دونه کارت e1 روی روتر سیسکو دارم میخوام ببینم config سیسکو و الستیکس برای برقراری ارتباط بینشون چی باید باشه؟
با تشکر
[left]!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXXXXXX
!
boot-start-marker
no boot startup-test
boot-end-marker
!
!
resource-pool disable
no aaa new-model
!
resource policy
!
spe default-firmware spe-firmware-1
!
!
ip cef
!
!
isdn switch-type primary-net5
!
!
controller E1 3/0
pri-group timeslots 1-31
!
controller E1 3/1
!
!
interface GigabitEthernet0/0
ip address 192.168.0.XXX 255.255.255.0
duplex auto
speed auto
negotiation auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
negotiation auto
!
interface Serial0/0
no ip address
shutdown
clock rate 2000000
no dce-terminal-timing-enable
no fair-queue
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
no dce-terminal-timing-enable
!
interface Serial3/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem
no cdp enable
!
interface Group-Async0
no ip address
encapsulation slip
shutdown
group-range 1/00 1/59
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
!
voice-port 3/0
!
!
!
dial-peer voice 1 pots
incoming called-number .T
direct-inward-dial
port 3/0
!
dial-peer voice 100 voip
destination-pattern .T
session protocol sipv2
session target ipv4:192.168.0.XXX
codec g711alaw
!
!
ss7 mtp2-variant Bellcore 0
ss7 mtp2-variant Bellcore 1
ss7 mtp2-variant Bellcore 2
ss7 mtp2-variant Bellcore 3
!
line con 0
line aux 0
line vty 0 4
login
line 1/00 1/59
modem InOut
!
scheduler allocate 10000 400
end
[/left]
[left]host=192.168.XXX.XXX
nat=yes
canreinvite=no
dtmfmode=inband
disallow=all
allow=alaw&ulaw
type=peer
insecure=very
[/left]
[left]host=192.168.XXX.XXX
type=peer
insecure=very
nat=yes
canreinvite=no
dtmfmode=inband
disallow=all
allow=alaw&ulaw
context=from-trunk
[/left]
Current configuration : 1199 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.16.240 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.83.2 255.255.255.0
duplex auto
speed auto
!
interface Ethernet1/0
no ip address
shutdown
half-duplex
!
interface Ethernet1/1
no ip address
shutdown
half-duplex
!
interface Ethernet1/2
no ip address
shutdown
half-duplex
!
interface Ethernet1/3
no ip address
shutdown
half-duplex
!
ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 22
session target ipv4:172.16.16.16
codec g711ulaw
!
dial-peer voice 2 voip
destination-pattern 1211
session target ipv4:192.168.83.128
codec g711ulaw
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
[/left]host=172.16.16.240
type=peer
canreinvite=no
dtmfmode=inband
disallow=all
allow=ulaw
insecure=very
[/left]
host=172.16.16.240
type=peer
insecure=very
canreinvite=no
dtmfmode=inband
disallow=all
allow=alaw&ulaw
context=from-trunk
[/left]