CISCO 2651XM + VOIP EUTELIA + TEL IP PROBLEMA VOCE IN OUT

Voice su IP

Moderatore: Federico.Lagni

Rispondi
bladev
n00b
Messaggi: 3
Iscritto il: lun 13 set , 2010 11:16 am

Buona sera sono nuovo di questo forum, ma devo dire che ho trovato molti spunti...è da un pò di tempo che lavoro su router cisco, ma non ho mai seguito le configurazioni voice è la prima volta che provo a crearmi una centrale sip.

il mio problema sta nel fatto che non riesco a ricevere ne a fare telefonate da dei telefoni ip configurati, tra loro i numeri di interno funzionano correttamente,ma se io chiamo la linea eutelia voip registrata sul router, vedo arricare la chiamata ma poi non me la instrada e mi rilasca un errore.

poso la configurazione + i debug ccsip message

Building configuration...

Current configuration : 3211 bytes
!
! Last configuration change at 22:24:37 summert Tue Jun 21 2016 by bladev
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VOIP_TEST
!
boot-start-marker
boot-end-marker
!
enable password pippo
!
no aaa new-model
clock timezone ITALY 1
clock summer-time summertime recurring last Sun Mar 3:00 last Sun Oct 3:00
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
ip name-server 208.67.220.220
ip name-server 192.186.1.111
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
h323
call start slow
sip
registrar server expires max 3600 min 3600
localhost dns:voip.eutelia.it:5060
!
!
voice class uri TRUNK sip
user-id 0302070811
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
!
voice register global
mode cme
source-address 192.168.2.88 port 5060
max-dn 6
max-pool 4
timezone 26
file text
create profile sync 0003471915524575
!
voice register dn 1
number 100
allow watch
name 100
label 100
!
voice register dn 2
number 101
allow watch
name 101
label 101
!
voice register pool 1
id mac 000E.08D8.6FEC
number 1 dn 1
dtmf-relay cisco-rtp
voice-class codec 1
username 100 password pippo
!
voice register pool 2
id mac 3894.96F1.8B67
number 2 dn 2
dtmf-relay cisco-rtp
voice-class codec 1
username 101 password pippo
!
!
!
!
!
!
!
username pluto password 0 pippo
archive
log config
hidekeys
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.88 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.30.1 255.255.255.0
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.2.1
!
no ip http server
no ip http secure-server
!
access-list 1 permit 0.0.0.0 255.255.255.0
access-list 1 permit 0.0.0.88 255.255.255.0
access-list 100 permit ip 0.0.0.88 255.255.255.0 0.0.0.1 255.255.255.0
access-list 100 permit ip host 0.0.0.0 host 83.211.227.21
!
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
voice-class codec 1
session protocol sipv2
session target dns:voip.eutelia.it:5060
session transport udp
incoming called-number xxxxxxxxxx
dtmf-relay sip-notify
!
!
sip-ua
credentials username xxxxxxxxxx password xxxxxxxxxxxxx realm voip.eutelia.it
keepalive target dns:voip.eutelia.it
authentication username xxxxxxxxxx password xxxxxxxxx realm voip.eutelia.it
nat symmetric role active
nat symmetric check-media-src
no remote-party-id
retry invite 2
retry response 3
retry bye 3
retry cancel 3
retry register 10
timers connect 100
timers keepalive active 100
registrar dns:voip.eutelia.it expires 900
sip-server dns:voip.eutelia.it
connection-reuse
host-registrar
!
!
line con 0
line aux 0
line vty 0 4
password pippo
login local
!
no scheduler max-task-time
scheduler allocate 20000 1000
ntp clock-period 17179999
ntp server 93.54.5.129
ntp server 37.247.48.64
ntp server 193.204.114.232
ntp server 193.204.114.233
!
end




i debug

SIP Call messages tracing is enabled
VOIP_TEST#
Jun 22 18:13:30.581: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060 SIP/2.0
Record-Route: <sip:83.211.227.21;lr;ftag=F97E4408-2569;did=f2.e87bc845>
Via: SIP/2.0/UDP 83.211.227.21:5060;branch=z9hG4bK30f1.6978b19.0
Via: SIP/2.0/UDP 83.211.2.220:5060;rport=58321;received=83.211.2.220;x-route-tag="tgrp:Slot6";branch=z9hG4bK381906012D7
From: <sip:[email protected]>;tag=F97E4408-2569
To: <sip:[email protected]>
Call-ID: [email protected]
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER
CSeq: 101 INVITE
Max-Forwards: 9
Remote-Party-ID: <sip:[email protected]>;party=calling;screen=yes;privacy=off
Contact: <sip:[email protected]:58321>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 446
P-hint: 2 Niente 2

v=0
o=CiscoSystemsSIP-GW-UserAgent 8173 44 IN IP4 83.211.223.194
s=SIP Call
c=IN IP4 83.211.223.194
t=0 0
m=audio 52478 RTP/AVP 18 8 0 4 3 2 125 101
c=IN IP4 83.211.223.194
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=5.3;annexa=no
a=rtpmap:3 GSM/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:125 X-CCD/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

Jun 22 18:13:30.629: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 83.211.227.21:5060;branch=z9hG4bK30f1.6978b19.0,SIP/2.0/UDP 83.211.2.220:5060;rport=58321;received=83.211.2.220;x-route-tag="tgrp:Slot6";branch=z9hG4bK381906012D7
From: <sip:[email protected]>;tag=F97E4408-2569
To: <sip:[email protected]>
Date: Wed, 22 Jun 2016 18:13:30 GMT
Call-ID: [email protected]
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 101 INVITE
Allow-Events: telephone-event
Content-Length: 0



Jun 22 18:13:30.633: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 83.211.227.21:5060;branch=z9hG4bK30f1.6978b19.0,SIP/2.0/UDP 83.211.2.220:5060;rport=58321;received=83.211.2.220;x-route-tag="tgrp:Slot6";branch=z9hG4bK381906012D7
From: <sip:[email protected]>;tag=F97E4408-2569
To: <sip:[email protected]>;tag=4B902FB-1934
Date: Wed, 22 Jun 2016 18:13:30 GMT
Call-ID: [email protected]
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 101 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0


Jun 22 18:13:30.665: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 83.211.227.21:5060;branch=z9hG4bK30f1.6978b19.0
From: <sip:[email protected]>;tag=F97E4408-2569
Call-ID: [email protected]
To: <sip:[email protected]>;tag=4B902FB-1934
CSeq: 101 ACK
Max-Forwards: 70
User-Agent: SPS CI RM GW 01
Content-Length: 0



Jun 22 18:13:37.762: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060 SIP/2.0
To: 00972599433852<sip:[email protected]:5060>
From: 2020<sip:[email protected]:5060>;tag=784806f6
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
Call-ID: ebcd106980f859c7af6e277222c4185b
CSeq: 1 INVITE
Contact: <sip:[email protected]:1909>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE
User-Agent: sipcli/v1.8
Content-Type: application/sdp
Content-Length: 280

v=0
o=sipcli-Session 89987641 871114132 IN IP4 192.168.2.100
s=sipcli
c=IN IP4 192.168.2.100
t=0 0
m=audio 5072 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

Jun 22 18:13:37.802: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
From: 2020<sip:[email protected]:5060>;tag=784806f6
To: 00972599433852<sip:[email protected]:5060>
Date: Wed, 22 Jun 2016 18:13:37 GMT
Call-ID: ebcd106980f859c7af6e277222c4185b
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Content-Length: 0



Jun 22 18:13:37.806: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
From: 2020<sip:[email protected]:5060>;tag=784806f6
To: 00972599433852<sip:[email protected]:5060>;tag=4B91F0B-1388
Date: Wed, 22 Jun 2016 18:13:37 GMT
Call-ID: ebcd106980f859c7af6e277222c4185b
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



Jun 22 18:13:37.902: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
From: 2020<sip:[email protected]:5060>;tag=784806f6
To: 00972599433852<sip:[email protected]:5060>;tag=4B91F0B-1388
Date: Wed, 22 Jun 2016 18:13:37 GMT
Call-ID: ebcd106980f859c7af6e277222c4185b
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



Jun 22 18:13:38.102: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
From: 2020<sip:[email protected]:5060>;tag=784806f6
To: 00972599433852<sip:[email protected]:5060>;tag=4B91F0B-1388
Date: Wed, 22 Jun 2016 18:13:37 GMT
Call-ID: ebcd106980f859c7af6e277222c4185b
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



VOIP_TEST#
Jun 22 18:13:38.502: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1909;branch=z9hG4bK-ebcd106980f859c7af6e277222c4185b;rport
From: 2020<sip:[email protected]:5060>;tag=784806f6
To: 00972599433852<sip:[email protected]:5060>;tag=4B91F0B-1388
Date: Wed, 22 Jun 2016 18:13:37 GMT
Call-ID: ebcd106980f859c7af6e277222c4185b
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



Jun 22 18:13:41.162: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060 SIP/2.0
To: 20046214905422<sip:[email protected]:5060>
From: gateway<sip:[email protected]:5060>;tag=79bff49c
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
Call-ID: fe671997119ba850a4f40852107047d7
CSeq: 1 INVITE
Contact: <sip:[email protected]:1941>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE
User-Agent: sipcli/v1.8
Content-Type: application/sdp
Content-Length: 283

v=0
o=sipcli-Session 1253827445 1395983228 IN IP4 192.168.2.100
s=sipcli
c=IN IP4 192.168.2.100
t=0 0
m=audio 5072 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

Jun 22 18:13:41.202: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
From: gateway<sip:[email protected]:5060>;tag=79bff49c
To: 20046214905422<sip:[email protected]:5060>
Date: Wed, 22 Jun 2016 18:13:41 GMT
Call-ID: fe671997119ba850a4f40852107047d7
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Content-Length: 0



