BiTel

Форум BiTel
bgbilling.ru     docs.bitel.ru     wiki.bitel.ru     dbinfo.bitel.ru     bgcrm.ru     billing.bitel.ru     bitel.ru    
Текущее время: 25 апр 2024, 18:37

Часовой пояс: UTC + 5 часов [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 7 ] 
Автор Сообщение
 Заголовок сообщения: as5350
СообщениеДобавлено: 17 май 2007, 13:45 
Не в сети

Зарегистрирован: 16 май 2007, 13:10
Сообщения: 5
Карма: 4
Подскажите настройки под VoIP на сабж с биллингом.
А также нужную версию иоса.
Вот текущие:
Код:
resource-pool disable
aaa new-model
aaa session-mib disconnect
!
!
aaa group server radius voip
 server 10.11.1.11 auth-port 1645 acct-port 1646
!
aaa authentication login default local
aaa authentication login h323 group voip
aaa authorization exec default local
aaa authorization exec h323 group voip
aaa accounting connection h323 start-stop group voip
!
aaa nas port extended
aaa session-id common
!
resource policy
!
clock timezone MSK 3
clock summer-time MSD recurring last Sun Mar 2:00 last Sun Oct 3:00
syscon address 10.11.1.11 bgbilling
syscon shelf-id 0
spe country russia
!
spe default-firmware spe-firmware-1
no ip source-route
!
!
ip address-pool local
!
isdn switch-type primary-net5
isdn voice-call-failure 0
!
voice rtp send-recv
!
voice service voip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
!
!
voice class codec 1
 codec preference 1 g729r8
 codec preference 2 g729br8
 codec preference 3 g723r63
 codec preference 4 g723r53
 codec preference 5 g723ar53
 codec preference 6 g723ar63
!
voice class codec 3
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
!
application
 service GlobalCard tftp://10.11.1.11/debit.tcl
  param pin-len 8
  paramspace russian prefix ru
  param uid-len 8
  paramspace russian index 0
  paramspace russian language ru
 !
!
!
fax interface-type fax-mail
!
!
controller E1 3/0
 shutdown
 framing NO-CRC4
 pri-group timeslots 1-31
!
controller E1 3/1
 framing NO-CRC4
 pri-group timeslots 1-31
!
policy-map priority_marker
 class class-default
  set ip precedence 2
!
gw-accounting aaa
!
!
!
interface Loopback0
 no ip address
 no ip redirects
 no ip mroute-cache
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 no cdp enable
!
interface FastEthernet0/0.4
 encapsulation dot1Q 4
 ip address x.x.x.20 255.255.255.240
 no ip redirects
 no ip mroute-cache
 no snmp trap link-status
 no cdp enable
!
interface FastEthernet0/0.111
 description Local-Backbone-NET
 encapsulation dot1Q 111
 ip address 10.11.1.13 255.255.255.0
 no ip redirects
 no ip mroute-cache
 no snmp trap link-status
 no cdp enable
!
interface FastEthernet0/1
 no ip address
 no ip redirects
 duplex auto
 speed auto
 no cdp enable
!         
interface Serial0/0
 description none
 no ip address
 shutdown
 clock rate 2000000
 no cdp enable
!
interface Serial0/1
 no ip address
 shutdown
 clock rate 2000000
 no cdp enable
!
interface Serial3/0:15
 no ip address
 encapsulation ppp
 isdn switch-type primary-net5
 isdn incoming-voice modem
 isdn T310 60000
 isdn send-alerting
 isdn sending-complete
 no cdp enable
!
interface Serial3/1:15
 no ip address
 encapsulation ppp
 isdn switch-type primary-net5
 isdn incoming-voice modem
 isdn calling-number 414141
 isdn T310 60000
 isdn send-alerting
 isdn sending-complete
 no cdp enable
!
interface Group-Async0
 no ip address
 no ip redirects
 encapsulation slip
 async mode interactive
 group-range 1/00 1/59
