827-4v con Asterisk - chiamate tra le porte pots

Voice su IP

Moderatore: Federico.Lagni

Rispondi
scarpy
n00b
Messaggi: 12
Iscritto il: gio 15 giu , 2006 3:12 pm

Ciao a tutti !
Sto utilizzando un vecchio 827-4v come SIP ATA con Asterisk (Trixbox).
Ho quindi 4 interni di Asterisk (6000,7000,8000,9000) configurati sul cisco 827-4v
Tutto funziona, invio e ricevo chiamate dall'esterno e dagli altri interni di Asterisk (telefoni VoIP, soft-phone,ecc.ecc.)

L'unico particolare che vorrei sistemare è il seguente:
Le chiamate tra i numeri direttamente configurati sul Cisco non "passano" da Asterisk.
Infatti non ne trovo traccia nel log di Asterisk.

Il Cisco le routa al suo interno..
Infatti i 4 interni funzionano anche se scollego il Cisco dalla rete...

Vi ringrazio per l'aiuto.
Vi posto la mia conf:

=====================================
Current configuration : 2623 bytes
!
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
no service dhcp
!
hostname VVVVVV
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 0000000000000000000000
!
no aaa new-model
!
resource policy
!
ip subnet-zero
no ip dhcp use vrf connected
ip dhcp excluded-address 10.0.0.210
!
ip name-server 151.99.125.2
ip name-server 151.99.125.3
!
voice rtp send-recv
!
interface Ethernet0
description LAN
ip address 192.168.1.80 255.255.255.0
ip virtual-reassembly
ip tcp adjust-mss 1452
hold-queue 100 out
!
ip classless
no ip http server
ip http authentication local
ip http max-connections 4
ip http timeout-policy idle 600 life 86400 requests 10000
!
ip nat inside source list 102 interface Dialer1 overload
!
access-list 102 permit ip 10.0.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
control-plane
!
voice-port 1
cptone IT
bearer-cap Speech
caller-id enable
!
voice-port 2
cptone IT
!
voice-port 3
cptone IT
!
voice-port 4
cptone IT
!
dial-peer voice 1 pots
destination-pattern 6000
port 1
!
dial-peer voice 2 pots
destination-pattern 7000
port 2
!
dial-peer voice 3 pots
destination-pattern 8000
port 3
!
dial-peer voice 4 pots
destination-pattern 9000
port 4
!
dial-peer voice 10 voip
destination-pattern .+T
session protocol sipv2
session target ipv4:asterisk_ip:5060
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
gateway
timer receive-rtp 1200
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
sip-server ipv4:asterisk_ip:5060
!
!
line con 0
exec-timeout 120 0
login local
stopbits 1
line vty 0 4
exec-timeout 120 0
login local
length 0
!
scheduler max-task-time 5000
end
================================

Grazie per l'aiuto!!
Alessandro
Rispondi