Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

GoIP4 FreePBX 15 входящие работают, исходящие нет

0

Доброго времени суток. Установлен Freepbx 15, pjsip отключил оставив только sip. Goip4 настроил в режиме Config by line, на FreePBX создал 4 транка под каждую симку (все транки идентичны, разница только в логине goip-2, goip-3, goip-4).

Конфиг Goip4

Authentication ID           goip-1
Password                    ••••••••
Routing Prefix  
SIP Proxy                   192.168.254.243
SIP Registrar Server    192.168.254.243
Re-register Period (s)  3600
Phone Number            goip-1
Display Name            goip-1
Outbound Proxy  
Home Domain

Транк на Freepbx:

Trunk Name  goip-1

PEER Details 
username=goip-1
type=friend
secret=FB5FfmQG
qualify=yes
permit=0.0.0.0/0.0.0.0
nat=no
host=dynamic
disallow=all
deny=0.0.0.0/0.0.0.0
allow=alaw&ulaw&gsm

Секцию с USER DETAILS (Incoming) не заполнял. Создал роут для входящих и всё работает.

Сделал исходящий роут с паттерном 0[679]3XXXXXXX и при совпадении отправляю на транк goip-1.... но постоянно получаю: "набранный Вами номер отключен"

вывод в консоль:

 Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
       > 0x7f1e38050db0 -- Strict RTP learning after remote address set to: 192.168.254.253:4070
    -- Executing [0631112233@from-internal:1] Macro("SIP/101-00000055", "user-callerid,LIMIT") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/101-00000055", "TOUCH_MONITOR=1598910240.117") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/101-00000055", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:3] Set("SIP/101-00000055", "HOTDESCKCHAN=101-00000055") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/101-00000055", "HOTDESKEXTEN=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/101-00000055", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-user-callerid:6] ExecIf("SIP/101-00000055", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-user-callerid:7] ExecIf("SIP/101-00000055", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/101-00000055", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/101-00000055", "1?Set(REALCALLERIDNUM=101)") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/101-00000055", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/101-00000055", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/101-00000055", "AMPUSERCIDNAME=Вася") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/101-00000055", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/101-00000055", "0?report") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/101-00000055", "AMPUSERCID=101") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/101-00000055", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [s@macro-user-callerid:17] Set("SIP/101-00000055", "CALLERID(all)="Вася" <101>") in new stack
    -- Executing [s@macro-user-callerid:18] ExecIf("SIP/101-00000055", "0?Set(CUSDIAL=)") in new stack
    -- Executing [s@macro-user-callerid:19] ExecIf("SIP/101-00000055", "0?Set(CALLERID(all)="Вася" <101>)") in new stack
[2020-08-31 21:44:00] WARNING[27865][C-00000036]: ast_expr2.fl:470 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '>', expecting '-' or '!' or '(' or '<token>'; Input:
"LIMIT"="LIMIT" & 3 & 0 & >0 & 0>=
                          ^
