A chi potesse servire... dopo tante prove e test  e diverse peripezie, ho completato una conf funzionante in tutto, testata su sistemi Ser-Asterisk funziona egregiamente.
La versione IOS che ho usato e la 12.4 (3) ovvero c820-ov6y6-mz-124-3.bin
questa di seguito e la configurazione a 4 linee diversificate, completate ovviamente i campi con i dati forniti dal vostro fornitore, ip, dns, sip srv ecc.
Ciao a tutti e spero di essere stato utile.... alla prox.
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco_SIP
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
no ip dhcp use vrf connected
!
ip dhcp pool SERVER
   import all
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1 
   dns-server x.x.x.x 
!
!
ip name-server x.x.x.x
!
!
voice call send-alert
voice call disc-pi-off
voice call debug short-header
voice rtp send-recv
voice dsp release early
!
!
voice class codec 1
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
!
!
!
!         
!
!
!
voice translation-rule 1
 rule 1 /^0/ /9990/
 rule 2 /^1/ /9991/
 rule 3 /^3/ /9993/
 rule 8 /^8/ /9998/
 rule 9 reject /.*/
!
!
!
!
!
!
interface Ethernet0
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 hold-queue 100 out
!
interface ATM0
 no ip address
 no ip mroute-cache
 no atm ilmi-keepalive
 dsl operating-mode auto
!
interface ATM0.1 point-to-point
 ip address x.x.x.x 255.255.255.0
 ip nat outside
 ip virtual-reassembly
 no ip mroute-cache
 pvc 0/32 
  encapsulation aal5snap
 !
!
ip classless
ip route 0.0.0.0 0.0.0.0 ATM0.1
no ip http server
!
ip nat inside source list 1 interface ATM0.1 overload
access-list 1 permit 192.168.1.0 0.0.0.255
!
route-map Data permit 10
 match interface Ethernet0
 set ip precedence priority
!         
!
control-plane
!
!
voice-port 1
 ring cadence pattern01
 echo-cancel coverage 32
 no vad
 cptone IT
 timeouts interdigit 5
 bearer-cap Speech
 caller-id enable
!
voice-port 2
 ring cadence pattern01
 cptone IT
!
voice-port 3
 ring cadence pattern01
 cptone IT
!
voice-port 4
 ring cadence pattern01
 cptone IT
!
dial-peer voice 1 voip
 translation-profile outgoing calling-outbound
 destination-pattern [0,1,3,8]T
 progress_ind setup enable 3
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 session transport udp
 dtmf-relay sip-notify
 fax rate 14400
 fax protocol pass-through g711alaw
 ip qos dscp cs5 media
 no vad
!
dial-peer voice 2 pots
 destination-pattern 111111
 port 4
 authentication username 111111 password xxxxxx
!
dial-peer voice 3 pots
 preference 2
 destination-pattern 222222
 port 3
 authentication username 222222 password xxxxxx
!
dial-peer voice 4 pots
 preference 3
 destination-pattern 333333
 port 2
 authentication username 333333 password xxxxxx
!
dial-peer voice 5 pots
 preference 4
 destination-pattern 444444
 port 1
 authentication username 444444 password xxxxxx
!
gateway 
 timer receive-rtp 1200
!         
sip-ua 
 retry invite 4
 retry response 3
 retry bye 2
 retry cancel 2
 retry register 10
 registrar dns:sip.server.it:5060 expires 60
 sip-server dns:sip.server.it:5060
!
!
line con 0
line vty 0 4
 login
!
scheduler max-task-time 5000
end
            
			
									
									
						Cisco 827-4v funzionante Ser-Asterisk; ok call-in/call-out
Moderatore: Federico.Lagni
- TheIrish
- Site Admin
- Messaggi: 1840
- Iscritto il: dom 14 mar , 2004 11:26 pm
- Località: Udine
- Contatta:
 
   
   Grazie mille. Sarà sicuramente utilissimo a molti
 Grazie mille. Sarà sicuramente utilissimo a molti   
   
  



