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

Goip1 + Freepbx 13

0

Здравствуйте. Помогите настроить этот загадочный шлюз. Никак не могу понять как правильно настроить эту шайтан машинку.

На сколько я понял шлюз на сервере зарегистрировался и звонок доходит до сервера, а вот дальше ни куда не идёт.

Сам знаю что каша в настройках. Я уже несколько дней бьюсь и ни как не получается.

Вот настройки самого шлюза. image description image description image description

транк image description image description image description

Екстеншн 1011 есть

входящие правила

image description

лог входящего вызова.

Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
       > 0x7f8d6c557fe0 -- Strict RTP learning after remote address set to: 172.17.0.56:10000
    -- Executing [1011@from-internal:1] Set("SIP/fxo-00000012", "__RINGTIMER=15") in new stack
    -- Executing [1011@from-internal:2] Macro("SIP/fxo-00000012", "exten-vm,novm,1011,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/fxo-00000012", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/fxo-00000012", "TOUCH_MONITOR=1512270944.18") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/fxo-00000012", "AMPUSER=+79377200549") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/fxo-00000012", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/fxo-00000012", "1?Set(REALCALLERIDNUM=+79377200549)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/fxo-00000012", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/fxo-00000012", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/fxo-00000012", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/fxo-00000012", "1?report") in new stack
    -- Goto (macro-user-callerid,s,14)
    -- Executing [s@macro-user-callerid:14] NoOp("SIP/fxo-00000012", "Macro Depth is 2") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/fxo-00000012", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,16)
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/fxo-00000012", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:17] Set("SIP/fxo-00000012", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:18] GotoIf("SIP/fxo-00000012", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,34)
    -- Executing [s@macro-user-callerid:34] Set("SIP/fxo-00000012", "CALLERID(number)=+79377200549") in new stack
    -- Executing [s@macro-user-callerid:35] Set("SIP/fxo-00000012", "CALLERID(name)=+79377200549") in new stack
    -- Executing [s@macro-user-callerid:36] GotoIf("SIP/fxo-00000012", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:37] Set("SIP/fxo-00000012", "CDR(cnam)=+79377200549") in new stack
    -- Executing [s@macro-user-callerid:38] Set("SIP/fxo-00000012", "CDR(cnum)=+79377200549") in new stack
    -- Executing [s@macro-user-callerid:39] Set("SIP/fxo-00000012", "CHANNEL(language)=ru") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/fxo-00000012", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/fxo-00000012", "__EXTTOCALL=1011") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/fxo-00000012", "__PICKUPMARK=1011") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/fxo-00000012", "RT=") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("SIP/fxo-00000012", "sub-record-check,s,1(exten,1011,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/fxo-00000012", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/fxo-00000012", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/fxo-00000012", "NOW=1512270944") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/fxo-00000012", "__DAY=03") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/fxo-00000012", "__MONTH=12") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/fxo-00000012", "__YEAR=2017") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/fxo-00000012", "__TIMESTR=20171203-061544") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/fxo-00000012", "__FROMEXTEN=+79377200549") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/fxo-00000012", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/fxo-00000012", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/fxo-00000012", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/fxo-00000012", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/fxo-00000012", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/fxo-00000012", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/fxo-00000012", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("SIP/fxo-00000012", "Exten Recording Check between +79377200549 and 1011") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/fxo-00000012", "CALLTYPE=internal") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("SIP/fxo-00000012", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("SIP/fxo-00000012", "CALLEE=dontcare") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("SIP/fxo-00000012", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("SIP/fxo-00000012", "0?callee") in new stack
    -- Executing [exten@sub-record-check:7] GotoIf("SIP/fxo-00000012", "1?caller") in new stack
    -- Goto (sub-record-check,exten,13)
    -- Executing [exten@sub-record-check:13] Set("SIP/fxo-00000012", "RECMODE=") in new stack
    -- Executing [exten@sub-record-check:14] ExecIf("SIP/fxo-00000012", "1?Set(RECMODE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:15] ExecIf("SIP/fxo-00000012", "1?Set(RECMODE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:16] Gosub("SIP/fxo-00000012", "recordcheck,1(dontcare,internal,1011)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/fxo-00000012", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/fxo-00000012", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/fxo-00000012", "") in new stack
    -- Executing [exten@sub-record-check:17] Return("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-exten-vm:7] GotoIf("SIP/fxo-00000012", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/fxo-00000012", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:14] Macro("SIP/fxo-00000012", "dial-one,,Ttr,1011") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/fxo-00000012", "DEXTEN=1011") in new stack
    -- Executing [s@macro-dial-one:2] ExecIf("SIP/fxo-00000012", "0?Set(EXTTOCALL=1011)") in new stack
    -- Executing [s@macro-dial-one:3] Set("SIP/fxo-00000012", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("SIP/fxo-00000012", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:5] GosubIf("SIP/fxo-00000012", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:6] GotoIf("SIP/fxo-00000012", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,9)
    -- Executing [s@macro-dial-one:9] GotoIf("SIP/fxo-00000012", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:10] GotoIf("SIP/fxo-00000012", "0?continue") in new stack
    -- Executing [s@macro-dial-one:11] Set("SIP/fxo-00000012", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:12] GotoIf("SIP/fxo-00000012", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] GotoIf("SIP/fxo-00000012", "0?next3:continue") in new stack
    -- Goto (macro-dial-one,s,26)
    -- Executing [s@macro-dial-one:26] GotoIf("SIP/fxo-00000012", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:27] GosubIf("SIP/fxo-00000012", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("SIP/fxo-00000012", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("SIP/fxo-00000012", "DEVICES=1011") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/fxo-00000012", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/fxo-00000012", "0?Set(DEVICES=011)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("SIP/fxo-00000012", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("SIP/fxo-00000012", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("SIP/fxo-00000012", "THISDIAL=SIP/1011") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/fxo-00000012", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/fxo-00000012", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/fxo-00000012", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/fxo-00000012", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/fxo-00000012", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/fxo-00000012", "THISPART2=SIP/1011") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/fxo-00000012", "0?Set(THISPART2=DAHDI/1011)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/fxo-00000012", "NEWDIAL=SIP/1011&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/fxo-00000012", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/fxo-00000012", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/fxo-00000012", "THISDIAL=SIP/1011") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/fxo-00000012", "") in new stack
    -- Executing [dstring@macro-dial-one:9] GotoIf("SIP/fxo-00000012", "1?docheck") in new stack
    -- Goto (macro-dial-one,dstring,14)
    -- Executing [dstring@macro-dial-one:14] GotoIf("SIP/fxo-00000012", "0?skipset") in new stack
    -- Executing [dstring@macro-dial-one:15] Set("SIP/fxo-00000012", "DSTRING=SIP/1011&") in new stack
    -- Executing [dstring@macro-dial-one:16] Set("SIP/fxo-00000012", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:17] GotoIf("SIP/fxo-00000012", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:18] ExecIf("SIP/fxo-00000012", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:19] Set("SIP/fxo-00000012", "DSTRING=SIP/1011") in new stack
    -- Executing [dstring@macro-dial-one:20] Return("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("SIP/fxo-00000012", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:29] GotoIf("SIP/fxo-00000012", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:30] GosubIf("SIP/fxo-00000012", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("SIP/fxo-00000012", "DB(CALLTRACE/1011)=+79377200549") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-dial-one:31] Set("SIP/fxo-00000012", "D_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dial-one:32] NoOp("SIP/fxo-00000012", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("SIP/fxo-00000012", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:34] ExecIf("SIP/fxo-00000012", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:35] ExecIf("SIP/fxo-00000012", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:36] ExecIf("SIP/fxo-00000012", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [s@macro-dial-one:37] ExecIf("SIP/fxo-00000012", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [s@macro-dial-one:38] GosubIf("SIP/fxo-00000012", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [s@macro-dial-one:39] ExecIf("SIP/fxo-00000012", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:40] GosubIf("SIP/fxo-00000012", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:41] Set("SIP/fxo-00000012", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:42] Set("SIP/fxo-00000012", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:43] GotoIf("SIP/fxo-00000012", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:44] GotoIf("SIP/fxo-00000012", "1?godial") in new stack
    -- Goto (macro-dial-one,s,49)
    -- Executing [s@macro-dial-one:49] Macro("SIP/fxo-00000012", "dialout-one-predial-hook,") in new stack
    -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-dial-one:50] ExecIf("SIP/fxo-00000012", "0?Set(D_OPTIONS=trI)") in new stack
    -- Executing [s@macro-dial-one:51] NoOp("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-dial-one:52] Dial("SIP/fxo-00000012", "SIP/1011,,Ttrb(func-apply-sipheaders^s^1)") in new stack
[2017-12-03 06:15:44] WARNING[19949][C-0000001c]: app_dial.c:2525 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dial-one:53] ExecIf("SIP/fxo-00000012", "0?MacroExit()") in new stack
    -- Executing [s@macro-dial-one:54] ExecIf("SIP/fxo-00000012", "0?Set(DIALSTATUS=)") in new stack
    -- Executing [s@macro-dial-one:55] GosubIf("SIP/fxo-00000012", "0?s-CHANUNAVAIL,1()") in new stack
    -- Executing [s@macro-dial-one:56] MacroExit("SIP/fxo-00000012", "") in new stack
    -- Executing [s@macro-exten-vm:15] Set("SIP/fxo-00000012", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:16] GosubIf("SIP/fxo-00000012", "0?docfu,1()") in new stack
    -- Executing [s@macro-exten-vm:17] GosubIf("SIP/fxo-00000012", "0?docfb,1()") in new stack
    -- Executing [s@macro-exten-vm:18] Set("SIP/fxo-00000012", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:19] ExecIf("SIP/fxo-00000012", "0?MacroExit()") in new stack
    -- Executing [s@macro-exten-vm:20] GotoIf("SIP/fxo-00000012", "1?s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf("SIP/fxo-00000012", "0?exit,1") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones("SIP/fxo-00000012", "congestion") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion("SIP/fxo-00000012", "10") in new stack
  == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on 'SIP/fxo-00000012' in macro 'exten-vm'
  == Spawn extension (from-internal, 1011, 2) exited non-zero on 'SIP/fxo-00000012'
    -- Executing [h@from-internal:1] Macro("SIP/fxo-00000012", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/fxo-00000012", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/fxo-00000012", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/fxo-00000012", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/fxo-00000012' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/fxo-00000012'

По итогу выходит сообщение что набранный номер не доступен. Помогите пожалуйста. Спасибо большое.

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

спросил 2017-12-02 23:25:22 +0400

vanohaker Gravatar vanohaker
1 1

обновил 2017-12-03 13:01:39 +0400

Comments

Вы пытаетесь звонить на внутренний номер 1011 , который у вас создан в настройках freepbx и не имеет отношения к вашему Goip1 . Номер 1011 не зарегистрирован.

zzuz ( 2017-12-03 15:55:54 +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 ленту новостей

Статистика

Задан: 2017-12-02 23:25:22 +0400

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

Обновлен: Dec 03

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