Чат  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

freepbx вместо недоступен - все линии заняты

Обо всем касательно TrixBox, Elastix, AstPBX и всех других дистрибутивов

Модератор: april22

freepbx вместо недоступен - все линии заняты

Сообщение azamad » 22 янв 2018, 17:42

Asterisk Version: 13.17.2
FreePBX 14.0.1.24
Во время исходящих звонков если абонент которому звонят не доступен, занят или выключен - freepbx всегда отвечает что "all-circuits-busy-now&please-try-call-later"
Замучался уже гуглить... на freepbx недавно. в cdr видно конечно что занят или нет ответа, но так звонить морально тяжело.
[Показать] Спойлер: пример звонка
> 0x7fda38b13bf0 -- Strict RTP learning after remote address set to: 10.10.100.29:11966
-- Executing [89872123456@from-internal:1] Macro("SIP/299-00000512", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/299-00000512", "TOUCH_MONITOR=1516627920.1304") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/299-00000512", "AMPUSER=299") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/299-00000512", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/299-00000512", "1?Set(REALCALLERIDNUM=299)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/299-00000512", "AMPUSER=299") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/299-00000512", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/299-00000512", "AMPUSERCIDNAME=sotrudnik1") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("SIP/299-00000512", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/299-00000512", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/299-00000512", "AMPUSERCID=299") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/299-00000512", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/299-00000512", "CALLERID(all)="sotrudnik1" <299>") in new stack
[2018-01-22 13:32:00] WARNING[28939][C-00000293]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '>', expecting '-' or '!' or '(' or '<token>'; Input:
"LIMIT"="LIMIT" & 3 & 1 & >0 & 0>=
^
[2018-01-22 13:32:00] WARNING[28939][C-00000293]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/ ... +Variables
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/299-00000512", "0?limit") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/299-00000512", "1?Set(GROUP(concurrency_limit)=299)") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("SIP/299-00000512", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:16] NoOp("SIP/299-00000512", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/299-00000512", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] GotoIf("SIP/299-00000512", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [s@macro-user-callerid:37] Set("SIP/299-00000512", "CALLERID(number)=299") in new stack
-- Executing [s@macro-user-callerid:38] Set("SIP/299-00000512", "CALLERID(name)=sotrudnik1") in new stack
-- Executing [s@macro-user-callerid:39] GotoIf("SIP/299-00000512", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:40] Set("SIP/299-00000512", "CDR(cnam)=sotrudnik1") in new stack
-- Executing [s@macro-user-callerid:41] Set("SIP/299-00000512", "CDR(cnum)=299") in new stack
-- Executing [s@macro-user-callerid:42] Set("SIP/299-00000512", "CHANNEL(language)=ru") in new stack
-- Executing [89872123456@from-internal:2] Gosub("SIP/299-00000512", "sub-record-check,s,1(out,89872123456,force)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/299-00000512", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/299-00000512", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/299-00000512", "NOW=1516627920") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/299-00000512", "__DAY=22") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/299-00000512", "__MONTH=01") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/299-00000512", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/299-00000512", "__TIMESTR=20180122-133200") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/299-00000512", "__FROMEXTEN=299") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/299-00000512", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/299-00000512", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/299-00000512", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/299-00000512", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/299-00000512", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/299-00000512", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/299-00000512", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/299-00000512", "Outbound Recording Check from 299 to 89872123456") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/299-00000512", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/299-00000512", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/299-00000512", "recordcheck,1(force,out,89872123456)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/299-00000512", "Starting recording check against force") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/299-00000512", "force") in new stack
-- Goto (sub-record-check,recordcheck,5)
-- Executing [recordcheck@sub-record-check:5] Set("SIP/299-00000512", "__REC_POLICY_MODE=FORCE") in new stack
-- Executing [recordcheck@sub-record-check:6] GotoIf("SIP/299-00000512", "1?startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("SIP/299-00000512", "Starting recording: out, 89872123456") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("SIP/299-00000512", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("SIP/299-00000512", "__CALLFILENAME=out-89872123456-299-20180122-133200-1516627920.1304") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/299-00000512", "2018/01/22/out-89872123456-299-20180122-133200-1516627920.1304.wav,abi(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("SIP/299-00000512", "__MIXMON_ID=0x7fda58aec320") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("SIP/299-00000512", "__RECORD_ID=SIP/299-00000512") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("SIP/299-00000512", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("SIP/299-00000512", "CDR(recordingfile)=out-89872123456-299-20180122-133200-1516627920.1304.wav") in new stack
== Begin MixMonitor Recording SIP/299-00000512
-- Executing [recordcheck@sub-record-check:24] Return("SIP/299-00000512", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/299-00000512", "") in new stack
-- Executing [89872123456@from-internal:3] ExecIf("SIP/299-00000512", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [89872123456@from-internal:4] Set("SIP/299-00000512", "MOHCLASS=default") in new stack
-- Executing [89872123456@from-internal:5] Set("SIP/299-00000512", "_NODEST=") in new stack
-- Executing [89872123456@from-internal:6] Macro("SIP/299-00000512", "dialout-trunk,3,89872123456,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/299-00000512", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/299-00000512", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] ExecIf("SIP/299-00000512", "0?Set(CALLERID(num)=299)") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/299-00000512", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/299-00000512", "DIAL_NUMBER=89872123456") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/299-00000512", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("SIP/299-00000512", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("SIP/299-00000512", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/299-00000512", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,11)
-- Executing [s@macro-dialout-trunk:11] GotoIf("SIP/299-00000512", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:12] Macro("SIP/299-00000512", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("SIP/299-00000512", "299") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("SIP/299-00000512", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/299-00000512", "off") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("SIP/299-00000512", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("SIP/299-00000512", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] ExecIf("SIP/299-00000512", "0?Set(REALCALLERIDNUM=299)") in new stack
-- Executing [s@macro-outbound-callerid:7] GotoIf("SIP/299-00000512", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [s@macro-outbound-callerid:11] Set("SIP/299-00000512", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/299-00000512", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:13] Set("SIP/299-00000512", "TRUNKOUTCID=5149000") in new stack
-- Executing [s@macro-outbound-callerid:14] GotoIf("SIP/299-00000512", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,19)
-- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/299-00000512", "1?Set(CALLERID(all)=5149000)") in new stack
-- Executing [s@macro-outbound-callerid:20] ExecIf("SIP/299-00000512", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:21] ExecIf("SIP/299-00000512", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("SIP/299-00000512", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:23] ExecIf("SIP/299-00000512", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:24] Set("SIP/299-00000512", "CDR(outbound_cnum)=5149000") in new stack
-- Executing [s@macro-outbound-callerid:25] Set("SIP/299-00000512", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/299-00000512", "0?sub-flp-3,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/299-00000512", "OUTNUM=89872123456") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("SIP/299-00000512", "custom=SIP/5149000") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/299-00000512", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/299-00000512", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:18] Macro("SIP/299-00000512", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/299-00000512", "") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/299-00000512", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/299-00000512", "1?Set(CONNECTEDLINE(num,i)=89872123456)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/299-00000512", "1?Set(CONNECTEDLINE(name,i)=CID:5149000)") in new stack
-- Executing [s@macro-dialout-trunk:22] ExecIf("SIP/299-00000512", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5149000)") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("SIP/299-00000512", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:24] Dial("SIP/299-00000512", "SIP/5149000/89872123456,300,T") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/5149000/89872123456
> 0x7fda58ad0560 -- Strict RTP learning after remote address set to: 11.11.111.111:47816
-- SIP/5149000-00000513 is making progress passing it to SIP/299-00000512
> 0x7fda58ad0560 -- Strict RTP switching to RTP target address 11.11.111.11:47816 as source
> 0x7fda38b13bf0 -- Strict RTP switching to RTP target address 10.10.100.29:11966 as source
> 0x7fda38b13bf0 -- Strict RTP learning complete - Locking on source address 10.10.100.29:11966
> 0x7fda58ad0560 -- Strict RTP learning complete - Locking on source address 11.11.111.11:47816
-- Got SIP response 486 "Busy here" back from 11.11.111.22:5060
-- SIP/5149000-00000513 is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [s@macro-dialout-trunk:25] NoOp("SIP/299-00000512", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
-- Executing [s@macro-dialout-trunk:26] GotoIf("SIP/299-00000512", "1?continue,1:s-BUSY,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/299-00000512", "TRUNK Dial failed due to BUSY HANGUPCAUSE: 17 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/299-00000512", "1?Set(CALLERID(number)=299)") in new stack
-- Executing [89872123456@from-internal:7] Macro("SIP/299-00000512", "dialout-trunk,2,89872123456,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/299-00000512", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/299-00000512", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] ExecIf("SIP/299-00000512", "0?Set(CALLERID(num)=299)") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/299-00000512", "1?disabletrunk,1") in new stack
-- Goto (macro-dialout-trunk,disabletrunk,1)
-- Executing [disabletrunk@macro-dialout-trunk:1] NoOp("SIP/299-00000512", "TRUNK: SIP/929728 DISABLED - falling through to next trunk") in new stack
-- Executing [89872123456@from-internal:8] Macro("SIP/299-00000512", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/299-00000512", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/299-00000512", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/299-00000512", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/299-00000512", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
-- <SIP/299-00000512> Playing 'all-circuits-busy-now.ulaw' (language 'ru')
-- <SIP/299-00000512> Playing 'please-try-call-later.alaw' (language 'ru')
azamad
 
Сообщений: 2
Зарегистрирован: 22 янв 2018, 17:05

Re: freepbx вместо недоступен - все линии заняты

Сообщение april22 » 22 янв 2018, 17:56

во FreePBX есть модуль установки головосовых подсказок, там можете изменить фразу.
ну или , если понимаете что делать , по коду ошибки можете подсунуть свою фразу.
Своими вопросами , вы загоняете меня в ГУГЛЬ.
april22
 
Сообщений: 1986
Зарегистрирован: 09 июл 2012, 09:47

Re: freepbx вместо недоступен - все линии заняты

Сообщение azamad » 22 янв 2018, 23:13

во FreePBX есть модуль установки головосовых подсказок, там можете изменить фразу.

Вы про то чтобы изменить одну фразу другим? мне же нужно чтобы если знаято -корткие гудки, если телефон выключен - то говорил стандартно что телефон выключен.
azamad
 
Сообщений: 2
Зарегистрирован: 22 янв 2018, 17:05

Re: freepbx вместо недоступен - все линии заняты

Сообщение whoim » 25 янв 2018, 01:32

оператор вам присылает по sip код отбоя, его и озвучиваете или делаете с ним что нужно. Голосовые оповещения оператора обычно только внутри gsm-сети.
облачные и локальные сервера asterisk/freepbx/a2billing/crm с полной техподдержкой. skype: whoim2, sipuri: whoim@asterisk.ru
Аватар пользователя
whoim
 
Сообщений: 743
Зарегистрирован: 26 ноя 2013, 23:25
Откуда: Краснодар


Вернуться в Готовые VoIP дистрибутивы

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4

© 2008 — 2018 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH