Jump to content

Recommended Posts

Posted

Добрый день.

Есть устройство Cisco MC3810,

С одной стороны на него приходит поток E1, с другой - IP сеть.

Встал вопрос о настройке работы данный железки с протоколом SIP (необходимо для работы определенного ПО ), причем достаточно что-бы работали только звонки из IP сети в PSTN сеть.

 

Однако в процессе настройки столкнулся с проблемой, суть которой достаточно четко видна в логе ниже:

*Mar 15 21:34:30.804: voip_start_ccapi_accounting(213):

*Mar 15 21:34:30.804: voip_start_accounting_internal:

*Mar 15 21:34:30.804: voip_start_accounting_internal(213): peer_tag=2

*Mar 15 21:34:30.804: get_acct_params(213): Accounting suppressed for peer type 2

*Mar 15 21:34:30.808: voip_start_accounting_internal(213): Accounting suppressed. return.

*Mar 15 21:34:30.816: voip_rot_acct_supp_enabled: Rotary suppress disabled

*Mar 15 21:34:30.820: voip_update_ccapi_accounting(213): WARNING: accounting start not send. return.

*Mar 15 21:34:30.840: voip_start_ccapi_accounting(214):

*Mar 15 21:34:30.840: voip_start_accounting_internal:

*Mar 15 21:34:30.840: voip_start_accounting_internal(214): peer_tag=1

*Mar 15 21:34:30.840: get_acct_params: suppressed=0

*Mar 15 21:34:30.840: get_acct_params(214): Use method "" used by incoming call 213

*Mar 15 21:34:30.844: get_acct_params(214): ERROR: method "h323" not defined.

*Mar 15 21:34:30.844: voip_start_accounting_internal(214): ERROR: get_acct_params error. return.

*Mar 15 21:34:30.844: voip_start_ccapi_rotary_accounting(214):

*Mar 15 21:34:30.848: voip_start_accounting_internal:

*Mar 15 21:34:30.848: voip_start_accounting_internal(214): peer_tag=1

*Mar 15 21:34:30.848: get_acct_params: suppressed=0

*Mar 15 21:34:30.848: get_acct_params(214): Use method "" used by incoming call 213

*Mar 15 21:34:30.848: get_acct_params(214): ERROR: method "h323" not defined.

*Mar 15 21:34:30.848: voip_start_accounting_internal(214): ERROR: get_acct_params error. return.

*Mar 15 21:34:30.852: voip_start_ccapi_rotary_accounting(213):

*Mar 15 21:34:30.852: voip_start_accounting_internal:

*Mar 15 21:34:30.852: voip_start_accounting_internal(213): peer_tag=2

*Mar 15 21:34:30.852: get_acct_params(213): Accounting suppressed for peer type 2

*Mar 15 21:34:30.852: voip_start_accounting_internal(213): Accounting suppressed. return.

*Mar 15 21:34:30.856: voip_stop_ccapi_accounting(214): UID=0

*Mar 15 21:34:30.856: voip_stop_ccapi_accounting(214): UID=0

*Mar 15 21:34:30.856: voip_stop_ccapi_accounting(214): WARNING: accounting start not sent

*Mar 15 21:34:31.020: voip_stop_ccapi_accounting(213): UID=0

*Mar 15 21:34:31.020: voip_stop_ccapi_accounting(213): UID=0

*Mar 15 21:34:31.020: voip_stop_ccapi_accounting(213): WARNING: accounting start not sent

 

То есть кошка требует правильно настроенного аккаутинга ....

Во всех доках по cisco для настройки аккаутинга применяется TACACS+,RADIUS

 

Вопрос:

Можно ли заставить настроить аккаутинг SIP таким образом, что-бы он брал из локальный базы паролей, и если да, то как ?

Буду очень благодарен за пример или тыкание носом в доку.

 

конфиг:

 

version 12.3

service timestamps debug datetime msec

service timestamps log datetime localtime

no service password-encryption

!

hostname dial

!

boot-start-marker

boot-end-marker

!

logging buffered 20480 debugging

no logging console

enable secret 5 $1$Q.4t$.PrSbU.72Q4Q0wmtynmOo1

!

network-clock base-rate 64k

no aaa new-model

ip subnet-zero

!

!

ip host dial 192.168.10.52

ip host vclient 192.168.10.5

!

ip cef

isdn switch-type primary-net5

