Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / E1 -> Cisco 1751-V -> SIP -> asterisk & busy

E1 -> Cisco 1751-V -> SIP -> asterisk & busy

1 2>
Сообщений: 1530

E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Добрый день!

Есть проблема в прерывании соединения в случае 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.
http://www.telecomtechnology.net - premium терминация
2006-08-21 13:47

Откуда: Санкт-Петербург
Сообщений: 541

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

попробуй "Configure the Cisco IOS Software voice call convert-discpi-to-prog global configuration command ..."
http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a0080111b58.shtml
2006-08-21 14:07

Сообщений: 1530

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Ни
voice call convert-discpi-to-prog always
ни
voice call convert-discpi-to-prog
не помогают. Как шел busy, так и идет. asterisk ничего об этом не знает...

Это случаем не: 'Progress Ind i = 0x8288 - In-band info or appropriate now available' ?
http://www.telecomtechnology.net - premium терминация
2006-08-21 14:57

Откуда: Санкт-Петербург
Сообщений: 541

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Все равно оставь.
и поиграйся с progress_ind
+ добавить progress_ind alert
2006-08-21 15:50

Сообщений: 1530

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

progress_ind alert нет. ;(
Есть только это:


connect Set Progress Indicator for CONNECT
disconnect Set Progress Indicator for DISCONNECT. For use on ISDN calls, where disconnect tone is needed,
before alert/progress/connect is received.
progress Set Progress Indicator for PROGRESS
setup Set Progress Indicator for SETUP


Добавил progress_ind disconnect enable 8 (есть только disable), но ничего не изменилось...



.Aug 21 14:21:52: ISDN Se1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x8200
Cause i = 0x8291 - User busy
Progress Ind i = 0x8288 - In-band info or appropriate now available
.Aug 21 14:21:52: ISDN Se1/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x8200

http://www.telecomtechnology.net - premium терминация
2006-08-21 18:25

Откуда: Санкт-Петербург
Сообщений: 541

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

И IOS что-то не нравится.
http://online.comptek.ru/index.xhtml?id_note_forum=105206&by_count_days=365&regim=2&cur_page=1&by_count_page=20
2006-08-22 10:32

Сообщений: 1530

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Поменял на IOS:
Cisco IOS Software, C1700 Software (C1700-IPVOICEK9-M), Version 12.4(10), RELEASE SOFTWARE (fc1)
(c1700-ipvoicek9-mz.124-10.bin)

Мудрил с конфигурацией...
Сейчас busy на asterisk приходит, но через приблизительно 30 секунд.
До этого я слушаю busy от cisco.
Причем ISDN дисконнектит канал и он уже не занят (хоть это хорошо ;)).

Как заставить cisco посылать busy СРАЗУ после получения busy (DISCONNECT) из ISDN?



*Aug 28 20:37:58: ISDN Se1/0:15 Q931: TX -> SETUP pd = 8 callref = 0x0207
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer 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 28 20:37:58: ISDN Se1/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x8207
Channel ID i = 0xA98381
Exclusive, Channel 1
*Aug 28 20:37:58: ISDN Se1/0:15 Q931: RX <- PROGRESS pd = 8 callref = 0x8207
Progress Ind i = 0x8A81 - Call not end-to-end ISDN, may have in-band info
*Aug 28 20:38:00: ISDN Se1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x8207
Cause i = 0x8291 - User busy
Progress Ind i = 0x8288 - In-band info or appropriate now available
*Aug 28 20:38:00: ISDN Se1/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x8188
*Aug 28 20:38:30: ISDN Se1/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x8207
Cause i = 0x8291 - User busy
*Aug 28 20:38:30: ISDN Se1/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x0207


asterisk получае busy только после того, как в debug'е появляется второе сообщение "Cause i = 0x8291 - User busy".
Как поменять этот таймер с 30 секунд до 1 или 0?!!
http://www.telecomtechnology.net - premium терминация
2006-09-02 12:39

Откуда: Санкт-Петербург
Сообщений: 541

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

voice call disc-pi-off ?
и покажи текущие voice call, int s X:15, dial-peers
2006-09-04 11:42

Сообщений: 1530

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Yes! voice call disc-pi-off помогло! ;)
Странно, почему нигде в примерах этого нет?

Спасибо!
http://www.telecomtechnology.net - premium терминация
2006-09-04 15:47

Сообщений: 1530

Re: E1 -> Cisco 1751-V -> SIP -> asterisk & busy

Бр... А почему всего 12 канаолов?.. 2/0 и 2/1 -- это FXS порты.
Пока у меня не получилось их поднять, но это не столь важно...
Не может быть, что иногда я получаю busy из-за того, что портов не хватает?!!
С E1 у меня идет 15 каналов...



voipe1#sh voice call

2/0 is shutdown
2/1 is shutdown
1/0:15 1 - - -
1/0:15 2 - - -
1/0:15 3 - - -
1/0:15 4 - - -
1/0:15 5 - - -
1/0:15 6 - - -
1/0:15 7 - - -
1/0:15 8 - - -
1/0:15 9 - - -
1/0:15 10 - - -
1/0:15 11 - - -
1/0:15 12 - - -
http://www.telecomtechnology.net - premium терминация
2006-09-04 15:58

1 2>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru