problema CME con sip-ua eutelia

Voice su IP

Moderatore: Federico.Lagni

Subzero
Cisco fan
Messaggi: 72
Iscritto il: lun 02 gen , 2012 10:20 am

Aggiornamento...

Come dicevo, in uscita funziona tutto.... in ingresso invece cade la linea... facendo un debug mi visualizza l'errore 488: not acceptable media
sulla conf ci sono 3 numeri: xxxxxxxxxxxxxx1-2-3 sono numeri registrati su eutelia... xxxxxxxxx1 è il GO (numero principale) mentre gli altri sono secondary per fax e un diretto.

Allego conf e debug:

Codice: Seleziona tutto

!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
logging buffered 16000
!
no aaa new-model
clock timezone Italy 1 0
network-clock-participate wic 0 
!
ip cef
!
!
!
ip dhcp excluded-address 192.168.2.200
ip dhcp excluded-address 192.168.2.2
!
ip dhcp pool rete-telefoni
 network 192.168.2.0 255.255.255.0
 option 150 ip 192.168.2.200 
 default-router 192.168.2.2 
 dns-server 8.8.8.8 
!
!
!
no ip domain lookup
ip name-server 8.8.8.8
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!         
!
!
voice-card 0
!
!
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
  h225 signal overlap
  h225 progress-indicator local-ringback
 sip
  registrar server expires max 3600 min 3600
  localhost dns:voip.eutelia.it
!
voice class codec 1
 codec preference 1 g711alaw
 codec preference 2 g711ulaw bytes 80
 codec preference 3 g723ar53
 codec preference 4 g723ar63 bytes 144
 codec preference 5 g723r53
 codec preference 6 g723r63 bytes 120
 codec preference 7 g726r16
 codec preference 8 g726r24
 codec preference 9 g726r32
 codec preference 10 g728
 codec preference 11 g729br8
 codec preference 12 g729r8 bytes 50
!
voice class h323 1
  h225 timeout connect 360
!
voice class dualtone-detect-params 1
 freq-max-power 0
 freq-min-power 35
 freq-power-twist 15
 freq-max-delay 40
 cadence-variation 20
!
voice class custom-cptone 1
 dualtone busy
 dualtone ringback
 dualtone reorder
 dualtone out-of-service
 dualtone number-unobtainable
 dualtone disconnect
  frequency 425 425
  cadence 200 200 200 200
!
!
voice register global
 mode cme
 source-address 192.168.2.200 port 5060
 max-dn 6
 max-pool 4
 timezone 26
 file text
 create profile sync 0003471915524574
!
voice hunt-group 1 parallel
 list 100,101
 pilot xxxxxxxx secondary xxxxxxxx
 description ***gruppo telefoni***    
!
!
!
!
!
!
license udi pid CISCO2901/K9 sn FCZ1644917C
license agent default authenticate none
hw-module pvdm 0/0
!
!
!
file privilege 0
username admin privilege 15 secret 4 X4ZqtPJ///KxuEWxHSsJrv3beQVnz2ise/xj8fF6eFU
!
redundancy
!
!
!
!
!
!
interface Loopback0
 no ip address
 ip nat inside
 ip virtual-reassembly in
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 192.168.2.200 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface BRI0/0/0
 no ip address
!
interface BRI0/0/1
 no ip address
!
interface Dialer0
 no ip address
!
ip forward-protocol nd
!
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:/GUI
!
ip nat inside source static udp 192.168.2.200 5060 interface GigabitEthernet0/0 5060
ip nat inside source static tcp 192.168.2.200 5060 interface GigabitEthernet0/0 5060
ip route 0.0.0.0 0.0.0.0 192.168.2.2
!
!
!
tftp-server flash:/P0030801SR02.bin alias P003080P0030801SR02.bin1SR02.bin
tftp-server flash:/P0030801SR02.sb2 alias P0030801SR02.sb2
tftp-server flash:/term11.default.loads alias term11.default.loads
tftp-server flash:/term06.default.loads alias term06.default.loads
access-list 1 permit 0.0.0.0 255.255.255.0
access-list 1 permit 0.0.0.200 255.255.255.0
access-list 100 permit ip 0.0.0.200 255.255.255.0 0.0.0.2 255.255.255.0
access-list 100 permit ip host 0.0.0.0 host 83.211.227.21
!
control-plane
!
!
voice-port 0/0/0
!
voice-port 0/0/1
 !
 !
 !
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
dial-peer voice 1 voip
 destination-pattern .T
 session protocol sipv2
 session target dns:voip.eutelia.it:5060
 session transport udp
 dtmf-relay sip-notify
 codec g711alaw
!
!
sip-ua 
 credentials username xxxxxxxx1 password 7 1443415F5B563D14083C3025722C realm voip.eutelia.it
 credentials username xxxxxxxx2 password 7 055E551D054D645B29 realm voip.eutelia.it
 credentials username xxxxxxxx3 password 7 0870791E481C112F135E3A56321476 realm voip.eutelia.it
 keepalive target dns:voip.eutelia.it:5060
 authentication username xxxxxxxxxx1 password 7 135422424A0910122A711E612D1D41 realm voip.eutelia.it
 calling-info sip-to-pstn number set xxxxxxxxxx1
 calling-info pstn-to-sip from number set xxxxxxxxxx1
 no remote-party-id
 retry invite 3
 retry response 3
 retry bye 3
 retry cancel 3
 retry register 5
 timers expires 60000
 timers notify 100
 timers register 150
 timers keepalive down 5
 timers keepalive active 20
 registrar dns:voip.eutelia.it:5060 expires 3600
 sip-server dns:voip.eutelia.it:5060
 no suspend-resume
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 max-ephones 42
 max-dn 30
 ip source-address 192.168.2.200 port 2000
 cnf-file location flash:
 cnf-file perphone
 max-conferences 8 gain -6
 transfer-system full-consult
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn  1
 number 100 no-reg primary
 label Cailotto Roberto
 description Cailotto Roberto
 name Cailotto  Roberto
