Il giorno ven, 05/02/2010 alle 18.03 +0100, Daniele Visaggio ha scritto: > Posta la tua configurazione, info troppo scarse.
Eccola qui (ovviamente in numeri di telefono sono finti): Current configuration : 2483 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! enable password miapassword ! no aaa new-model ip cef ! ! ! ! ! ! isdn switch-type basic-net3 ! ! voice rtp send-recv ! voice service voip allow-connections sip to sip redirect ip2ip fax protocol pass-through g711alaw sip registrar server ! ! ! voice class codec 1 codec preference 1 g711alaw ! ! ! ! ! ! ! ! voice translation-rule 1 rule 1 /^123456789/ /5000/ rule 2 /^234567890/ /5000/ rule 3 /^345678901/ /5000/ rule 4 /^456789012/ /5000/ ! voice translation-rule 123456789 rule 1 /^5\(..\)/ /0123456789/ ! ! voice translation-profile Entranti translate called 1 ! voice translation-profile UscentiUrbana1 translate calling 123456789 ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 192.168.0.81 255.255.255.0 duplex auto speed auto ! interface BRI1/0 no ip address isdn switch-type basic-net3 isdn point-to-point-setup isdn incoming-voice voice isdn send-alerting ! interface BRI1/1 no ip address isdn switch-type basic-net3 isdn point-to-point-setup isdn incoming-voice voice isdn send-alerting ! ! ! no ip http server no ip http secure-server ! ! ! control-plane ! ! ! voice-port 1/0/0 compand-type a-law cptone IT ! voice-port 1/0/1 compand-type a-law cptone IT ! ! ! ! ! dial-peer voice 1 pots translation-profile incoming Entranti incoming called-number 123456789 direct-inward-dial ! dial-peer voice 2 pots translation-profile incoming Entranti incoming called-number 234567890 direct-inward-dial ! dial-peer voice 3 pots translation-profile incoming Entranti incoming called-number 345678901 direct-inward-dial ! dial-peer voice 4 pots translation-profile incoming Entranti incoming called-number 456789012 direct-inward-dial ! dial-peer voice 10 voip destination-pattern 5000 session protocol sipv2 session target ipv4:192.168.0.80 dtmf-relay rtp-nte codec g711alaw no vad ! dial-peer voice 101 pots translation-profile outgoing UscentiUrbana2 destination-pattern 0T port 1/0/1 ! sip-ua authentication username 5000 password 124C554742 realm 192.168.0.80 mwi-server ipv4:192.168.0.80 expires 3600 port 5060 transport udp registrar ipv4:192.168.0.80 expires 3600 sip-server ipv4:192.168.0.80 ! ! ! ! line con 0 line aux 0 line vty 0 4 password miapassword login ! ! end
_______________________________________________ http://www.areanetworking.it http://www.areanetworking.it/blog [email protected] http://ml.areanetworking.it/mailman/listinfo/cug
