The OpenNET Project / Index page

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

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

"КУда попадает звонок в 5350" 
Сообщение от dimax Найти другие сообщения данного автораПоместить сообщение в закладки. См. нижнее поле навигации.(??) on 30-Мрт-05, 13:28  (MSK)
Здравствуйте.

У меня возникла одна проблема, помогите пожалуйста.

У меня стоит 5350, она работает на голос и на dial-up.
У меня проблема с translate-outgoing.
Есть прописанные dial-peer для клиентов они работают нормально, я отних получаю номер, добавляю 812 и отправляю на станцию, все работает. Дальше Я беру ATA186 , настраиваю dial-peer, другой транслэйт, и у меня, когда я запускаю debug translation detail вижу что входящий звонок 1234567 попадает не в свой dial-peer и следовательно обрабатывается не своим правилом.
Почему так может происходить.
Посмотрите пожалуйста конфиг и скажите, в чём у меня ошибка

oice class codec 1
codec preference 1 g729r8 bytes 40
codec preference 2 g729br8 bytes 40

Voice class codec 2
codec preference 1 g729r8 bytes 40
codec preference 2 g729br8 bytes 40
codec preference 3 g723ar63 bytes 48
codec preference 4 g723r63 bytes 48

voice translation-rule 44
rule 1 /^1/ /1111/
rule 2 /^2/ /2222/
rule 3 /^3/ /3333/
rule 4 /^4/ /4444/
rule 5 /^5/ /5555/
rule 6 /^6/ /6666/
rule 7 /^7/ /7777/
rule 8 /^8/ /8888/
rule 9 /^9/ /9999/
!
!
!
voice translation-profile add
!
!
!
fax interface-type fax-mail
!
!
!
controller E1 3/0
shutdown
!
controller E1 3/1
shutdown
!
controller E1 3/2
pri-group timeslots 1-31
!
controller E1 3/3
pri-group timeslots 1-31
gw-accounting h323
gw-accounting h323 vsa
gw-accounting voip
!
translation-rule 8123
Rule 0 ^3 8121
!
!
translation-rule 55
Rule 0 ^1 11115555
Rule 1 ^2 11115555
Rule 2 ^3 11115555
Rule 3 ^4 11115555
Rule 4 ^5 11115555
Rule 5 ^6 11115555
Rule 6 ^7 11115555
Rule 7 ^8 11115555
Rule 8 ^9 11115555
!
!
!
interface FastEthernet0/0
ip address 1.1.1.1 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
duplex full
speed 100
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
clockrate 2000000
!
interface Serial0/1
no ip address
shutdown
clockrate 2000000
!
interface Serial3/2:15
no ip address
isdn switch-type primary-net5
isdn timer t321 40000
isdn overlap-receiving
isdn T310 4000
no cdp enable
!
interface Serial3/3:15
no ip address
isdn switch-type primary-net5
isdn timer t321 40000
isdn overlap-receiving
isdn incoming-voice modem
isdn T310 4000
no cdp enable
!
interface Group-Async0
no ip address
no group-range
!
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
no ip route-cache cef
no ip route-cache
no ip mroute-cache
async mode interactive
peer default ip address pool default
ppp authentication pap chap
group-range 1/00 2/59
!
ip local pool default 2.2.2.129 2.2.2.191 ip classless ip route 0.0.0.0 0.0.0.0 1.1.1.254 no ip http server !
voice-port 3/3:D
no comfort-noise
cptone RU
!
!
dial-peer cor custom
!
!
!
dial-peer voice 2 pots
Description modem pool
application data_dialpeer
incoming called-number 1115190
translate-outgoing calling 8123
forward-digits all
!
dial-peer voice 1115060 pots
Description Client 1
incoming called-number 1115060
destination-pattern T
translate-outgoing calling 8123
direct-inward-dial
port 3/3:D
forward-digits all
!
dial-peer voice 11150601 voip
description Connect to Client 1
destination-pattern 1115060
session target ipv4:111.111.255.142
codec g711alaw
fax-relay ecm disable
!
dial-peer voice 1115061 pots
incoming called-number 1115061
destination-pattern T
translate-outgoing calling 8123
direct-inward-dial
port 3/3:D
forward-digits all
!
dial-peer voice 11150611 voip
description Connect to Client2
destination-pattern 1115061
session target ipv4:111.111.255.142
codec g711alaw
fax-relay ecm disable
!
!
dial-peer voice 38 pots
description Connect to ATA  TEST !!!!!!!!!
incoming called-number 1115191
destination-pattern T
translate-outgoing calling 44
direct-inward-dial
port 3/3:D
forward-digits all
!
dial-peer voice 388 voip
description Connect to ATA  TEST !!!!!!!!!
destination-pattern 1115191
session target ipv4:111.148.111.212
codec g711alaw
!
!

Любой входящий с ip звонок обрабатывается в большенстве случеев не своим правилом, следствие - потеря звонка

Вот пример debug translation detail

Я звоню с номера 1115191 на номер 1115227

7w6d: xrule_checking
7w6d: xrule_checking calling 1115191, called 1115227
7w6d: xrule_checking peer_tag 388, direction 1, protocol 1
7w6d: h323_xrule
7w6d: h323_xrule
7w6d: xrule_checking Return rc = -4
7w6d: xrule_checking
7w6d: xrule_checking calling 1115191, called 1115227
7w6d: xrule_checking peer_tag 1115061, direction 2, protocol 1
                     ^^^^^^^^^^^^^^^^^^^^^^^ вот тут он и перескакивает на другой peer и следовательно идет другой транслейт
        
7w6d: xrule_translation
7w6d: xrule_translationcallingnumber 1115191, strlen 7
7w6d: xrule_translation callingnumber 1115191 xruleCallingTag=8123
7w6d: xrule_translation calling Callparms Numpertype 0x1,
                               match_type 0x0
7w6d: xrule_translation Xrule , index 0,Numpertype 0x9
7w6d: dpMatchString, target_number 1115191, match_number ^3
7w6d: dpMatchString match_tmp 3, match_len 1
7w6d: dpMatchString beginning_replace 1, match_tmp 3,target 1115191
7w6d: dpMatchString 0. target 1115191,match_tmp 3,match_len 1
7w6d: replace_string
7w6d: replace_string match ^3, replace 8123
7w6d: translation_format replace_rule ^3, strip_proceeding 0
7w6d: replace_string match_tmp ^3, strip_proceeding 0
7w6d: replace_string match_tmp 3
7w6d: replace_string direction 2, callparty  1
7w6d: replace_string direction 2, callparty 1, target 1115191
7w6d: replace_string match_tmp 3,replace 8123
7w6d: replace_string0.replace13,target805191,current805191,match_tmp
7w6d: replace_string0.1 compare_len 1,match_len 1
7w6d: replace_string 3. replace1 3, compare_len 1
7w6d: replace_string 4. replace1 8,compare_len 0,replace 123
7w6d: replace_string 4. replace1 81,compare_len -1,replace 23
7w6d: replace_string 4. replace1 812,compare_len -2,replace 3
7w6d: replace_string 4. replace1 8121,compare_len -3,replace
7w6d: replace_string 5. replace1 8121, compare_len -3,match_len 1
7w6d: replace_string 6. replace1 8121,compare_len -3,current 805191
7w6d: replace_string 7. replace1 81211
7w6d: replace_string 7. replace1 812111
7w6d: replace_string 7. replace1 8121115
7w6d: replace_string 7. replace1 81211151
7w6d: replace_string 7. replace1 812111519
7w6d: replace_string 7. replace1 8121115191
7w6d: replace_string buffer 8121115191
7w6d: xrule_translation index 0,xrule_number 8121115191, callparty 1
7w6d: xrule_translation Return rc = 0 any_match 0
7w6d: xrule_checking Return rc = 0
7w6d: ISDN Se3/3:15 Q931: TX -> SETUP pd = 8  callref = 0x01DA
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Calling Party Number i = 0x0180, '8121115191'
                Plan:ISDN, Type:Unknown
        Called Party Number i = 0x81, '1115227'
                Plan:ISDN, Type:Unknown
7w6d: ISDN Se3/3:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x81DA
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
7w6d: ISDN Se3/3:15 Q931: RX <- ALERTING pd = 8  callref = 0x81DA
        Progress Ind i = 0x8488 - In-band info or appropriate now available 5350_Teleport#

Возможно проблема в том, что я не правильно определяю входящий звонок с VOip на 5350.
Может проблема с IOS.


Дайте совет, что у меня не правильно!!!!!?????

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

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

1. "КУда попадает звонок в 5350" 
Сообщение от Simps Найти другие сообщения данного автораПоместить сообщение в закладки. См. нижнее поле навигации.(ok) on 31-Мрт-05, 13:35  (MSK)
>Здравствуйте.
>
>У меня возникла одна проблема, помогите пожалуйста.
>
>У меня стоит 5350, она работает на голос и на dial-up.
>У меня проблема с translate-outgoing.
>Есть прописанные dial-peer для клиентов они работают нормально, я отних получаю номер,
>добавляю 812 и отправляю на станцию, все работает. Дальше Я беру
>ATA186 , настраиваю dial-peer, другой транслэйт, и у меня, когда я
>запускаю debug translation detail вижу что входящий звонок 1234567 попадает не
>в свой dial-peer и следовательно обрабатывается не своим правилом.
>Почему так может происходить.
>Посмотрите пожалуйста конфиг и скажите, в чём у меня ошибка
>
>oice class codec 1
>codec preference 1 g729r8 bytes 40
>codec preference 2 g729br8 bytes 40
>
>Voice class codec 2
>codec preference 1 g729r8 bytes 40
>codec preference 2 g729br8 bytes 40
>codec preference 3 g723ar63 bytes 48
>codec preference 4 g723r63 bytes 48
>
>
>
>
>
>
>
>
>
>voice translation-rule 44
> rule 1 /^1/ /1111/
> rule 2 /^2/ /2222/
> rule 3 /^3/ /3333/
> rule 4 /^4/ /4444/
> rule 5 /^5/ /5555/
> rule 6 /^6/ /6666/
> rule 7 /^7/ /7777/
> rule 8 /^8/ /8888/
> rule 9 /^9/ /9999/
>!
>!
>!
>voice translation-profile add
>!
>!
>!
>fax interface-type fax-mail
>!
>!
>!
>controller E1 3/0
> shutdown
>!
>controller E1 3/1
> shutdown
>!
>controller E1 3/2
> pri-group timeslots 1-31
>!
>controller E1 3/3
>pri-group timeslots 1-31
>gw-accounting h323
>gw-accounting h323 vsa
>gw-accounting voip
>!
>translation-rule 8123
> Rule 0 ^3 8121
>!
>!
>translation-rule 55
> Rule 0 ^1 11115555
> Rule 1 ^2 11115555
> Rule 2 ^3 11115555
> Rule 3 ^4 11115555
> Rule 4 ^5 11115555
> Rule 5 ^6 11115555
> Rule 6 ^7 11115555
> Rule 7 ^8 11115555
> Rule 8 ^9 11115555
>!
>!
>!
>interface FastEthernet0/0
> ip address 1.1.1.1 255.255.255.252
> no ip redirects
> no ip unreachables
> no ip proxy-arp
> no ip mroute-cache
> duplex full
> speed 100
>!
>interface FastEthernet0/1
> no ip address
> shutdown
> duplex auto
> speed auto
>!
>interface Serial0/0
>no ip address
> shutdown
> clockrate 2000000
>!
>interface Serial0/1
> no ip address
> shutdown
> clockrate 2000000
>!
>interface Serial3/2:15
> no ip address
> isdn switch-type primary-net5
> isdn timer t321 40000
> isdn overlap-receiving
> isdn T310 4000
> no cdp enable
>!
>interface Serial3/3:15
> no ip address
> isdn switch-type primary-net5
> isdn timer t321 40000
> isdn overlap-receiving
> isdn incoming-voice modem
> isdn T310 4000
> no cdp enable
>!
>interface Group-Async0
> no ip address
> no group-range
>!
>interface Group-Async1
>ip unnumbered FastEthernet0/0
> encapsulation ppp
> no ip route-cache cef
> no ip route-cache
> no ip mroute-cache
> async mode interactive
> peer default ip address pool default
> ppp authentication pap chap
> group-range 1/00 2/59
>!
>ip local pool default 2.2.2.129 2.2.2.191 ip classless ip route 0.0.0.0 0.0.0.0
>1.1.1.254 no ip http server !
>voice-port 3/3:D
> no comfort-noise
> cptone RU
>!
>!
>dial-peer cor custom
>!
>!
>!
>dial-peer voice 2 pots
>Description modem pool
> application data_dialpeer
> incoming called-number 1115190
> translate-outgoing calling 8123
> forward-digits all
>!
>dial-peer voice 1115060 pots
>Description Client 1
> incoming called-number 1115060
> destination-pattern T
> translate-outgoing calling 8123
> direct-inward-dial
> port 3/3:D
> forward-digits all
>!
>dial-peer voice 11150601 voip
> description Connect to Client 1
> destination-pattern 1115060
> session target ipv4:111.111.255.142
> codec g711alaw
> fax-relay ecm disable
>!
>dial-peer voice 1115061 pots
> incoming called-number 1115061
> destination-pattern T
> translate-outgoing calling 8123
> direct-inward-dial
> port 3/3:D
> forward-digits all
>!
>dial-peer voice 11150611 voip
> description Connect to Client2
> destination-pattern 1115061
> session target ipv4:111.111.255.142
> codec g711alaw
>fax-relay ecm disable
>!
>!
>dial-peer voice 38 pots
> description Connect to ATA  TEST !!!!!!!!!
> incoming called-number 1115191
> destination-pattern T
> translate-outgoing calling 44
> direct-inward-dial
> port 3/3:D
> forward-digits all
>!
>dial-peer voice 388 voip
> description Connect to ATA  TEST !!!!!!!!!
> destination-pattern 1115191
> session target ipv4:111.148.111.212
> codec g711alaw
>!
>!
>
>Любой входящий с ip звонок обрабатывается в большенстве случеев не своим правилом,
>следствие - потеря звонка
>
>Вот пример debug translation detail
>
>Я звоню с номера 1115191 на номер 1115227
>
>7w6d: xrule_checking
>7w6d: xrule_checking calling 1115191, called 1115227
>7w6d: xrule_checking peer_tag 388, direction 1, protocol 1
>7w6d: h323_xrule
>7w6d: h323_xrule
>7w6d: xrule_checking Return rc = -4
>7w6d: xrule_checking
>7w6d: xrule_checking calling 1115191, called 1115227
>7w6d: xrule_checking peer_tag 1115061, direction 2, protocol 1
>            
>         ^^^^^^^^^^^^^^^^^^^^^^^ вот
>тут он и перескакивает на другой peer и следовательно идет другой
>транслейт
>
>7w6d: xrule_translation
>7w6d: xrule_translationcallingnumber 1115191, strlen 7
>7w6d: xrule_translation callingnumber 1115191 xruleCallingTag=8123
>7w6d: xrule_translation calling Callparms Numpertype 0x1,
>            
>          
>        match_type 0x0
>7w6d: xrule_translation Xrule , index 0,Numpertype 0x9
>7w6d: dpMatchString, target_number 1115191, match_number ^3
>7w6d: dpMatchString match_tmp 3, match_len 1
>7w6d: dpMatchString beginning_replace 1, match_tmp 3,target 1115191
>7w6d: dpMatchString 0. target 1115191,match_tmp 3,match_len 1
>7w6d: replace_string
>7w6d: replace_string match ^3, replace 8123
>7w6d: translation_format replace_rule ^3, strip_proceeding 0
>7w6d: replace_string match_tmp ^3, strip_proceeding 0
>7w6d: replace_string match_tmp 3
>7w6d: replace_string direction 2, callparty  1
>7w6d: replace_string direction 2, callparty 1, target 1115191
>7w6d: replace_string match_tmp 3,replace 8123
>7w6d: replace_string0.replace13,target805191,current805191,match_tmp
>7w6d: replace_string0.1 compare_len 1,match_len 1
>7w6d: replace_string 3. replace1 3, compare_len 1
>7w6d: replace_string 4. replace1 8,compare_len 0,replace 123
>7w6d: replace_string 4. replace1 81,compare_len -1,replace 23
>7w6d: replace_string 4. replace1 812,compare_len -2,replace 3
>7w6d: replace_string 4. replace1 8121,compare_len -3,replace
>7w6d: replace_string 5. replace1 8121, compare_len -3,match_len 1
>7w6d: replace_string 6. replace1 8121,compare_len -3,current 805191
>7w6d: replace_string 7. replace1 81211
>7w6d: replace_string 7. replace1 812111
>7w6d: replace_string 7. replace1 8121115
>7w6d: replace_string 7. replace1 81211151
>7w6d: replace_string 7. replace1 812111519
>7w6d: replace_string 7. replace1 8121115191
>7w6d: replace_string buffer 8121115191
>7w6d: xrule_translation index 0,xrule_number 8121115191, callparty 1
>7w6d: xrule_translation Return rc = 0 any_match 0
>7w6d: xrule_checking Return rc = 0
>7w6d: ISDN Se3/3:15 Q931: TX -> SETUP pd = 8  callref = 0x01DA
>        Bearer Capability i =
>0x8090A3
>            
>    Standard = CCITT
>            
>    Transer Capability = Speech
>            
>    Transfer Mode = Circuit
>            
>    Transfer Rate = 64 kbit/s
>        Channel ID i =
>0xA9839F
>            
>    Exclusive, Channel 31
>        Calling Party Number i
>= 0x0180, '8121115191'
>            
>    Plan:ISDN, Type:Unknown
>        Called Party Number i
>= 0x81, '1115227'
>            
>    Plan:ISDN, Type:Unknown
>7w6d: ISDN Se3/3:15 Q931: RX <- CALL_PROC pd = 8  callref
>= 0x81DA
>        Channel ID i =
>0xA9839F
>            
>    Exclusive, Channel 31
>7w6d: ISDN Se3/3:15 Q931: RX <- ALERTING pd = 8  callref
>= 0x81DA
>        Progress Ind i =
>0x8488 - In-band info or appropriate now available 5350_Teleport#
>
>
>
>Возможно проблема в том, что я не правильно определяю входящий звонок с
>VOip на 5350.
>Может проблема с IOS.
>
>
>Дайте совет, что у меня не правильно!!!!!?????

Вот этот диалпир ловит все
!
dial-peer voice 1115061 pots
incoming called-number 1115061
destination-pattern T
^^^^^^^^^^^^^^^^^^^^^^
translate-outgoing calling 8123
direct-inward-dial
port 3/3:D
forward-digits all
!
Дальше него не идет

Играйте prefence и huntstop'ами

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "КУда попадает звонок в 5350" 
Сообщение от dimax Найти другие сообщения данного автораПоместить сообщение в закладки. См. нижнее поле навигации.(??) on 01-Апр-05, 14:38  (MSK)
>Вот этот диалпир ловит все
>!
>dial-peer voice 1115061 pots
> incoming called-number 1115061
> destination-pattern T
> ^^^^^^^^^^^^^^^^^^^^^^

Как я понимаю, эта запись говорит о том, что destination звонок(ghbitlibq c IP сети) может быть любым, а мне надо изменить source звонок, согласно правилу.(может я и неправ)

> translate-outgoing calling 8123
> direct-inward-dial
> port 3/3:D
> forward-digits all
>!
>Дальше него не идет
>
>Играйте prefence и huntstop'ами


huntstop  не помогают.
prefence непонятно как использовать.
Киньте пожалуйста кусок конфига или пример как это делать, можно по почте dimax33@mail.ru

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


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

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




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

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