!
ip route 0.0.0.0 0.0.0.0 x.x.x.18
!
no ip http server
no ip http secure-server
!
!
ip radius source-interface FastEthernet0/0.111
logging trap debugging
logging facility local6
logging 10.11.2.33
snmp-server community bgbilling41 RW 98
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps calltracker
snmp-server enable traps tty
snmp-server enable traps aaa_server
snmp-server host 10.11.1.11 161
snmp-server host 10.11.1.11 2c
snmp-server host 10.11.1.11 aaa
snmp-server host 10.11.1.11 bgbilling
no cdp run
!
!
radius-server host 10.11.1.11 auth-port 1645 acct-port 1646 timeout 10 retransmit 5 key 7 104D0617031E15
radius-server vsa send accounting
radius-server vsa send authentication
!
control-plane
!
!
!
voice-port 3/0:D
!
voice-port 3/1:D
!
!
dial-peer cor custom
!
!
!
dial-peer voice 100 pots
 service globalcard
 incoming called-number 414141
!
dial-peer voice 200 voip
 service globalcard
 incoming called-number 414141
!
dial-peer voice 1111111 voip
 voice-class codec 1
 incoming called-number T
!
dial-peer voice 888888 voip
 description All traffic to MVTS
 preference 1
 destination-pattern .T
 voice-class codec 1
 session target ipv4:x.x.x.3
 dtmf-relay h245-signal
 fax rate 7200
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
!


Конфигурация Nas-a на биллиге:
Код:
auth.in=voip/originate
auth.out=voip/answer
acct.in=voip/originate
acct.out=voip/answer


Заранее благодарен!


Вернуться к началу
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: 18 май 2007, 10:36 
Не в сети

Зарегистрирован: 29 мар 2007, 16:21
Сообщения: 109
Откуда: Иркутск
Карма: 2
примерно так
Код:
aaa group server radius bgbilling
 server 195.x.x.x auth-port 1912 acct-port 1913
!
aaa authentication login xxx-card group bgbilling
aaa authorization exec xxx-card group bgbilling
aaa accounting connection xxx-card start-stop group bgbilling
aaa session-id common

!
voice service voip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
  h225 timeout tcp call-idle value 5
  session transport tcp calls-per-connection 1
  h245 caps suppress nte
 modem passthrough nse codec g711alaw
 sip
  no call service stop
!
voice class codec 2
 codec preference 1 g729r8
 codec preference 2 g729br8
 codec preference 3 g723r63
 codec preference 4 g723ar63
 codec preference 5 g723r53
 codec preference 6 g723ar53
 codec preference 7 gsmfr
!
!
voice class aaa 2
 authentication method xxx-card
 authorization method xxx-card
 accounting method xxx-card
!
!
!
voice translation-rule 2
 rule 1 /^395\(.*\)/ /7\0/ type any unknown plan any unknown
 rule 2 /^2....../ /7395\0/ type any unknown plan any unknown
 rule 3 /^$/ /73952/ type any unknown plan any unknown
 rule 4 /^9.........$/ /7\0/
 rule 5 /^.*/ /7\0/
!
voice translation-rule 5505
 rule 1 /^739525505061\(.*\)/ /2550506/
 rule 2 /^739525505\(.*\)/ /25505\1/
 rule 3 /^5505\(.*\)/ /25505\1/
 rule 4 /^739525636\(.*\)/ /25636\1/
 rule 5 /^73952706\([1-2]\)\(.*\)/ /2706\1\2/
 rule 6 /^.*/ /2550501/
 rule 7 /^$/ /2550501/
 rule 8 /$/ /2550501/
 rule 9 // /2550501/

!
voice translation-profile from_pstn
 translate calling 2
!
voice translation-profile to_pstn
 translate calling 5505

!         

radius-server host 195.x.x.x auth-port 1912 acct-port 1913 non-standard key 7 xxxxxxxxxxxx
radius-server retransmit 2
radius-server timeout 3
radius-server optional-passwords
radius-server vsa send accounting
radius-server vsa send authentication

call language voice ru tftp://195.x.x.x/voice/ivr/ru_translate.tcl
!
call application voice xxx-card tftp://195.x.x.x/xxxxxxx/blib2.tcl
call application voice xxx-card call-setup-retry-count 3
call application voice xxx-card uid-len 6
call application voice xxx-card pin-len 10
call application voice xxx-card redirect-number 73952513909
call application voice xxx-card language 1 ru
call application voice xxx-card set-location ru 0 tftp://195.x.x.x/xxxxxxxxx/prompts/ru/
!
call progress tone country russia
!
voice-port 1/0:D
 translation-profile incoming from_pstn
 translation-profile outgoing to_pstn
 output attenuation 1
 voicecap configure echo4
 echo-cancel coverage 64
 cptone RU
 timeouts interdigit 7
 timeouts call-disconnect 3
 timeouts ringing 60
 timeouts wait-release 4
 music-threshold -49
 bearer-cap Speech
