Cisco 827-4v e Asterisk,connetto FXS,audio ok ma mic muto
Inviato: ven 31 mar , 2006 8:33 pm
Ciao a tutti. Sono nuovo qui.
Ho il seguente problema. Utilizzzo un Cisco 827-4v in lan per avere 4 interni analogici aggiuntivi. Sono riuscito dopo vari tentativi a far funzionare il sip (ricevo chiamate e invio chiamate su asterisk in SIP)
ma purtroppo mi funge l'audio solo in ricezione. E' un po' che giro senza trovare nulla. please help.
Cosa debuggare, cosa verificare?
La versione del router è la 12.2 perché ho visto che la 12.3 (con il sip register) non è stata rilasciata per 827-4v con supporto voice giusto?
Ecco la mia conf:
Router!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname astsco
!
logging queue-limit 100
enable secret 5 $1$VPGo$0Xrt7WClDKWtW0euA.s7n.
enable password enable
!
clock timezone GMT 0
ip subnet-zero
no ip routing
!
!
voice rtp send-recv
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
!
!
!
!
!
!
!
interface Ethernet0
ip address 10.10.11.82 255.255.255.0
no ip route-cache
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
ip classless
ip http server
no ip http secure-server
!
!
!
call rsvp-sync
!
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 5111
port 1
!
dial-peer voice 2 pots
destination-pattern 5112
port 2
!
dial-peer voice 10 voip
destination-pattern .+T
session protocol sipv2
session target ipv4:10.10.11.80:5060
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
gateway
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
sip-server ipv4:10.10.11.80:5060
!
!
line con 0
stopbits 1
line vty 0 4
password sip
login
!
scheduler max-task-time 5000
end
-----------------------------------
ASTERISK sip.conf:
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
language=it
[5112]
type=friend
username=5112
;secret=
;mailbox=4563
;host=dynamic
;host=10.169.13.149
host=10.10.11.82
context=intern
;reinvite=yes
canreinvite=yes
;dtmfmode=rfc2833
dtmfmode=inband
nat=yes
port=0
---------------
in extensio.conf:
exten => *5111,1,Dial,SIP/[email protected]
exten => *5111,2,Congestion
Ho il seguente problema. Utilizzzo un Cisco 827-4v in lan per avere 4 interni analogici aggiuntivi. Sono riuscito dopo vari tentativi a far funzionare il sip (ricevo chiamate e invio chiamate su asterisk in SIP)
ma purtroppo mi funge l'audio solo in ricezione. E' un po' che giro senza trovare nulla. please help.
Cosa debuggare, cosa verificare?
La versione del router è la 12.2 perché ho visto che la 12.3 (con il sip register) non è stata rilasciata per 827-4v con supporto voice giusto?
Ecco la mia conf:
Router!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname astsco
!
logging queue-limit 100
enable secret 5 $1$VPGo$0Xrt7WClDKWtW0euA.s7n.
enable password enable
!
clock timezone GMT 0
ip subnet-zero
no ip routing
!
!
voice rtp send-recv
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
!
!
!
!
!
!
!
interface Ethernet0
ip address 10.10.11.82 255.255.255.0
no ip route-cache
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
ip classless
ip http server
no ip http secure-server
!
!
!
call rsvp-sync
!
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 5111
port 1
!
dial-peer voice 2 pots
destination-pattern 5112
port 2
!
dial-peer voice 10 voip
destination-pattern .+T
session protocol sipv2
session target ipv4:10.10.11.80:5060
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
gateway
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
sip-server ipv4:10.10.11.80:5060
!
!
line con 0
stopbits 1
line vty 0 4
password sip
login
!
scheduler max-task-time 5000
end
-----------------------------------
ASTERISK sip.conf:
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
language=it
[5112]
type=friend
username=5112
;secret=
;mailbox=4563
;host=dynamic
;host=10.169.13.149
host=10.10.11.82
context=intern
;reinvite=yes
canreinvite=yes
;dtmfmode=rfc2833
dtmfmode=inband
nat=yes
port=0
---------------
in extensio.conf:
exten => *5111,1,Dial,SIP/[email protected]
exten => *5111,2,Congestion