Jun 22 18:13:41.206: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
From: gateway<sip:[email protected]:5060>;tag=79bff49c
To: 20046214905422<sip:[email protected]:5060>;tag=4B92C58-3F7
Date: Wed, 22 Jun 2016 18:13:41 GMT
Call-ID: fe671997119ba850a4f40852107047d7
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0


no
Jun 22 18:13:41.306: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
From: gateway<sip:[email protected]:5060>;tag=79bff49c
To: 20046214905422<sip:[email protected]:5060>;tag=4B92C58-3F7
Date: Wed, 22 Jun 2016 18:13:41 GMT
Call-ID: fe671997119ba850a4f40852107047d7
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



Jun 22 18:13:41.502: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
From: gateway<sip:[email protected]:5060>;tag=79bff49c
To: 20046214905422<sip:[email protected]:5060>;tag=4B92C58-3F7
Date: Wed, 22 Jun 2016 18:13:41 GMT
Call-ID: fe671997119ba850a4f40852107047d7
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0


de
Jun 22 18:13:41.902: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.100:1941;branch=z9hG4bK-fe671997119ba850a4f40852107047d7;rport
From: gateway<sip:[email protected]:5060>;tag=79bff49c
To: 20046214905422<sip:[email protected]:5060>;tag=4B92C58-3F7
Date: Wed, 22 Jun 2016 18:13:41 GMT
Call-ID: fe671997119ba850a4f40852107047d7
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=1
Content-Length: 0



VOIP_TEST#no debug all
Jun 22 18:13:46.426: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:voip.eutelia.it:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.88:5060;branch=z9hG4bKBF511F5
From: <sip:[email protected]>;tag=4B940C9-1F95
To: <sip:[email protected]>
Date: Wed, 22 Jun 2016 18:13:46 GMT
Call-ID: 28C85CE0-2BDE11D6-8002D24D-DC57F03D
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1466619226
CSeq: 222 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 900
Content-Length: 0



Jun 22 18:13:46.450: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.88:5060;branch=z9hG4bKBF511F5
From: <sip:[email protected]>;tag=4B940C9-1F95
To: <sip:[email protected]>;tag=c040a69dfc7733bdec8c921a7a9f2d3a.b48d
Call-ID: 28C85CE0-2BDE11D6-8002D24D-DC57F03D
CSeq: 222 REGISTER
WWW-Authenticate: Digest realm="voip.eutelia.it", nonce="576ad59768a7d7cfcabdc82c599448aab05713dd", qop="auth"
Server: SPS CI RM GW 01
Content-Length: 0



Jun 22 18:13:46.458: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:voip.eutelia.it:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.88:5060;branch=z9hG4bKBF612FF
From: <sip:[email protected]>;tag=4B940C9-1F95
To: <sip:[email protected]>
Date: Wed, 22 Jun 2016 18:13:46 GMT
Call-ID: 28C85CE0-2BDE11D6-8002D24D-DC57F03D
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1466619226
CSeq: 223 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 900
Authorization: Digest username="xxxxxxxxxx",realm="voip.eutelia.it",uri="sip:voip.eutelia.it:5060",response="d7a38a989a759e9865f2091bb2335435",nonce="576ad59768a7d7cfcabdc82c599448aab05713dd",cnonce="F2BC4F5D",qop="auth",algorithm=md5,nc=00000001
Content-Length: 0


Jun 22 18:13:46.498: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.88:5060;branch=z9hG4bKBF612FF
From: <sip:[email protected]>;tag=4B940C9-1F95
To: <sip:[email protected]>;tag=c040a69dfc7733bdec8c921a7a9f2d3a.ffb6
Call-ID: 28C85CE0-2BDE11D6-8002D24D-DC57F03D
CSeq: 223 REGISTER
Date: Wed, 22 Jun 2016 18:13:47 GMT
Contact: <sip:[email protected]:5060>;q=0.5;expires=900
Server: SPS CI RM GW 01
Content-Length: 0



Jun 22 18:13:47.082: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:




ringrazio gia in anticipo per le vostre risposte
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao.
Ho dato una letta veloce. Ti mancano le regole per convertire i tuoi numeri interni con quelli esterni e viceversa.
Tutti i telefoni devono ricevere e chiamare? Se mai guqrda qua http://www.cisco.com/c/en/us/support/do ... rules.html.

Questa potrebbe essere una soluzione.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Hai risolto?
Non cade foglia che l'inconscio non voglia (S.B.)
bladev
n00b
Messaggi: 3
Iscritto il: lun 13 set , 2010 11:16 am

no, non ho ancora risolto sto cercando di capire come devo fare le translation-rule in quanto ho tutto su protocollo sip

adesso studio poi vediamo se ne vengo a capo

grazie
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ok.
Fammi sapere

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Hai risolto?
Non cade foglia che l'inconscio non voglia (S.B.)
bladev
n00b
Messaggi: 3
Iscritto il: lun 13 set , 2010 11:16 am

no, non riesco a capire come devo fare le rule per far arrivare la telefonata verso i telefoni
Rispondi