!
!
dial-peer voice 8 voip
 tone ringback alert-no-PI
 huntstop
 destination-pattern 8[0,3-9].........
 progress_ind setup enable 3
 progress_ind alert enable 8
 translate-outgoing called 8
 voice-class aaa 7
 voice-class codec 2
 session target dns:pipipgw
 dtmf-relay h245-signal h245-alphanumeric
 fax-relay ecm disable
 fax rate 14400
 fax nsf 000000
 no vad
!
dial-peer voice 82 voip
 tone ringback alert-no-PI
 huntstop
 destination-pattern 82.......
 progress_ind setup enable 3
 translate-outgoing called 8
 voice-class aaa 7
 voice-class codec 2
 session target dns:pipipgw
 dtmf-relay h245-signal h245-alphanumeric
 fax-relay ecm disable
 fax rate 14400
 fax nsf 000000
 no vad
!
dial-peer voice 810 voip
 tone ringback alert-no-PI
 huntstop
 destination-pattern 810T
 progress_ind setup enable 3
 translate-outgoing called 8
 voice-class aaa 7
 voice-class codec 2
 session target dns:pipipgw
 dtmf-relay h245-signal h245-alphanumeric
 fax-relay ecm disable
 fax rate 14400
 fax nsf 000000
 no vad
!
dial-peer voice 550533 pots
 trunkgroup pri-sibtc-ats56
 application xxx-card
 incoming called-number 550533
 voice-class aaa 2
!

dial-peer no-match disconnect-cause 1
dial-peer search type voice data


ntp clock-period 17179938
ntp access-group peer 11
ntp access-group serve-only 10
ntp update-calendar
ntp server x.x.x.x
ntp server x.x.x.x


Вернуться к началу
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: 16 май 2008, 15:26 
Не в сети

Зарегистрирован: 18 июн 2007, 11:01
Сообщения: 25
Карма: 0
Если Bgbilling используется только для тарификации трафика TDM->VOIP и VOIP->TDM, т.е. отсутствует трафик TDM->TDM и VOIP->VOIP, то возможно вдвое сократить объем трафика передаваемого с NAS на Radius-сервер:
gw-accounting aaa
suppress pots
p.s. если этого недостаточно, можно сконфигурировать Cisco слать только те атрибуты (VSA), которые действительно необходимы для подсчета трафика. Описание доступно в Cisco IOS Voice Command Reference, команда называется acct-template.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: 16 май 2008, 15:39 
Не в сети
Разработчик

Зарегистрирован: 27 ноя 2006, 20:36
Сообщения: 5715
Карма: 93
Напишите кто-нибудь, если не трудно, в wiki.bgbilling.ru пример настройки биллинга с циской.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: as5350
СообщениеДобавлено: 24 сен 2009, 21:51 
Не в сети

Зарегистрирован: 24 сен 2009, 21:25
Сообщения: 3
Карма: 0
можно ли то же самое настроить на 2821??


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: as5350
СообщениеДобавлено: 12 фев 2010, 10:56 
Не в сети

Зарегистрирован: 07 ноя 2009, 12:40
Сообщения: 41
Карма: 0
Меня интерисует где вы берёте эту самую прогу на tcl. Где мне её скачать?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: as5350
СообщениеДобавлено: 12 фев 2010, 14:35 
Не в сети
Клиент
Аватара пользователя

Зарегистрирован: 08 мар 2007, 20:44
Сообщения: 1570
Откуда: Челябинск
Карма: 18
star-ley писал(а):
можно ли то же самое настроить на 2821??

можно

_________________
Интернет и телефония оптом со склада, или в розницу


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 7 ] 

Часовой пояс: UTC + 5 часов [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
POWERED_BY
Русская поддержка phpBB
[ Time : 0.087s | 30 Queries | GZIP : On ]