Buongiorno a tutti, sono alle prese con un 2801 con il quale devo fare del VoIP sia su porta FXS che su BRI. La linea VoIP è acquistata e funzionante presso provider, testata su altra piattaforma.
Risco a registrare la numerazione correttamente, ma la porta FXS non squilla.
Allego configurazione, se avete suggerimenti o altre info da darmi, non risco a far funzionare correttamente il tutto. Premetto che la connettività è attiva su 2801 porta ADSL con banda di 15Mbit/1,2Mbit.
Grazie in anticipo.
Current configuration : 3493 bytes
!
! Last configuration change at 10:16:32 PCTime Fri Jan 3 2014 by cisco
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service password-recovery
!
hostname flysusrouter
!
boot-start-marker
boot-end-marker
!
!
no logging buffered
enable password cisco
!
no aaa new-model
!
clock timezone PCTime 1 0
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
network-clock-participate wic 0
network-clock-participate wic 2
dot11 syslog
ip source-route
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
!
ip dhcp pool CASA
network 192.168.1.0 255.255.255.0
dns-server 8.8.8.8 8.8.4.4
!
!
!
ip cef
ip name-server 8.8.8.8
ip name-server 8.8.4.4
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
voice service voip
allow-connections sip to sip
sip
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
codec preference 3 g711alaw
codec preference 4 g723r63
codec preference 5 g726r16
codec preference 6 g726r24
codec preference 7 g726r32
!
!
!
!
!
voice-card 0
dsp services dspfarm
!
!
!
!
!
license udi pid CISCO2801 sn FCZ1203927Z
username cisco password 0 cisco
!
redundancy
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
speed auto
full-duplex
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/0/0
no ip address
!
interface BRI0/0/1
!
interface BRI0/2/0
no ip address
!
interface BRI0/2/1
no ip address
!
interface ATM0/3/0
mtu 1480
no ip address
no atm ilmi-keepalive
!
interface ATM0/3/0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface Dialer0
ip address negotiated
ip mtu 1480
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname ufmon130729150735@fastadsl
ppp chap password 0 gat612bjv
ppp pap sent-username ufmon130729150735@fastadsl password 0 gat612bjv
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 Dialer0
!
access-list 1 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
!
!
!
!
control-plane
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/1/0
echo-cancel coverage 32
playout-delay nominal 100
cptone IT
timeouts interdigit 3
description Digitel Voip
bearer-cap 3100Hz
caller-id enable
!
voice-port 0/1/1
!
voice-port 0/2/0
!
voice-port 0/2/1
!
!
!
mgcp profile default
!
dial-peer voice 1 pots
destination-pattern xxxxxx5947
authentication username xxxxxx5947 password 7 xxxxxxxxxx realm voip.digitelitalia.it
port 0/1/0
!
dial-peer voice 3 voip
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
voice-class codec 1
dtmf-relay sip-notify
!
!
gateway
timer receive-rtp 1200
!
sip-ua
authentication username xxxxxx5947 password 7 xxxxxxxxxxxxxxx
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar dns:voip.digitelitalia.it:5060 expires 3600
sip-server dns:voip.digitelitalia.it:5060
no suspend-resume
!
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
end
Cisco 2801 FXS e VoIP
Moderatore: Federico.Lagni
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Ultima modifica di mirkomosca il ven 03 gen , 2014 12:12 pm, modificato 1 volta in totale.
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Cambia subito le password prima che qualcuno ti freghi il credito.
Poi posta di una chiamata che non squilla.
Paolo
Poi posta
Codice: Seleziona tutto
debug ccsip messages
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Ecco in allegato il debug della chiamata in arrivo, per le password non ci sono problemi, il provider diciamo che sono io...le ho cambiate comunque.
*Jan 3 10:46:27.119: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected] SIP/2.0
To: 555500972599627125<sip:[email protected]>
From: 100<sip:[email protected]>;tag=7f688f30
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Contact: <sip:[email protected]:5080>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE
User-Agent: sipcli/v1.8
Content-Type: application/sdp
Content-Length: 276
v=0
o=sipcli-Session 191803872 1307129372 IN IP4 5.77.47.65
s=sipcli
c=IN IP4 5.77.47.65
t=0 0
m=audio 5081 RTP/AVP 18 0 8 101
a=fmtp:101 0-15
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=sendrecv
*Jan 3 10:46:27.143: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
*Jan 3 10:46:27.143: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:27.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:28.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:30.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:27.119: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected] SIP/2.0
To: 555500972599627125<sip:[email protected]>
From: 100<sip:[email protected]>;tag=7f688f30
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Contact: <sip:[email protected]:5080>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE
User-Agent: sipcli/v1.8
Content-Type: application/sdp
Content-Length: 276
v=0
o=sipcli-Session 191803872 1307129372 IN IP4 5.77.47.65
s=sipcli
c=IN IP4 5.77.47.65
t=0 0
m=audio 5081 RTP/AVP 18 0 8 101
a=fmtp:101 0-15
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=sendrecv
*Jan 3 10:46:27.143: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
*Jan 3 10:46:27.143: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:27.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:28.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Jan 3 10:46:30.639: //4288/218C0AD195D4/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 5.77.47.65:5080;branch=z9hG4bK-950ba5249efbb7ce2b90cdb9120c91f8;rport
From: 100<sip:[email protected]>;tag=7f688f30
To: 555500972599627125<sip:[email protected]>;tag=A8A999C-776
Date: Fri, 03 Jan 2014 10:46:27 GMT
Call-ID: 950ba5249efbb7ce2b90cdb9120c91f8
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Prova ad aggiungere questo:
Fammi sapere
Paolo
Codice: Seleziona tutto
voice service voip
no ip address trusted authenticate
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
In effetti ora la chiamata sembra ricevere un Cancel dal router prima di squillare.
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Altra cosa che succede, senza effettuare chiamate e debug attivo:
*Jan 3 13:46:57.579: //4847/000000000000/SIP/Msg/ccsipDisplayMsg:
Sent:
OPTIONS sip:voip.digitelitalia.it:5060 SIP/2.0
Via: SIP/2.0/UDP 5.172.125.21:5060;branch=z9hG4bK117F1A84
From: <sip:5.172.125.21>;tag=B2FDC00-1D92
To: <sip:voip.digitelitalia.it>
Date: Fri, 03 Jan 2014 13:46:57 GMT
Call-ID: [email protected]
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
CSeq: 101 OPTIONS
Contact: <sip:5.172.125.21:5060>
Content-Length: 0
*Jan 3 13:46:57.959: //4847/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 503 Not Implemented - Fake Return Code
Call-ID: [email protected]
CSeq: 101 OPTIONS
From: <sip:5.172.125.21>;tag=B2FDC00-1D92
To: <sip:voip.digitelitalia.it>;tag=00-08168-033ce764-028c7c886
Via: SIP/2.0/UDP 5.172.125.21:5060;received=5.172.125.21;rport=57055;branch=z9hG4bK117F1A84
Allow: UPDATE,REFER
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0
*Jan 3 13:46:57.579: //4847/000000000000/SIP/Msg/ccsipDisplayMsg:
Sent:
OPTIONS sip:voip.digitelitalia.it:5060 SIP/2.0
Via: SIP/2.0/UDP 5.172.125.21:5060;branch=z9hG4bK117F1A84
From: <sip:5.172.125.21>;tag=B2FDC00-1D92
To: <sip:voip.digitelitalia.it>
Date: Fri, 03 Jan 2014 13:46:57 GMT
Call-ID: [email protected]
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
CSeq: 101 OPTIONS
Contact: <sip:5.172.125.21:5060>
Content-Length: 0
*Jan 3 13:46:57.959: //4847/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 503 Not Implemented - Fake Return Code
Call-ID: [email protected]
CSeq: 101 OPTIONS
From: <sip:5.172.125.21>;tag=B2FDC00-1D92
To: <sip:voip.digitelitalia.it>;tag=00-08168-033ce764-028c7c886
Via: SIP/2.0/UDP 5.172.125.21:5060;received=5.172.125.21;rport=57055;branch=z9hG4bK117F1A84
Allow: UPDATE,REFER
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Ok qui mi rispondo da solo, è il keep alive che gli dà noia, tolto, il problema non si ripresenta. Permane il problema che in ingresso non funziona ancora...
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Avevo capito che squillava. Cosa intendi problema del keeoalive?
Paolo
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Il problema del keepalive è che se lo configuro la centrale pubblica non interpreta la richiesta del keepalive correttamente restituendo errore 503 Not implemented, ma penso sia un problema legato alla centrale ed al Gateway SIP della Cirpack.
Per quanto riguarda la fonia, non riesco a ricevere nè effettuare le chiamate, all'impegno ho il tono di libero, dopo la composizione del numero occupato veloce.
In ingresso dopo aver "telefonato" al router, dopo 10 secondi di muto dà il tono di svincolo con occupato veloce, insomma la parte fonia, nonostante sia il numero registrato correttamente, non è utilizzabile.
Suggerimenti? Correzioni alla configurazione?
Per quanto riguarda la fonia, non riesco a ricevere nè effettuare le chiamate, all'impegno ho il tono di libero, dopo la composizione del numero occupato veloce.
In ingresso dopo aver "telefonato" al router, dopo 10 secondi di muto dà il tono di svincolo con occupato veloce, insomma la parte fonia, nonostante sia il numero registrato correttamente, non è utilizzabile.
Suggerimenti? Correzioni alla configurazione?
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Probabilmente il numero nei messaggi SIP non è xxxxxx5947
Paolo
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Ovviamente il numero configurato non é con le xxxxx sul router, il numero é configurato correttamente e registrato.
Il comando show sip-ua register status restituisce la numerazione registrata e con corretto numero.
Il comando show sip-ua register status restituisce la numerazione registrata e con corretto numero.
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Ok.
Posta il risultato di per una chiamata che non va.
Paolo
Posta il risultato di
Codice: Seleziona tutto
debug voip ccapi inout
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Il debug non mi restituisce nessun log, la chiamata in ingresso dopo aver composto sta muta per 20 secondi e poi dà il tono di occupato veloce.
Non sò più dove battere il capo, come si dice a Firenze.
Non sò più dove battere il capo, come si dice a Firenze.
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Strano che quel debug non restituisca niente. Riposta un debug del sip.
Paolo
P.S. Ho ripreso a lavorare perciò non risponderò velocemente
Paolo
P.S. Ho ripreso a lavorare perciò non risponderò velocemente
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 23
- Iscritto il: ven 03 gen , 2014 10:26 am
Non riesco a capire, adesso non mi fa più vedere nemmeno il debug ccsip messages.
Sono sempre più perplesso...
Sono sempre più perplesso...