Добрый день!
Есть проблема в прерывании соединения в случае Busy.
Т.е. если звонок ушел по E1 и там занято, то я получаю DISCONNECT и в progress'е на asterisk'е слушаю сигнал busy.
Вот debug isdn q931 с cisco:
.Aug 21 09:35:43: ISDN Se1/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x0 0x1, Calling num XXXXXXX
.Aug 21 09:35:43: ISDN Se1/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x0 0x1, Called num XXXXXXX
.Aug 21 09:35:43: ISDN Se1/0:15 Q931: TX -> SETUP pd = 8 callref = 0x019C
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x0180, 'XXXXXXX'
Plan:ISDN, Type:Unknown
Called Party Number i = 0x81, 'XXXXXXX'
Plan:ISDN, Type:Unknown
.Aug 21 09:35:43: ISDN Se1/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x819C
Channel ID i = 0xA98381
Exclusive, Channel 1
.Aug 21 09:35:43: ISDN Se1/0:15 Q931: RX <- PROGRESS pd = 8 callref = 0x819C
Progress Ind i = 0x8A81 - Call not end-to-end ISDN, may have in-band info
.Aug 21 09:35:45: ISDN Se1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x819C
Cause i = 0x8291 - User busy
Progress Ind i = 0x8288 - In-band info or appropriate now available
.Aug 21 09:35:45: ISDN Se1/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x819C
Канал E1 освобождается, но asterisk не получает никакой информации об этом...
В результате диалстатус 'NO ANSWER', а не 'BUSY'.
Вот выдержка из конфигурации cisco (к нам идет 15 каналов, 1/2 E1)
!
controller E1 1/0
pri-group timeslots 1-16
!
interface Serial1/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
isdn send-alerting
isdn disconnect-cause busy
isdn bchan-number-order ascending
isdn sending-complete
no cdp enable
!
voice-port 1/0:15
no vad
no comfort-noise
cptone RU
!
dial-peer voice 100 pots
application session
destination-pattern .T
progress_ind setup enable 3
progress_ind progress enable 8
direct-inward-dial
port 1/0:15
forward-digits all
!
Если что напутал -- сильно не пинать, это моя первая голосовая cisco. ;)
Версия ISO'а
Cisco IOS Software, C1700 Software (C1700-IPVOICE-M), Version 12.3(4)XQ1, RELEASE SOFTWARE (fc1)
Cisco 1751-V (MPC860P) processor (revision 0x200) with 83559K/14745K bytes of memory.