Voip con selezoine passante

Voice su IP

Moderatore: Federico.Lagni

Rispondi
ndiego75
Cisco pathologically enlightened user
Messaggi: 202
Iscritto il: lun 07 nov , 2005 1:57 pm
Località: Genova

Ciao a tutti, problema del giorno:
Ho un router 2811 configurato come gateway per un centralino asterisk. Il router ha configurate 4 bri che sfruttano le linee di fastweb. Sto implementando una selezione passante punto-punto (quindi non necessito di autenticazione) di un provider voip per ricevere la chiamata trasformare il numero nell'interno desiderato e smistarla ad asterisk ma per qualche motivo che non riesco a capire vedo nel debug la chiamata ma mi torna indietro con errore:

Date: Thu, 20 Oct 2011 09:53:46 GMT
Call-ID: SD7f8c201-7b66203d89d15dddc5ffbd6f33c250a2-ao92061
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0


*Oct 20 09:53:46.127: //16433/3C7CAE109B1E/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK3igqn9psndj0jo1vurmv8rtme4
From: <sip:[email protected]:5060;user=phone>;tag=SD7f8c201--45026-2c8a94
2-57f4fb8a-2c8a942
To: <sip:[email protected]:5060;user=phone>;tag=2DB3C5D8-135C
Date: Thu, 20 Oct 2011 09:53:46 GMT
Call-ID: SD7f8c201-7b66203d89d15dddc5ffbd6f33c250a2-ao92061
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=3
Content-Length: 0


*Oct 20 09:53:46.139: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:[email protected]:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK3igqn9psndj0jo1vurmv8rtme4
From: <sip:[email protected]:5060;user=phone>;tag=SD7f8c201--45026-2c8a94
2-57f4fb8a-2c8a942
To: <sip:[email protected]:5060;user=phone>;tag=2DB3C5D8-135C
Call-ID: SD7f8c201-7b66203d89d15dddc5ffbd6f33c250a2-ao92061
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0


la parte di configurazione interessata è:

voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729br8
!


voice translation-rule 1
rule 1 /012345609/ /209/
!
!
voice translation-profile 1
translate called 1

dial-peer voice 10 voip
description Negoziazione codec e translation del numero
translation-profile incoming 1
preference 1
voice-class codec 1
session protocol sipv2
session target ipv4:XX.XX.XX.XX
session transport udp
incoming called-number 0123456..

dial-peer voice 11 pots
incoming called-number 0123456..
direct-inward-dial

dial-peer voice 101 voip
description Peer per inoltro ad asterisk
destination-pattern 2..
session protocol sipv2
session target ipv4:10.10.10.254
session transport udp
codec g711ulaw

La cosa strana è che su un altro router con una configurazione quasi identica funziona mentre qui no. Sembra quasi che non venga fatto il match con il peer corrispondente.
Qualcuno ha qualche consiglio?
Grazie
Rispondi