Trunk E1 между Cisco и Avaya PBX

Модератор: Administrator

Ответить
P1NGU1N
Участник форума
Сообщения: 25
Зарегистрирован: Ср 29 авг 2007, 09:44

Trunk E1 между Cisco и Avaya PBX

Сообщение P1NGU1N »

Ситуация тривиальная. Создаю Е1 транк между Маршрутизатором и Avaya Definity 8720.
Всё хорошо, поток поднялся, алертов нет, сигнальные q921-пакеты бегают. Но звонки с Циски на Аваю не идут, по ошибке 47 (ISDN). Обратно никаких проблем нет, звонок с АТС проходит в сторону Циски на ура.

==Заметил странную особенность, если один за другим раз 10 подряд без таймаута пытаться связаться с номером АТС с помощью csim start 50**** то пару раз звонок проходил. В остальных случаях тишина.

Представляю вниманию конфиг.

card type e1 0 0
network-clock-participate wic 0
network-clock-select 1 E1 0/0/1
isdn switch-type primary-net5
voice-card 0
no dspfarm
controller E1 0/0/1
pri-group timeslots 1-31

interface Serial0/0/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable

dial-peer voice 1 pots
description Avaya ATS (Moscow)
destination-pattern 50
direct-inward-dial
port 0/0/1:15
forward-digits 4

Далее совершаю звонок с помощью csim start 504832
чтобы протестрировать транк - и получаю ничего.
В логах Аваи на транке - какие-то символы, никаких номеров Циска не передаёт.


Лог с Циски:
ccr-corp(config-dial-peer)#do csim start 504832
007795: Nov 20 20:57:11.576 MSK: ISDN Se0/0/1:15 Q921: Net TX -> RRp sapi=0 tei=0 nr=47
007796: Nov 20 20:57:11.576 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RRp sapi=0 tei=0 nr=63
007797: Nov 20 20:57:11.576 MSK: ISDN Se0/0/1:15 Q921: Net TX -> RRf sapi=0 tei=0 nr=47
007798: Nov 20 20:57:11.580 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RRf sapi=0 tei=0 nr=63
csim err:csim_do_test invalid major major(16) minor(0)
ccr-corp(config-dial-peer)#
007799: Nov 20 20:57:15.560 MSK: csim: called number = 504832, loop count = 1 ping count = 0

