Всем добрый день!
Имеется сервер с FreePBX 2.9.0.7, подключен к АТС через потоковую плату 2E1 dahdi
span = 1,1,0,ccs,hdb3
span = 2,2,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62
При исходящих звонках периодически (относительно общего количества звонков довольно редко)идет недозвон (от 1 до 3-4 звонков подряд) с сообщением all-circuits-busy-now. Потом после пары попыток получается дозвониться. При этом в потоке свободных линий полно(как в связке FreePBX-АТС, так и АТС-оператор).
Лог одного из таких звонков:
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:1] Macro("SIP/123456-00006c39", "user-callerid,LIMIT,") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/123456-00006c39", "AMPUSER=123456") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/123456-00006c39", "0?report") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/123456-00006c39", "1?Set(REALCALLERIDNUM=123456)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/123456-00006c39", "AMPUSER=123456") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/123456-00006c39", "AMPUSERCIDNAME=linename(Line8)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/123456-00006c39", "0?report") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/123456-00006c39", "AMPUSERCID=123456") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/123456-00006c39", "CALLERID(all)="linename(Line8)" <123456>") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:9] GotoIf("SIP/123456-00006c39", "0?limit") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:10] ExecIf("SIP/123456-00006c39", "1?Set(GROUP(concurrency_limit)=123456)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:11] GosubIf("SIP/123456-00006c39", "7?sub-ccss,s,1(from-internal,81234567891)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("SIP/123456-00006c39", "0?Return()") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@sub-ccss:2] Set("SIP/123456-00006c39", "CCSS_SETUP=TRUE") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("SIP/123456-00006c39", "0?monitor_config,1(from-internal,81234567891):monitor_default,1(from-internal,81234567891)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/123456-00006c39", "0?is_exten") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/123456-00006c39", "") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("SIP/123456-00006c39", "FALSE") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:12] ExecIf("SIP/123456-00006c39", "1?Set(CHANNEL(language)=<bad value>)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:13] GotoIf("SIP/123456-00006c39", "1?continue") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-user-callerid,s,26)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:26] Set("SIP/123456-00006c39", "CALLERID(number)=123456") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:27] Set("SIP/123456-00006c39", "CALLERID(name)=linename(Line8)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-user-callerid:28] Set("SIP/123456-00006c39", "CHANNEL(language)=<bad value>") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:2] Set("SIP/123456-00006c39", "MOHCLASS=default") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:3] Set("SIP/123456-00006c39", "_NODEST=") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:4] Macro("SIP/123456-00006c39", "record-enable,123456,OUT,") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/123456-00006c39", "1?check") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-record-enable,s,4)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/123456-00006c39", "0?MacroExit()") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/123456-00006c39", "0?Group:OUT") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-record-enable,s,14)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-record-enable:14] GotoIf("SIP/123456-00006c39", "0?IN") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-record-enable:15] ExecIf("SIP/123456-00006c39", "1?MacroExit()") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:5] Macro("SIP/123456-00006c39", "dialout-trunk,2,81234567891,") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/123456-00006c39", "DIAL_TRUNK=2") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123456-00006c39", "0?sub-pincheck,s,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123456-00006c39", "0?disabletrunk,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/123456-00006c39", "DIAL_NUMBER=81234567891") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/123456-00006c39", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/123456-00006c39", "OUTBOUND_GROUP=OUT_2") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/123456-00006c39", "1?nomax") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/123456-00006c39", "0?skipoutcid") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/123456-00006c39", "DIAL_TRUNK_OPTIONS=") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/123456-00006c39", "outbound-callerid,2") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/123456-00006c39", "0?Set(CALLERPRES()=)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/123456-00006c39", "0?Set(REALCALLERIDNUM=123456)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/123456-00006c39", "1?normcid") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/123456-00006c39", "USEROUTCID=4951234567") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/123456-00006c39", "EMERGENCYCID=") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/123456-00006c39", "TRUNKOUTCID=") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/123456-00006c39", "1?trunkcid") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/123456-00006c39", "0?Set(CALLERID(all)=)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/123456-00006c39", "1?Set(CALLERID(all)=4951234567)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/123456-00006c39", "0?Set(CALLERID(all)=)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/123456-00006c39", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/123456-00006c39", "0?sub-flp-2,s,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/123456-00006c39", "OUTNUM=81234567891") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/123456-00006c39", "custom=DAHDI/g1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/123456-00006c39", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/123456-00006c39", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("SIP/123456-00006c39", "dialout-trunk-predial-hook,") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123456-00006c39", "") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/123456-00006c39", "0?bypass,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/123456-00006c39", "0?customtrunk") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:20] Dial("SIP/123456-00006c39", "DAHDI/g1/81234567891,300,") in new stack
[2012-07-11 12:26:18] DEBUG[9497] sig_pri.c: sig_pri_request 9
[2012-07-11 12:26:18] DEBUG[9497] sig_pri.c: CALLER NAME: NUM: 4951234567
[2012-07-11 12:26:18] VERBOSE[9497] sig_pri.c: -- Requested transfer capability: 0x00 - SPEECH
[2012-07-11 12:26:18] VERBOSE[9497] app_dial.c: -- Called DAHDI/g1/81234567891
[2012-07-11 12:26:18] DEBUG[9497] sig_pri.c: sig_pri_hangup 9
[2012-07-11 12:26:18] DEBUG[9497] sig_pri.c: Already hungup... Calling hangup once, and clearing call
[2012-07-11 12:26:18] VERBOSE[9497] chan_dahdi.c: -- Hungup 'DAHDI/i1/81234567891-60e4'
[2012-07-11 12:26:18] VERBOSE[9497] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:21] NoOp("SIP/123456-00006c39", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-dialout-trunk:22] Goto("SIP/123456-00006c39", "s-CHANUNAVAIL,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/123456-00006c39", "RC=0") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/123456-00006c39", "0,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-dialout-trunk,0,1)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [0@macro-dialout-trunk:1] Goto("SIP/123456-00006c39", "continue,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/123456-00006c39", "1?noreport") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/123456-00006c39", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/123456-00006c39", "CALLERID(number)=123456") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [81234567891@from-internal:6] Macro("SIP/123456-00006c39", "outisbusy,") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/123456-00006c39", "") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/123456-00006c39", "0?emergency,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/123456-00006c39", "0?intracompany,1") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/123456-00006c39", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[2012-07-11 12:26:18] VERBOSE[9497] file.c: -- <SIP/123456-00006c39> Playing 'all-circuits-busy-now.alaw' (language '<bad value>')
[2012-07-11 12:26:20] VERBOSE[9497] file.c: -- <SIP/123456-00006c39> Playing 'pls-try-call-later.alaw' (language '<bad value>')
[2012-07-11 12:26:22] VERBOSE[9497] pbx.c: -- Executing [s@macro-outisbusy:5] Congestion("SIP/123456-00006c39", "20") in new stack
[2012-07-11 12:26:22] WARNING[9497] channel.c: Prodding channel 'SIP/123456-00006c39' failed
[2012-07-11 12:26:22] VERBOSE[9497] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/123456-00006c39' in macro 'outisbusy'
[2012-07-11 12:26:22] VERBOSE[9497] pbx.c: == Spawn extension (from-internal, 81234567891, 6) exited non-zero on 'SIP/123456-00006c39'
[2012-07-11 12:26:22] VERBOSE[9497] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/123456-00006c39", "") in new stack
[2012-07-11 12:26:22] VERBOSE[9497] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/123456-00006c39'
Задан: 2012-07-11 12:46:25 +0400
Просмотрен: 7,763 раз
Обновлен: Jul 11 '12
Приоритезация каналов (Cisco 2811 + Asterisk)
Входящие маршруты для 2-х портов E1
Как разобрать поток е1 по номерам
Интеграция Panasonic KX-TDA100RU и asterisk
Проблема с dahdi 2.4.1.2 EC: OSLEC
Связка провайдер<-->E1<-->Asterisk<-->E1<-->Panasonic TDA100
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
Так и почему Ваш оператор не дает Вам позвонить?
zzuz ( 2012-07-11 12:56:29 +0400 )редактироватьПроблема вряд ли с оператором, звонки которые идут через АТС от других атсок выходят нормально.
qrmcaev ( 2012-07-11 13:14:43 +0400 )редактироватьМожет я конечно неправ, но имхо чем больше оборудования и преобразований от вашего аппарата до АТС провайдера услуг - тем геморройней вся концепция в целом. Поэтому всех стараюсь убедить что и телефонные аппараты должны быть IP, и связь сразу по SIPу например. Безо всяких промежуточных шлюзов, банков каналов, железячных офисных АТСок, медных линий и т.д. и т.п.
asdev ( 2012-07-12 17:01:02 +0400 )редактироватьCalled DAHDI/g1/81234567891
Вы в какой стране , автор , живете?
zzuz ( 2012-07-12 18:57:05 +0400 )редактироватьПроблема все-таки была с оператором, у них не хватало линий, давали отбой.
qrmcaev ( 2012-12-12 16:31:06 +0400 )редактировать