!
!
ephone-dn  2
 number 101 no-reg primary
 label Cailotto Roberto
 name Cailotto Roberto
!
!
ephone  1
 mac-address 6C50.4D56.33C9
 type 7906
 button  1:1
!
!
!
ephone  2 
 mac-address 0025.84A1.54E2
 type 7911
 button  1:2
!
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 password admin
 no login
 transport input telnet
!
scheduler allocate 20000 1000
ntp server 37.247.48.64
ntp server 193.204.114.232
ntp server 93.54.5.129
!
end
Debug

Codice: Seleziona tutto




v=0
o=CiscoSystemsSIP-GW-UserAgent 7315 1556 IN IP4 62.94.71.28
s=SIP Call
c=IN IP4 62.94.199.40
t=0 0
m=audio 54362 RTP/AVP 18 8 0 4 3 2 125 101
c=IN IP4 62.94.199.40
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

Oct  9 23:22:44.850: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent: 
SIP/2.0 488 Not Acceptable Media
Via: SIP/2.0/UDP 83.211.227.21;branch=z9hG4bK4925.12dcffb6.0,SIP/2.0/UDP  62.94.71.28:5060;rport=62553;received=62.94.71.28;x-route-tag="tgrp:Slot6";branch=z9hG4bKA2868216B0
From: <sip:62.94.71.28>;tag=FA8A18A4-14E1
To: <sip:[email protected]>;tag=5C961C-316
Date: Wed, 09 Oct 2013 23:22:44 GMT
Call-ID: [email protected]
CSeq: 101 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=65
Server: Cisco-SIPGateway/IOS-15.3.2.T
Content-Length: 0


Oct  9 23:22:44.906: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received: 
ACK sip:[email protected]:52139 SIP/2.0
Via: SIP/2.0/UDP 83.211.227.21;branch=z9hG4bK4925.12dcffb6.0
From: <sip:62.94.71.28>;tag=FA8A18A4-14E1
Call-ID: [email protected]
To: <sip:[email protected]>;tag=5C961C-316
CSeq: 101 ACK
Max-Forwards: 70
User-Agent: SPS EUT RM GW 02
Content-Length: 0
SH sip-ua register status

Codice: Seleziona tutto

xxxxxxxxxxxxxx1  -1 180   yes
xxxxxxxxxxxxxx2  -1 180   yes
xxxxxxxxxxxxxx3  -1 180   yes

Grazie a chiunque può darmi una mano....
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Hai risolto? Sembrerebbe che non accetta il codec, ma dice che gestisce tutto.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
Subzero
Cisco fan
Messaggi: 72
Iscritto il: lun 02 gen , 2012 10:20 am

No.... ho provato a cambiare codec , metteri il g711alaw, sia g729r8.... niente da fare... sempre il medesimo errore....
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Prova a mettere questo

Codice: Seleziona tutto

dial-peer voice 1000 voip
voice-class codec 1
session protocol sipv2
incoming called-number .T
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
Non so se risolve, perché il default dial peer nel voip ha già tutti i codec.

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 provato?

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
Subzero
Cisco fan
Messaggi: 72
Iscritto il: lun 02 gen , 2012 10:20 am

Paolo... sei un mago!!! hai salvato la mia nuova abitazione!!!

Una cosa...

La tua procedura funziona dalle release 15.1 in giù... per le ultime release bisogna togliere il toll-faud :

Codice: Seleziona tutto

conf t
voice service voip
no ip address trusted authenticate 
Ora vado avanti con la conf per le altre feature (ricerca automatica... segreteria... etc. etc)

poi ti so dire...


EDIT a mente lucida della domenica mattina.... Non riesco a visualizzare il numero chiamante.... sul debug vedo la chiamata entrare col numero corretto del chiamante ma nn me lo trasferisce al telefono...
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Bene,
per il numero cosa ti appare? Hai delle conversioni sui numeri?

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
Subzero
Cisco fan
Messaggi: 72
Iscritto il: lun 02 gen , 2012 10:20 am

No... Nessuna traslation rule... Mi visualizza call from e il numero mio...
puskas88
Cisco power user
Messaggi: 113
Iscritto il: mer 26 ago , 2009 12:59 pm

Ciao, volevo chiedere se dopo un pò di tempo che la linea eutelia viene inutilizzata, la connessione verso il server voip va in timeout e se si chiama il numero voip non squilla piu niente. Ho configurato un 1751 e le chimate in ingresso funzionano bene , ma se non arrivano chiamate per un po di tempo se chiamo il numero eutelia non squilla piu niente.
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao,
dopo quanto tempo non squilla più? Probabilmente hai dei timeout sbagliati.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
puskas88
Cisco power user
Messaggi: 113
Iscritto il: mer 26 ago , 2009 12:59 pm

Dopo circa 10/20 minuti. ti posto la conf del sip-ua

sip-ua
credentials username numero eutelia password xxxxxxxxxxxxx realm voip.eutelia.it
no remote-party-id
keepalive target dns:voip.eutelia.it:5060
nat symmetric role passive
nat symmetric check-media-src
retry invite 4
retry response 3
retry bye 2
retry cancel 2
timers keepalive down 5
timers keepalive active 20
registrar dns:voip.eutelia.it:5060 expires 3600
sip-server dns:voip.eutelia.it:5060
Rispondi