[2020-08-31 21:44:00] WARNING[27865][C-00000036]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
    -- Executing [s@macro-user-callerid:20] GotoIf("SIP/101-00000055", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:21] ExecIf("SIP/101-00000055", "1?Set(GROUP(concurrency_limit)=101)") in new stack
    -- Executing [s@macro-user-callerid:22] ExecIf("SIP/101-00000055", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/101-00000055", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:24] GotoIf("SIP/101-00000055", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,25)
    -- Executing [s@macro-user-callerid:25] GotoIf("SIP/101-00000055", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,44)
    -- Executing [s@macro-user-callerid:44] Set("SIP/101-00000055", "CALLERID(number)=101") in new stack
    -- Executing [s@macro-user-callerid:45] Set("SIP/101-00000055", "CALLERID(name)=Вася") in new stack
    -- Executing [s@macro-user-callerid:46] GotoIf("SIP/101-00000055", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:47] Set("SIP/101-00000055", "CDR(cnam)=Вася") in new stack
    -- Executing [s@macro-user-callerid:48] Set("SIP/101-00000055", "CDR(cnum)=101") in new stack
    -- Executing [s@macro-user-callerid:49] Set("SIP/101-00000055", "CHANNEL(language)=ru") in new stack
    -- Executing [0631112233@from-internal:2] Set("SIP/101-00000055", "ROUTEUSER=101") in new stack
    -- Executing [0631112233@from-internal:3] Set("SIP/101-00000055", "ROUTEUSER=") in new stack
    -- Executing [0631112233@from-internal:4] GotoIf("SIP/101-00000055", "1?notblind") in new stack
    -- Goto (from-internal,0631112233,7)
    -- Executing [0631112233@from-internal:7] GotoIf("SIP/101-00000055", "0?,0631112233,2:outbound-allroutes,0631112233,2") in new stack
    -- Goto (outbound-allroutes,0631112233,2)
    -- Executing [0631112233@outbound-allroutes:2] Gosub("SIP/101-00000055", "sub-record-check,s,1(out,0631112233,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/101-00000055", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/101-00000055", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/101-00000055", "NOW=1598910240") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/101-00000055", "__DAY=31") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/101-00000055", "__MONTH=08") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/101-00000055", "__YEAR=2020") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/101-00000055", "__TIMESTR=20200831-214400") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/101-00000055", "__FROMEXTEN=101") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/101-00000055", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/101-00000055", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/101-00000055", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/101-00000055", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/101-00000055", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/101-00000055", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/101-00000055", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("SIP/101-00000055", "Outbound Recording Check from 101 to 0631112233") in new stack
    -- Executing [out@sub-record-check:2] Set("SIP/101-00000055", "RECMODE=yes") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("SIP/101-00000055", "0?Goto(routewins)") in new stack
    -- Executing [out@sub-record-check:4] ExecIf("SIP/101-00000055", "0?Goto(routewins)") in new stack
    -- Executing [out@sub-record-check:5] Gosub("SIP/101-00000055", "recordcheck,1(yes,out,0631112233)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/101-00000055", "Starting recording check against yes") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/101-00000055", "yes") in new stack
    -- Goto (sub-record-check,recordcheck,9)
    -- Executing [recordcheck@sub-record-check:9] ExecIf("SIP/101-00000055", "0?Return()") in new stack
    -- Executing [recordcheck@sub-record-check:10] Set("SIP/101-00000055", "__REC_POLICY_MODE=YES") in new stack
    -- Executing [recordcheck@sub-record-check:11] Goto("SIP/101-00000055", "startrec") in new stack
    -- Goto (sub-record-check,recordcheck,16)
    -- Executing [recordcheck@sub-record-check:16] NoOp("SIP/101-00000055", "Starting recording: out, 0631112233") in new stack
    -- Executing [recordcheck@sub-record-check:17] Set("SIP/101-00000055", "__CALLFILENAME=out-0631112233-101-20200831-214400-1598910240.117") in new stack
    -- Executing [recordcheck@sub-record-check:18] MixMonitor("SIP/101-00000055", "2020/08/31/out-0631112233-101-20200831-214400-1598910240.117.wav,abi(LOCAL_MIXMON_ID),") in new stack
    -- Executing [recordcheck@sub-record-check:19] Set("SIP/101-00000055", "__MIXMON_ID=0x7f1dc005cc60") in new stack
    -- Executing [recordcheck@sub-record-check:20] Set("SIP/101-00000055", "__RECORD_ID=SIP/101-00000055") in new stack
  == Begin MixMonitor Recording SIP/101-00000055
    -- Executing [recordcheck@sub-record-check:21] Set("SIP/101-00000055", "__REC_STATUS=RECORDING") in new stack
    -- Executing [recordcheck@sub-record-check:22] Set("SIP/101-00000055", "CDR(recordingfile)=out-0631112233-101-20200831-214400-1598910240.117.wav") in new stack
    -- Executing [recordcheck@sub-record-check:23] Return("SIP/101-00000055", "") in new stack
    -- Executing [out@sub-record-check:6] Return("SIP/101-00000055", "") in new stack
    -- Executing [0631112233@outbound-allroutes:3] ExecIf("SIP/101-00000055", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [0631112233@outbound-allroutes:4] Set("SIP/101-00000055", "_ROUTEID=1") in new stack
    -- Executing [0631112233@outbound-allroutes:5] Set("SIP/101-00000055", "_ROUTENAME=Life") in new stack
    -- Executing [0631112233@outbound-allroutes:6] Set("SIP/101-00000055", "MOHCLASS=default") in new stack
    -- Executing [0631112233@outbound-allroutes:7] Set("SIP/101-00000055", "_CALLERIDNAMEINTERNAL=Вася") in new stack
    -- Executing [0631112233@outbound-allroutes:8] Set("SIP/101-00000055", "_CALLERIDNUMINTERNAL=101") in new stack
    -- Executing [0631112233@outbound-allroutes:9] Set("SIP/101-00000055", "_EMAILNOTIFICATION=FALSE") in new stack
    -- Executing [0631112233@outbound-allroutes:10] Set("SIP/101-00000055", "_NODEST=") in new stack
    -- Executing [0631112233@outbound-allroutes:11] Macro("SIP/101-00000055", "dialout-trunk,1,0631112233,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/101-00000055", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/101-00000055", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
    -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/101-00000055", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:4] ExecIf("SIP/101-00000055", "0?Set(CALLERID(num)=)") in new stack
    -- Executing [s@macro-dialout-trunk:5] GotoIf("SIP/101-00000055", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/101-00000055", "DIAL_NUMBER=0631112233") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("SIP/101-00000055", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("SIP/101-00000055", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("SIP/101-00000055", "DIAL_TRUNK_OPTIONS=T") in new stack
    -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/101-00000055", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,12)
    -- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/101-00000055", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Macro("SIP/101-00000055", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] NoOp("SIP/101-00000055", "101") in new stack
    -- Executing [s@macro-outbound-callerid:2] NoOp("SIP/101-00000055", "") in new stack
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/101-00000055", "off") in new stack
    -- Executing [s@macro-outbound-callerid:4] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:5] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/101-00000055", "HOTDESCKCHAN=101-00000055") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/101-00000055", "HOTDESKEXTEN=101") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/101-00000055", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-outbound-callerid:9] ExecIf("SIP/101-00000055", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-outbound-callerid:10] ExecIf("SIP/101-00000055", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/101-00000055", "ALLOWTHISROUTE=NO") in new stack
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/101-00000055", "0?Set(ALLOWTHISROUTE=YES)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/101-00000055", "0?Hangup()") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/101-00000055", "0?Set(REALCALLERIDNUM=101)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/101-00000055", "0?Set(AMPUSER=101)") in new stack
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/101-00000055", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,20)
    -- Executing [s@macro-outbound-callerid:20] Set("SIP/101-00000055", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("SIP/101-00000055", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:22] ExecIf("SIP/101-00000055", "0?Set(EMERGENCYCID=)") in new stack
    -- Executing [s@macro-outbound-callerid:23] Set("SIP/101-00000055", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:24] GotoIf("SIP/101-00000055", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,30)
    -- Executing [s@macro-outbound-callerid:30] ExecIf("SIP/101-00000055", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:31] ExecIf("SIP/101-00000055", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:32] ExecIf("SIP/101-00000055", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:33] ExecIf("SIP/101-00000055", "0?Set(CALLERID(all)=101)") in new stack
    -- Executing [s@macro-outbound-callerid:34] Set("SIP/101-00000055", "TIOHIDE=no") in new stack
    -- Executing [s@macro-outbound-callerid:35] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:36] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:37] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:38] ExecIf("SIP/101-00000055", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:39] Set("SIP/101-00000055", "CDR(outbound_cnum)=101") in new stack
    -- Executing [s@macro-outbound-callerid:40] Set("SIP/101-00000055", "CDR(outbound_cnam)=Вася") in new stack
    -- Executing [s@macro-dialout-trunk:14] GosubIf("SIP/101-00000055", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:15] Set("SIP/101-00000055", "OUTNUM=0631112233") in new stack
    -- Executing [s@macro-dialout-trunk:16] Set("SIP/101-00000055", "custom=SIP/goip-1") in new stack
    -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/101-00000055", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
    -- Executing [s@macro-dialout-trunk:18] ExecIf("SIP/101-00000055", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:19] Macro("SIP/101-00000055", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/101-00000055", "") in new stack
    -- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/101-00000055", "0?skipcrm") in new stack
    -- Executing [s@macro-dialout-trunk:21] Set("SIP/101-00000055", "__CRM_DIRECTION=OUTBOUND") in new stack
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/101-00000055", "__CRM_DESTINATION=0631112233") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/101-00000055", "__CRM_SOURCE=101") in new stack
    -- Executing [s@macro-dialout-trunk:24] AGI("SIP/101-00000055", "agi://127.0.0.1/sangomacrm.agi") in new stack
    -- <SIP/101-00000055>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/101-00000055", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:26] NoOp("SIP/101-00000055", "CRM Finished") in new stack
    -- Executing [s@macro-dialout-trunk:27] GotoIf("SIP/101-00000055", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:28] ExecIf("SIP/101-00000055", "1?Set(CONNECTEDLINE(num,i)=0631112233)") in new stack
    -- Executing [s@macro-dialout-trunk:29] ExecIf("SIP/101-00000055", "1?Set(CONNECTEDLINE(name,i)=CID:101)") in new stack
    -- Executing [s@macro-dialout-trunk:30] ExecIf("SIP/101-00000055", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)101)") in new stack
    -- Executing [s@macro-dialout-trunk:31] GotoIf("SIP/101-00000055", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:32] ExecIf("SIP/101-00000055", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
    -- Executing [s@macro-dialout-trunk:33] Set("SIP/101-00000055", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
    -- Executing [s@macro-dialout-trunk:34] Dial("SIP/101-00000055", "SIP/goip-1/0631112233,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^0631112233^0631112233^1^1598910240^Вася^101)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- SIP/goip-1-00000056 Internal Gosub(func-apply-sipheaders,s,1(1)) start
    -- Executing [s@func-apply-sipheaders:1] ExecIf("SIP/goip-1-00000056", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
    -- Executing [s@func-apply-sipheaders:2] NoOp("SIP/goip-1-00000056", "Applying SIP Headers to channel SIP/goip-1-00000056") in new stack
    -- Executing [s@func-apply-sipheaders:3] Set("SIP/goip-1-00000056", "TECH=SIP") in new stack
    -- Executing [s@func-apply-sipheaders:4] Set("SIP/goip-1-00000056", "SIPHEADERKEYS=Alert-Info") in new stack
    -- Executing [s@func-apply-sipheaders:5] While("SIP/goip-1-00000056", "1") in new stack
    -- Executing [s@func-apply-sipheaders:6] Set("SIP/goip-1-00000056", "sipheader=unset") in new stack
    -- Executing [s@func-apply-sipheaders:7] ExecIf("SIP/goip-1-00000056", "1?SIPRemoveHeader(Alert-Info:)") in new stack
    -- Executing [s@func-apply-sipheaders:8] ExecIf("SIP/goip-1-00000056", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
    -- Executing [s@func-apply-sipheaders:9] ExecIf("SIP/goip-1-00000056", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
    -- Executing [s@func-apply-sipheaders:10] ExecIf("SIP/goip-1-00000056", "0?SIPAddHeader(Alert-Info:unset)") in new stack
    -- Executing [s@func-apply-sipheaders:11] EndWhile("SIP/goip-1-00000056", "") in new stack
    -- Executing [s@func-apply-sipheaders:5] While("SIP/goip-1-00000056", "0") in new stack
    -- Executing [s@func-apply-sipheaders:12] Return("SIP/goip-1-00000056", "") in new stack
  == Spawn extension (from-trunk-sip-goip-1, 0631112233, 1) exited non-zero on 'SIP/goip-1-00000056'
    -- SIP/goip-1-00000056 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
    -- Called SIP/goip-1/0631112233
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:35] NoOp("SIP/101-00000055", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
    -- Executing [s@macro-dialout-trunk:36] GotoIf("SIP/101-00000055", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/101-00000055", "RC=1") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/101-00000055", "1,1") in new stack
    -- Goto (macro-dialout-trunk,1,1)
    -- Executing [1@macro-dialout-trunk:1] Goto("SIP/101-00000055", "s-INVALIDNMBR,1") in new stack
    -- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
    -- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("SIP/101-00000055", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
    -- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("SIP/101-00000055", "") in new stack
    -- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("SIP/101-00000055", "ss-noservice,noanswer") in new stack
    -- <SIP/101-00000055> Playing 'ss-noservice.ulaw' (language 'ru')
       > 0x7f1e38050db0 -- Strict RTP switching to RTP target address 192.168.254.253:4070 as source
    -- SIP/101-00000055 Internal Gosub(crm-hangup,s,1) start
    -- Executing [s@crm-hangup:1] NoOp("SIP/101-00000055", "Sending Hangup to CRM") in new stack
    -- Executing [s@crm-hangup:2] NoOp("SIP/101-00000055", "HANGUP CAUSE: 1") in new stack
    -- Executing [s@crm-hangup:3] ExecIf("SIP/101-00000055", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [s@crm-hangup:4] NoOp("SIP/101-00000055", "MASTER CHANNEL: 1598910240.117 = 1598910240.117") in new stack
    -- Executing [s@crm-hangup:5] GotoIf("SIP/101-00000055", "0?return") in new stack
    -- Executing [s@crm-hangup:6] Set("SIP/101-00000055", "__CRM_HANGUP=1") in new stack
    -- Executing [s@crm-hangup:7] AGI("SIP/101-00000055", "agi://127.0.0.1/sangomacrm.agi") in new stack
    -- <SIP/101-00000055>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
    -- Executing [s@crm-hangup:8] Return("SIP/101-00000055", "") in new stack
  == Spawn extension (outbound-allroutes, 0631112233, 11) exited non-zero on 'SIP/101-00000055'
    -- SIP/101-00000055 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording SIP/101-00000055

Я видимо что-то упускаю... Знающие люди подскажите, пожалуйста.

удалить закрыть спам изменить тег редактировать

спросил 2020-09-01 01:52:03 +0400

ramadan Gravatar ramadan
1 8 1 4

Comments

"Everyone is busy/congested at this time" - смотрите дамп и логи на шлюзе почему он отбивает вызов.

zzuz ( 2020-09-01 11:31:59 +0400 )редактировать

это же goip hybertone ;( о логах можно только мечтать

ramadan ( 2020-09-01 22:32:15 +0400 )редактировать

Ну так а чего вы хотите? У вас НЕ НАСТРОЕН шлюз. Настраивайте.

meral ( 2020-09-02 00:11:54 +0400 )редактировать

по-моему, я учтиво и вежливо указал - "Я видимо что-то упускаю... Знающие люди подскажите, пожалуйста." Или нет? Тем более у меня же вопрос звучит не в стиле "ничего не знаю, но хочу чтобы пошагово рассказали как настроить". К слову с такой же конфигурацией всё работает, только на астериске 13 и без вэбморды freepbx

ramadan ( 2020-09-02 00:48:35 +0400 )редактировать

Вам написать инстуркцию как дебажить чтоли? 1) проверяете на том же астериске, что и freepbx "без веб морды". Если не работает,смотрим сип лог. 2) если работает, смотрим разницу в callerid/dst "с веб мордой" и без. Из того, что вы тут привели ничего сказать нельзя вообще.

meral ( 2020-09-07 18:18:57 +0400 )редактировать

собственно, так и сделал - снёс нахер эти ГУИ, поставил астер на убунту и вопросы отпали.

ramadan ( 2020-09-22 15:38:48 +0400 )редактировать

Будьте первым, кто ответит на этот вопрос!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2020-09-01 01:52:03 +0400

Просмотрен: 105 раз

Обновлен: Sep 01

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.