007800: Nov 20 20:57:15.560 MSK: csimSetupPeer peer type(1), destPat(504832), matched(2), target()
007801: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=FALSE, Mode=0,
Outgoing Dial-peer=1, Params=0x4653E178, Progress Indication=NULL(0)
007802: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:
In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
007803: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:
Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
007804: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:
Destination Pattern=50, Called Number=504832, Digit Strip=TRUE
007805: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:
Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=504832(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=
Account Number=, Final Destination Flag=FALSE,
Guid=1E2E32E6-B65B-11DD-8121-9E67634B0FF3, Outgoing Dial-peer=1
007806: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=504832
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

007807: Nov 20 20:57:15.560 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x489C9588, Interface Type=6, Destination=, Mode=0x0,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=504832(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=1, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
007808: Nov 20 20:57:15.564 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

007809: Nov 20 20:57:15.564 MSK: :cc_get_feature_vsa malloc success
007810: Nov 20 20:57:15.564 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

007811: Nov 20 20:57:15.564 MSK: cc_get_feature_vsa count is 1
007812: Nov 20 20:57:15.564 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

007813: Nov 20 20:57:15.564 MSK: :FEATURE_VSA attributes are: feature_name:0,feature_time:1212917104,feature_id:99
007814: Nov 20 20:57:15.564 MSK: //99/1E2E32E68121/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1
007815: Nov 20 20:57:15.564 MSK: //99/1E2E32E68121/CCAPI/ccCallSetContext:
Context=0x48FCD238
007816: Nov 20 20:57:15.564 MSK: ISDN Se0/0/1:15 EVENTd: isdn_get_guid: Got Guid 1E2E32E68121
007817: Nov 20 20:57:15.564 MSK: ISDN Se0/0/1:15 EVENT: process_pri_call: call id 0x8009, number 4832, Guid 1E2E32E68121, speed 0, call type VOICE, redial No, CSM call No, pdata YesReceived pdata len 0x3B data:1C 39 9E 1 0 3 67 74 64 0 0 0 2E 49 41 4D 2C D A 47 43 49 2C 31 65 32 65 33 32 65 36 62 36 35 62 31 31 64 64 38 31 32 31 39 65 36 37 36 33 34 62 30 66 66 33 D A D A
007818: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: process_pri_call: No name in GTD
007819: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: fill_cid_table_voice: Don't know calling number for redial.
007820: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: fill_cid_table_voice: Created entry call_id 0x8009, speed 64, remote 4832, calling
007821: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: pak_private_number: Calling Number IE is being stripped
007822: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: pak_public_number: Calling Number IE is being stripped
007823: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: Packet to CC Data
007824: Nov 20 20:57:15.568 MSK: 4D00018009140404800010A318040003
007825: Nov 20 20:57:15.568 MSK: 00FF7006000034383332040308001018
007826: Nov 20 20:57:15.568 MSK: 03000300
007827: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: calltrkr_setup_received: isdn_info=1220912904l, call_id=0x8009 ORIGINATE
007828: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 EVENTd: calltrkr_setup_received: calltracker disabled
007829: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 Q921: Net TX -> INFO sapi=0 tei=0, ns=63 nr=47
007830: Nov 20 20:57:15.568 MSK: ISDN Se0/0/1:15 Q931: SETUP pd = 8 callref = 0x00D0
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Called Party Number i = 0x80, '4832'
Plan:Unknown, Type:Unknown
007831: Nov 20 20:57:15.568 MSK: csim: loop = 1, failed = 0
007832: Nov 20 20:57:15.568 MSK: csim: call attempted = 1, setup failed = 0, tone failed = 0

007833: Nov 20 20:57:15.568 MSK: //99/1E2E32E68121/CCAPI/cc_set_release_source:
Release Source=Internal Release-Call Control App
007834: Nov 20 20:57:15.568 MSK: //99/1E2E32E68121/CCAPI/ccCallDisconnect:
Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
007835: Nov 20 20:57:15.568 MSK: //-1//VAAA:0/voip_start_ccapi_rotary_accounting: WARNING: gw-accounting aaa not enabled. return.
007836: Nov 20 20:57:15.568 MSK: //99/1E2E32E68121/CCAPI/ccCallDisconnect:
Cause Value=47, Call Entry(Responsed=FALSE, Cause Value=47)
007837: Nov 20 20:57:15.568 MSK: //99/1E2E32E68121/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
007838: Nov 20 20:57:15.572 MSK: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:
ccAppShutdownMode: remove it from the queue
007839: Nov 20 20:57:15.572 MSK: //99/1E2E32E68121/VAAA:0/voip_start_ccapi_accounting: WARNING: gw-accounting aaa not enabled. return.
007840: Nov 20 20:57:15.572 MSK: //99/1E2E32E68121/VAAA:0/voip_stop_ccapi_accounting: (99): UID=0
007841: Nov 20 20:57:15.572 MSK: //99/1E2E32E68121/VAAA:0/voip_stop_ccapi_accounting: UID=0
007842: Nov 20 20:57:15.572 MSK: //99/1E2E32E68121/VAAA:0/voip_stop_ccapi_accounting: (99): WARNING: accounting start not sent
007843: Nov 20 20:57:15.572 MSK: ISDN Se0/0/1:15 EVENTd: process_disconnect: call id 0x8009, call type is VOICE, b_idb 0x483A3FA8, ces 1, cause Resource unavailable, unspecified(0x2F)
007844: Nov 20 20:57:15.572 MSK: ISDN Se0/0/1:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x48C5A708, call_id=0x8009
007845: Nov 20 20:57:15.572 MSK: ISDN Se0/0/1:15 EVENTd: process_disconnect: Raw Release Message
007846: Nov 20 20:57:15.572 MSK: 4B00018009040802FFAF080380AF81
007847: Nov 20 20:57:15.572 MSK: ISDN Se0/0/1:15 Q921: Net TX -> INFO sapi=0 tei=0, ns=64 nr=47
007848: Nov 20 20:57:15.572 MSK: ISDN Se0/0/1:15 Q931: DISCONNECT pd = 8 callref = 0x00D0
Cause i = 0x82AF - Resource unavailable, unspecified
007849: Nov 20 20:57:15.576 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RR sapi=0 tei=0 nr=64
007850: Nov 20 20:57:15.580 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RR sapi=0 tei=0 nr=65
007851: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q921: Net RX <- INFO sapi=0 tei=0, ns=47 nr=65
007852: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q931: CALL_PROC pd = 8 callref = 0x80D0
Channel ID i = 0xA98381
Exclusive, Channel 1
007853: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q921: Net TX -> RR sapi=0 tei=0 nr=48
007854: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 **ERROR**: Ux_BadMsg: Invalid Message for call state 11, call id 0x8009, call ref 0xD0, event 0x2
007855: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q921: Net RX <- INFO sapi=0 tei=0, ns=48 nr=65
007856: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q931: RELEASE pd = 8 callref = 0x80D0
007857: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q921: Net TX -> INFO sapi=0 tei=0, ns=65 nr=48
007858: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q931: STATUS pd = 8 callref = 0x00D0
Cause i = 0x80E202 - Message not compatible with call state or not implemented
Call State i = 0x0C
007859: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 Q921: Net TX -> RR sapi=0 tei=0 nr=49
007860: Nov 20 20:57:15.596 MSK: ISDN EVENTd: cc_clear_free_list freeing 0x48C166BC
007861: Nov 20 20:57:15.596 MSK: ISDN Se0/0/1:15 EVENT: process_rxstate: ces/callid 1/0x8009 calltype 2 CALL_CLEARED
007862: Nov 20 20:57:15.600 MSK: ISDN Se0/0/1:15 EVENTd: calltrkr_call_cleared: isdn_info=0x48C5A708, call_id=0x8009
007863: Nov 20 20:57:15.600 MSK: ISDN Se0/0/1:15 Q921: Net TX -> INFO sapi=0 tei=0, ns=66 nr=49
007864: Nov 20 20:57:15.600 MSK: ISDN Se0/0/1:15 Q931: RELEASE_COMP pd = 8 callref = 0x00D0
007865: Nov 20 20:57:15.600 MSK: //99/1E2E32E68121/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x489C9588, Tag=0x0, Call Id=99,
Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)
007866: Nov 20 20:57:15.600 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

007867: Nov 20 20:57:15.600 MSK: :cc_free_feature_vsa freeing 484BA568
007868: Nov 20 20:57:15.600 MSK: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

007869: Nov 20 20:57:15.600 MSK: vsacount in free is 0
007870: Nov 20 20:57:15.604 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RR sapi=0 tei=0 nr=66
007871: Nov 20 20:57:15.604 MSK: ISDN Se0/0/1:15 Q921: Net RX <- RR sapi=0 tei=0 nr=67


Помогите, нет квалификации с CVOICE.



настройки Avaya 8720
list trace tac 005 Page 1

LIST TRACE

time data


12:03:29 Calling party trunk-group 5 member 1 cid 0x49c
12:03:29 Calling Number & Name NO-CPNumber NO-CPName
12:03:29 active trunk-group 5 member 1 cid 0x49c
12:03:29 idle trunk-group 5 member 1 cid 0x49c

________________________________________________________________________
change signaling-group 5 Page 1 of 5
SIGNALING GROUP

Group Number: 5 Group Type: isdn-pri
Associated Signaling? y Max number of NCA TSC: 32
Primary D-Channel: 01A0516 Max number of CA TSC: 32
Trunk Group for NCA TSC:
Trunk Group for Channel Selection: 5
TSC Supplementary Service Protocol: a

_______________________________________________________________________
change trunk-group 5 Page 1 of 21
TRUNK GROUP

Group Number: 5 Group Type: isdn CDR Reports: y
Group Name: E1 Zavody 01a05 COR: 1 TN: 1 TAC: 005
Direction: two-way Outgoing Display? n Carrier Medium: PRI/BRI
Dial Access? y Busy Threshold: 99 Night Service:
Queue Length: 0
Service Type: tie Auth Code? n TestCall ITC: rest
Far End Test Line No:
TestCall BCC: 4

________________________________________________________________________
change trunk-group 5 Page 2 of 21
Group Type: isdn

TRUNK PARAMETERS
Codeset to Send Display: 6 Codeset to Send National IEs: 6
Max Message Size to Send: 260 Charge Advice: none
Supplementary Service Protocol: c Digit Handling (in/out): enbloc/enbloc

Trunk Hunt: cyclical
Digital Loss Group: 13
Incoming Calling Number - Delete: Insert: Format:
Bit Rate: 19200 Synchronization: async Duplex: full
Disconnect Supervision - In? y Out? y
Answer Supervision Timeout: 0
Administer Timers? N

________________________________________________________________________
change trunk-group 5 Page 3 of 21
TRUNK FEATURES
ACA Assignment? n Measured: none Wideband Support? n
Internal Alert? n Maintenance Tests? y
Data Restriction? n NCA-TSC Trunk Member:
Send Name: y Send Calling Number: y
Used for DCS? n Send EMU Visitor CPN? y
Suppress # Outpulsing? n Format: public
Outgoing Channel ID Encoding: preferred UUI IE Treatment: service-provider

Replace Restricted Numbers? n
Replace Unavailable Numbers? n
Send Connected Number: y
Hold/Unhold Notifications? n
Send UUI IE? n Modify Tandem Calling Number? n
Send UCID? n
Send Codeset 6/7 LAI IE? n Ds1 Echo Cancellation? n

Apply Local Ringback? n
Show ANSWERED BY on Display? y
Network (Japan) Needs Connect Before Disconnect? N

________________________________________________________________________
change trunk-group 5 Page 4 of 21
QSIG TRUNK GROUP OPTIONS


SBS? N

________________________________________________________________________
change trunk-group 5 Page 5 of 21
TRUNK GROUP
Administered Members (min/max): 1/2
GROUP MEMBER ASSIGNMENTS Total Administered Members: 2

Port Code Sfx Name Night Sig Grp
1: 01A0501 TN2464 B 5
2: 01A0502 TN2464 B 5


change ds1 01a05 Page 1 of 1
DS1 CIRCUIT PACK

Location: 01A05 Name: E1 Zavidy 01a05
Bit Rate: 2.048 Line Coding: hdb3

Signaling Mode: isdn-pri
Connect: pbx Interface: user
TN-C7 Long Timers? n Country Protocol: etsi
Interworking Message: PROGress Protocol Version: a
Interface Companding: alaw CRC? y
Idle Code: 01010100
DCP/Analog Bearer Capability: 3.1kHz

T303 Timer(sec): 4


Slip Detection? y Near-end CSU Type: other

Echo Cancellation? n
Zaharov Alex
Участник форума
Сообщения: 46
Зарегистрирован: Ср 08 ноя 2006, 15:28
Откуда: Tomsk

Сообщение Zaharov Alex »

А на Avaya стоит Ext с шестизначным номером? или дальше транзит?
P1NGU1N
Участник форума
Сообщения: 25
Зарегистрирован: Ср 29 авг 2007, 09:44

Сообщение P1NGU1N »

Zaharov Alex писал(а):А на Avaya стоит Ext с шестизначным номером? или дальше транзит?
С 4 значным номером.
Иногда после 10-20 попыток звонки проскакивают и сразу срываются.

list trace tac 005 Page 1

LIST TRACE

time data

12:03:21 Calling party trunk-group 5 member 1 cid 0x49b
12:03:21 Calling Number & Name NO-CPNumber NO-CPName
12:03:21 active trunk-group 5 member 1 cid 0x49b
12:03:21 dial 4832
12:03:21 ring station 4832 cid 0x49b
12:03:21 idle trunk-group 5 member 1 cid 0x49b
12:03:29 Calling party trunk-group 5 member 1 cid 0x49c
12:03:29 Calling Number & Name NO-CPNumber NO-CPName
12:03:29 active trunk-group 5 member 1 cid 0x49c
12:03:29 idle trunk-group 5 member 1 cid 0x49c
Ответить