Pagina 1 di 1

Cisco 827-4v e Asterisk,connetto FXS,audio ok ma mic muto

Inviato: ven 31 mar , 2006 8:33 pm
da m.somma
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

Inviato: dom 02 apr , 2006 10:28 am
da disperato
sembra tutto corretto.... sospetterei in problemi di codec....
prova a togliere sotto "dial-peer voice 10 voip" il codec

anch'io ho preso spunto dalla configurazione su http://www.loligo.com/asterisk/Cisco/82 ... k-version1

e dall'ottimo post di tonycimo...

...sinceramente il mio cisco 827v4 è tornato a fare solo il router poichè sono passato a soluzioni un pò più performanti, ma se vuoi posso ricreare la configurazione....

ti passo alcune info:

ROM: System Bootstrap, Version 12.1(1r)XB1, RELEASE SOFTWARE (fc1)

disperato uptime is 2 weeks, 2 days, 15 hours, 45 minutes
System returned to ROM by power-on
System image file is "flash:c820-v6y6-mz.123-8.T6.bin"

Cisco C827-4V (MPC855T) processor (revision 0x502) with 48128K/1024K bytes of me
mory.
Processor board ID JAD05041GTR (1681301542), with hardware revision 0000
CPU rev number 5
4 POTS Ports
1 Ethernet interface
1 ATM interface
128K bytes of NVRAM.
8192K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)

voice-port 3
input gain 9
output attenuation 9
echo-cancel coverage 16
no vad
cptone IT
timeouts initial 30
timeouts interdigit 4
caller-id enable

dial-peer voice 10 voip
destination-pattern .T
session protocol sipv2
session target sip-server
codec g711alaw
no vad

dial-peer voice 3 pots
destination-pattern 43
port 3

sip-ua
retry invite 3
retry cancel 2
sip-server ipv4:192.168.1.4:5060


asterisk

sip.conf

username=43
type=friend
qualify=yes
port=5060
nat=never
host=192.168.1.1
dtmfmode=inband
context=from-internal
canreinvite=yes
callerid=device <43>
allow=all

spero di esserti stato utile

versione ios

Inviato: dom 02 apr , 2006 5:07 pm
da m.somma
bene proverò a rimuovere il codec. ma mi diresti come hai fatto a montare la: c820-v6y6-mz.123-8.T6.bin 12.3 con soli 8mb di flash?
Io ho 32+16 di ram e 8 sulla flash come te. Se riuscissi potrei provare a farlo registrare anche sul sip server.

Grazie

Inviato: mer 12 apr , 2006 9:30 pm
da mrdebug
Scusate la domanda banale: come faccio a controllare che il router cisco si sia correttamente registrato presso il server asterisk?