The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"sccp привязка линии к конкретному аппарату"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Маршрутизаторы CISCO и др. оборудование. (VoIP)
Изначальное сообщение [ Отслеживать ]

"sccp привязка линии к конкретному аппарату"  +/
Сообщение от tern222 email(ok) on 30-Мрт-16, 12:17 
Здравствуйте. Есть два sccp аппарата и две физ. линии (fxo). Со входящими все отлично. Беда с исходящими. При звонке с любого из аппаратов используется свободная линия, а нужна жесткая привязка линии к аппарату. Как это можно реализовать ?

 no aaa new-model
clock timezone UTC 3
voice-card 0
!
voice-card 1
!
ip cef
!
!
!
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
sip
  registrar server expires max 3600 min 3600
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
!        
!        
!        
!        
!        
!        
!        
voice register global
mode cme
source-address 172.17.254.185 port 5060
max-dn 50
max-pool 24
create profile sync 0334252563688826
!        
voice register dn  1
number 201
!        
voice register pool  1
id mac E02F.6D63.C027
number 1 dn 1
voice-class codec 1
username 201 password cisco
!        
!        
!        
!        
!        
!        
!        
archive  
log config
  hidekeys
!        
!        
!        
!        
!        
!        
interface FastEthernet0/0
ip address xxxxxxxxxxxx 255.255.0.0
speed auto
!        
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 xxxxxxxxxx
!        
ip http server
no ip http secure-server
!        
!        
control-plane
!        
!        
!        
voice-port 0/0
cptone NL
connection plar opx 604
impedance complex2
caller-id enable
!        
voice-port 0/1
!        
voice-port 0/2
!        
voice-port 0/3
!        
voice-port 1/0
cptone NL
connection plar opx 644
impedance complex2
caller-id enable
!        
voice-port 1/1
cptone RU
connection plar opx xxxxxxx
station-id name City
station-id number xxxxxxx
!        
!        
!        
!        
!        
!        
dial-peer voice 101 pots
destination-pattern ^6..$
port 1/0
!        
dial-peer voice 2 pots
incoming called-number xxxxxx
direct-inward-dial
port 1/1
!        
dial-peer voice 102 pots
destination-pattern ^9......$
port 1/1
forward-digits 6
!        
dial-peer voice 103 pots
destination-pattern ^8..........$
port 1/1
!        
dial-peer voice 104 pots
destination-pattern ^0[1-9]$
port 1/1
!        
dial-peer voice 105 pots
destination-pattern ^911$
port 1/1
!        
dial-peer voice 6 voip
destination-pattern ^6..$
session target ipv4:xxxxxxxxxxxxx
!        
dial-peer voice 1 pots
incoming called-number 644
direct-inward-dial
port 1/0
!        
dial-peer voice 202 pots
destination-pattern ^6..$
port 0/0
!        
dial-peer voice 201 pots
incoming called-number 604
direct-inward-dial
port 0/0
!        
!        
telephony-service
max-ephones 5
max-dn 5
ip source-address xxxxxxxxxx port 2000
system message Ryazan
max-conferences 4 gain -6
call-forward pattern .T
transfer-system full-consult
transfer-pattern .T
directory entry 1 8xxxxxxx name xxx
directory entry 2 8xxxxxxxx name xxx
create cnf-files version-stamp 7960 Mar 29 2016 17:04:53
!        
!        
ephone-dn  1
number 644
!        
!        
ephone-dn  2
number xxxxxx
name Gorod
!        
!        
ephone-dn  3
number 604
!        
!        
ephone  1
mac-address xxxxxxxxxxxx
type 7940
button  1:3
!        
!        
!        
ephone  2
mac-address xxxxxxxxxxxx
speed-dial 1 xxxxxxxxxxxx
speed-dial 2 623
speed-dial 3 623
speed-dial 4 650
type 7941
button  1:1 2:2
!        
!        
!        
line con 0
line aux 0
line vty 0 4
password cisco
login    
!        
ntp clock-period 17208121
ntp server xxxxxxxxxxxxxx
end    

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от crash (ok) on 31-Мрт-16, 07:11 
возможно cor list поможет в данном случае.
Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от tern222 email(ok) on 31-Мрт-16, 09:10 
а поподробнее можно ?


Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от kt email(ok) on 31-Мрт-16, 11:46 
> а поподробнее можно ?

как то так

dial-peer cor custom
name call1
name call2

dial-peer cor list user-1
member call1

dial-peer cor list user-2
member call2


dial-peer voice 10 pots
corlist outgoing user-1

dial-peer voice 11 pots
corlist outgoing user-2

Ответить | Правка | ^ к родителю #2 | Наверх | Cообщить модератору

4. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от crash (ok) on 31-Мрт-16, 11:58 
еще не забыть на ephone-dn повесить cor list.
Ответить | Правка | ^ к родителю #3 | Наверх | Cообщить модератору

5. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от kt email(ok) on 31-Мрт-16, 12:00 
> еще не забыть на ephone-dn повесить cor list.

забыл скопировать :-)

ephone-dn  1  dual-line
corlist incoming call1

ephone-dn  2  dual-line
corlist incoming call2

Ответить | Правка | ^ к родителю #4 | Наверх | Cообщить модератору

6. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от crash (ok) on 31-Мрт-16, 12:02 
>> еще не забыть на ephone-dn повесить cor list.
> забыл скопировать :-)
> ephone-dn  1  dual-line
>  corlist incoming call1
> ephone-dn  2  dual-line
>  corlist incoming call2

тогда сразу еще и cor list сразу показать call1 и call2 :). Или я ошибаюсь :)

Ответить | Правка | ^ к родителю #5 | Наверх | Cообщить модератору

7. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от kt email(ok) on 31-Мрт-16, 12:11 
>>> еще не забыть на ephone-dn повесить cor list.
>> забыл скопировать :-)
>> ephone-dn  1  dual-line
>>  corlist incoming call1
>> ephone-dn  2  dual-line
>>  corlist incoming call2
> тогда сразу еще и cor list сразу показать call1 и call2 :).
> Или я ошибаюсь :)

ephone-dn  1  dual-line
corlist incoming user-1
ephone-dn  2  dual-line
corlist incoming user-2

общий смысл понятен, что непонятно автор сам найдет.

Ответить | Правка | ^ к родителю #6 | Наверх | Cообщить модератору

8. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от tern222 email(ok) on 01-Апр-16, 14:57 
Либо я ни фига не понял, либо наихудший вариант, который даже озвучивать не хочется. И так для простоты : есть два аппарат 7940 и 7942 и две линии 604 и 644. Соответствие 7940 - 604, 7942 - 644. Делаю так:

dial-peer cor custom
name 604
name 644
!        
!        
dial-peer cor list 7942
member 644
!        
dial-peer cor list 7940
member 604
!        
!        
dial-peer voice 101 pots
corlist outgoing 7942
destination-pattern ^6..$
port 1/0
!        
dial-peer voice 2 pots
incoming called-number *******
direct-inward-dial
port 1/1
!        
dial-peer voice 102 pots
destination-pattern ^9......$
port 1/1
forward-digits 6
!        
dial-peer voice 103 pots
destination-pattern ^8..........$
port 1/1
!        
dial-peer voice 104 pots
destination-pattern ^0[1-9]$
port 1/1
!        
dial-peer voice 105 pots
destination-pattern ^911$
port 1/1
!        
dial-peer voice 6 voip
destination-pattern ^6..$
session target ipv4:************

dial-peer voice 1 pots
incoming called-number 644
direct-inward-dial
port 1/0
!        
dial-peer voice 202 pots
corlist outgoing 7940
destination-pattern ^6..$
port 0/0
!        
dial-peer voice 201 pots
incoming called-number 604
direct-inward-dial
port 0/0
!        
!        
telephony-service
max-ephones 5
max-dn 5
ip source-address *********** port 2000
system message Ryazan
max-conferences 4 gain -6
call-forward pattern .T
transfer-system full-consult
transfer-pattern .T
directory entry 1 ********** name Li
directory entry 2 ********** name Kanishev
create cnf-files version-stamp 7960 Mar 29 2016 17:04:53
!        
!        
ephone-dn  1
number 644
corlist incoming 7942
!        
!        
ephone-dn  2
number *********
name Gorod
!        
!        
ephone-dn  3
number 604
corlist incoming 7940

И ни фига не работает. В чем ошибаюсь ?


Ответить | Правка | ^ к родителю #7 | Наверх | Cообщить модератору

9. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от crash (ok) on 04-Апр-16, 10:21 
а куда вы звоните при проверке?

Вы уверены что звонок уходит через
dial-peer voice 101 pots
corlist outgoing 7942
destination-pattern ^6..$
port 1/0

а не через

dial-peer voice 6 voip
destination-pattern ^6..$
session target ipv4:***********
?

Ответить | Правка | ^ к родителю #8 | Наверх | Cообщить модератору

10. "sccp привязка линии к конкретному аппарату"  +/
Сообщение от tern222 email(ok) on 04-Апр-16, 14:43 
Убрал dial-peer voice 6 voip, звонит как надо, СПАСИБО.
Другой вопрос - при звонке с 604 на 644 и наоборот, звонки идут только с cisco на cisco, на другие аналоги, висящие на этой линии звонки не проходят. Почему (где опять косячу) ?


Ответить | Правка | ^ к родителю #9 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру