>[оверквотинг удален]
> rule 1 /^\(*\)$/ /\1/ type any unknown
> voice translation-profile panas
> translate calling 10
> translate called 10
> В пирах incoming и outgoing означает направление вызова отностительно пира. Пир может
> быть входящим и исходящим в зависимости от значения permission и того
> как он настроен матчить номер. В вашем случае речь идет о
> исходящем вызове.
> Касательно Q.SIG - IOS без участия внешнего call agent'а (например UCM) по
> H.323 стыкам Q.SIG гонять не умеет.спасибо за ответ!
указанную Вами комбинацию rule 1 /^\(*\)$/ /\1/ type any unknown не съела циска, ругается на синтаксис. На сколько я понял, ей не понравилась "*". Сделал немного по другому:
rule 1 // // type any unknown
после этого запустил debug isdn q931 и сделал звонок с 1201 на 6100:
Oct 29 06:55:34.221: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0026
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98383
Exclusive, Channel 3
Calling Party Number i = 0x4180, '1201'
Plan:ISDN, Type:Subscriber(local)
Called Party Number i = 0x81, '6100'
Plan:ISDN, Type:Unknown
Oct 29 06:55:34.225: ISDN Se0/0/0:15 Q931: Received SETUP callref = 0x8026 callID = 0x5B43 switch = primary-net5 interface = User
Oct 29 06:55:34.265: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8026
Channel ID i = 0xA98383
Exclusive, Channel 3
Oct 29 06:55:34.625: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8 callref = 0x8026
Progress Ind i = 0x8188 - In-band info or appropriate now available
Oct 29 06:55:34.853: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0xD97D
Cause i = 0x8090 - Normal call clearing
Oct 29 06:55:34.857: %ISDN-6-DISCONNECT: Interface Serial0/0/0:14 disconnected from 1673 , call lasted 33 seconds
Oct 29 06:55:34.857: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x597D
Oct 29 06:55:34.877: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0xD97D
Oct 29 06:55:34.949: %ISDN-6-DISCONNECT: Interface Serial0/0/0:1 disconnected from 8123749797 , call lasted 72 seconds
c2821_shkiperskiy#
Oct 29 06:55:34.949: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x8024
Cause i = 0x8090 - Normal call clearing
Oct 29 06:55:35.257: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x0024
Oct 29 06:55:35.261: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8024
c2821_shkiperskiy#term no mon
Oct 29 06:55:40.957: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x8026
Oct 29 06:55:40.973: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x0026
c2821_shkiperskiy#term no mon
Oct 29 06:55:40.973: %ISDN-6-CONNECT: Interface Serial0/0/0:2 is now connected to 1201 N/A
Oct 29 06:55:40.977: %ISDN-6-CONNECT: Interface Serial0/0/0:2 is now connected to 1201 N/A
c2821_shkiperskiy#term no mon
Oct 29 06:55:46.065: ISDN **ERROR**: isdnAsn1Inv: error: unknown operation 12
Oct 29 06:55:46.065: ISDN **ERROR**: isdnAsn1Component: generated error 4:ASN1_MESSAGE_ERR_UNKNOWN_OP
Oct 29 06:55:46.065: ISDN **ERROR**: isdnAsn1Component: ERROR
Oct 29 06:55:46.065: ISDN **ERROR**: isdn_decode_facility_ie: isdnAsn1DecComponent failed
c2821_shkiperskiy#term no mon
Oct 29 06:55:49.657: ISDN Se0/0/0:15 Q931: TX -> FACILITY pd = 8 callref = 0x8026
Oct 29 06:55:49.761: %ENVMON-4-FAN_LOW_RPM: Fan 1 service recommended
Oct 29 06:55:49.761: %ENVMON-4-FAN_LOW_RPM: Fan 2 service recommended
Oct 29 06:55:50.157: %ISDN-6-DISCONNECT: Interface Serial0/0/0:2 disconnected from 1201 , call lasted 9 seconds
c2821_shkiperskiy#term no mon
Oct 29 06:55:50.161: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x8026
Cause i = 0x8090 - Normal call clearing
Oct 29 06:55:50.273: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x0026
Oct 29 06:55:50.277: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8026
c2821_shkiperskiy#term no mon
c2821_shkiperskiy#
Oct 29 06:55:51.917: ISDN **ERROR**: isdnAsn1Component: error: unknown type 10
Oct 29 06:55:51.917: ISDN **ERROR**: isdn_decode_facility_ie: isdnAsn1DecComponent failed
правильно ли я понимаю, что translation rule отработал, потому что:
Calling Party Number i = 0x4180, '1201'
Plan:ISDN, Type:Subscriber(local) БЫЛО
Called Party Number i = 0x81, '6100'
Plan:ISDN, Type:Unknown ПОСЛЕ ПРЕОБРАЗОВАНИЯ