Добрый вечер господа! Был давно аналоговый телефон в офисе на одну линию, решено было купить четыре айпи телефончика, поставить астериск и выпустить все это "в город" через voip-fxo шлюз. Взял циску 1700 с карточкой на два fxo. Астериск поднял без проблем, все ок, нарисовал элементарный диалплан. Но вот в чем загвоздка: в предыдущей конторе все работало по той же схеме, только вот телефонный провайдер уже изначально давал мне линии в SIP'е. А здесь никак не получается настроить циску, чтобы она давала сип аккаунт астериску и перенаправляла входящие звонки с voice port 3/0 на астериск((( ткните пожалуйста в маны, искал, много нашел, но ничего подходящегоконфиг циски: Current configuration : 1893 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname cisco_voip ! boot-start-marker boot-end-marker ! enable secret 5 ЧЧЧЧ ! no aaa new-model ! resource policy ! voice-card 3 ! ip cef ! ! ! ! ! ! ! ! voice service voip allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip redirect ip2ip sip registrar server redirect contact order best-match no call service stop ! ! ! voice class codec 1 ! ! ! ! ! ! ! voice register pool 1 id network 10.Ч.Ч.Ч mask 255.255.255.0 voice-class codec 1 ! ! ! ! ! username ЧЧЧЧ secret 5 ЧЧЧЧ ! ! ! ! ! ! interface FastEthernet0/0 ip address 10.Ч.Ч.Ч 255.255.255.0 speed auto ! ip route 0.0.0.0 0.0.0.0 10.Ч.Ч.Ч ! ! no ip http server no ip http secure-server ! ! ! control-plane ! ! ! voice-port 3/0 supervisory disconnect dualtone mid-call supervisory answer dualtone pre-dial-delay 0 ring number 10 disc_pi_off input gain 10 cptone RU timeouts initial 0 timeouts interdigit 2 timeouts call-disconnect 1 timeouts ringing 20 timeouts wait-release 1 timing hookflash-out 300 connection plar 203 description incoming caller-id enable ! voice-port 3/1 ! ! ! ! ! ! ! dial-peer voice 203 voip destination-pattern 203 session protocol sipv2 session target sip-server codec g711ulaw no vad ! gateway timer receive-rtp 1200 ! sip-ua authentication username 4100 password 040F5A565F retry invite 3 retry response 3 retry bye 3 retry cancel 3 timers trying 1000 sip-server ipv4:айпи астериска ! ! line con 0 line aux 0 line vty 0 4 login local ! end вообщем полный кыштым(
|