!

!

voice call send-alert

!

voice service pots

fax protocol t38 ls-redundancy 5 hs-redundancy 2 fallback cisco

!

voice service voip

signaling forward unconditional

fax protocol t38 ls-redundancy 5 hs-redundancy 2 fallback cisco

sip

!

voice class codec 1

codec preference 2 g711alaw

codec preference 3 g711ulaw

codec preference 5 g726r16

codec preference 6 g726r24

codec preference 7 g726r32

codec preference 10 g729r8

!

voice class codec 711

codec preference 1 g711alaw

!

!

!

!

!

!

voice class aaa 1

accounting suppress

!

!

no voice confirmation-tone

!

!

username dial privilege 15 password 0 dial

!

!

controller E1 1

framing NO-CRC4

pri-group timeslots 1-24

gw-accounting aaa

suppress voip

!

!

!

!

interface Ethernet0

ip address 192.168.10.52 255.255.255.0

!

interface Serial0

no ip address

no ip route-cache cef

no ip route-cache

shutdown

!

!

interface Serial1

no ip address

no ip route-cache cef

no ip route-cache

shutdown

no cdp enable

!

interface Serial1:15

no ip address

no logging event link-status

isdn switch-type primary-net5

isdn overlap-receiving

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

isdn incoming alerting add-PI

no cdp enable

!

interface FR-ATM20

no ip address

no ip route-cache cef

no ip route-cache

shutdown

!

ip classless

no ip http server

!

!

!

ip access-list extended voip

permit ip any any

!

map-class dialer test

dialer voice-call

!

!

snmp-server community cisco RW

!

voice-port 1:15

!

!

!

dial-peer voice 1 pots

tone ringback alert-no-PI

destination-pattern .T

direct-inward-dial

port 1:15

forward-digits all

!

dial-peer voice 2 voip

incoming called-number .

destination-pattern 1T

session protocol sipv2

session target ipv4:192.168.10.5

codec g711alaw

!

gateway

!

sip-ua

retry bye 1

retry refer 3

timers notify 400

timers refer 567

!

!

gatekeeper

zone local UA UA

accounting

shutdown

!

!

line con 0

password 1vopi..gate

line aux 0

line 2 3

line vty 0 4

exec-timeout 60 0

password 1vopi..gate

login

!

end

 

IOS:

 

Cisco Internetwork Operating System Software

IOS MC3810 Software (MC3810-A2JSV5X-M), Version 12.3(18), RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright © 1986-2006 by cisco Systems, Inc.

Compiled Wed 15-Mar-06 21:46 by dchih

Image text-base: 0x00023000, data-base: 0x01911C84

 

ROM: System Bootstrap, Version 12.0(6r)T4, RELEASE SOFTWARE (fc1)

ROM: MC3810 Software (MC3810-WBOOT-M), Version 12.0(1)XA4, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

 

dial uptime is 2 weeks, 22 hours, 30 minutes

System returned to ROM by power-on

System image file is "flash:mc3810-a2jsv5x-mz.123-18.bin"

 

cisco MC3810 (MPC860) processor (revision 10.02) with 61440K/4096K bytes of memory.

Processor board ID 17925791

PPC860 PowerQUICC, partnum 0x0000, version C01(0x0031)

Channelized E1, Version 1.0.

Bridging software.

X.25 software, Version 3.0.0.

SuperLAT software (copyright 1990 by Meridian Technology Corp).

TN3270 Emulation software.

Primary Rate ISDN software, Version 1.1.

MC3810 SCB board (v16.C0)

1 Multiflex E1(slot 4) RJ11(v02.C0)

1 6-DSP(slot2) Voice Compression Module(v02.C0)

1 Ethernet/IEEE 802.3 interface(s)

1 Serial network interface(s)

2 Serial(sync/async) network interface(s)

1 Channelized E1/PRI port(s)

256K bytes of non-volatile configuration memory.

0K bytes of processor board System flash (AMD29F016)

 

Configuration register is 0x2102

  • 3 weeks later...
Posted

Привет. Только попал мне в руки этот зверь, но там ios старый. Тоже буду заводить под SIP наверное да и вообще куча вопросов пока, но задавать не буду :-)

А вот IOS бы попросил. У меня на этом IOS voip вообще нету.

Может подразберусь и тебе чем помогу :)

Жду ответа или аську оставь или в e-mail пиши

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.