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

dial patterns для beeline

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

Модератор: april22

dial patterns для beeline

Сообщение Blaskes » 12 авг 2018, 18:34

Приветствую всех...!
Есть проблема с написание Dial Patterns для beeline.
Ставился FreePBX Distro - FreePBX 14, Linux 7.5, Asterisk 13, установка прошла гладко, без проблем, trunk тоже зарегистрировался с первого раза, Incoming Route настроил, входящие с города проходят, а вот с исходящими какие то проблемы. В мануале которым я пользовался для настройки было написано что для Outbound Routes в Dial Patterns достаточно поставить точку . и можно будет в город звонить, но походу это не правильно.
Сейчас в Dial Patterns у меня следующее Изображение но выхода в город все равно нет (видать тоже где то накосячил).

В логах Asterisk'a я к сожалению очень не силен и что они говорят не очень понимаю так как с ip телефонией сталкиваюсь очень редко, помогите разобраться пожалуйста.

[Показать] Спойлер: Asterisk Log Files
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:1] Macro("PJSIP/137-00000000", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/137-00000000", "TOUCH_MONITOR=1534082543.0") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/137-00000000", "AMPUSER=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/137-00000000", "0?report") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/137-00000000", "1?Set(REALCALLERIDNUM=137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/137-00000000", "AMPUSER=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/137-00000000", "0?limit") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/137-00000000", "AMPUSERCIDNAME=user") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/137-00000000", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/137-00000000", "0?report") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/137-00000000", "AMPUSERCID=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/137-00000000", "__DIAL_OPTIONS=HhTtr") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/137-00000000", "CALLERID(all)="user" <137>") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("PJSIP/137-00000000", "0?limit") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/137-00000000", "1?Set(GROUP(concurrency_limit)=137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/137-00000000", "0?Set(CHANNEL(language)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:16] NoOp("PJSIP/137-00000000", "Macro Depth is 1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/137-00000000", "1?report2:macroerror") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("PJSIP/137-00000000", "1?continue") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:37] Set("PJSIP/137-00000000", "CALLERID(number)=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/137-00000000", "CALLERID(name)=user") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("PJSIP/137-00000000", "0?cnum") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:40] Set("PJSIP/137-00000000", "CDR(cnam)=user") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:41] Set("PJSIP/137-00000000", "CDR(cnum)=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-user-callerid:42] Set("PJSIP/137-00000000", "CHANNEL(language)=en") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:2] Gosub("PJSIP/137-00000000", "sub-record-check,s,1(out,3328484,dontcare)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/137-00000000", "0?initialized") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/137-00000000", "__REC_STATUS=INITIALIZED") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/137-00000000", "NOW=1534082543") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/137-00000000", "__DAY=12") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/137-00000000", "__MONTH=08") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/137-00000000", "__YEAR=2018") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/137-00000000", "__TIMESTR=20180812-140223") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/137-00000000", "__FROMEXTEN=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/137-00000000", "__MON_FMT=wav") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/137-00000000", "Recordings initialized") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/137-00000000", "0?Set(ARG3=dontcare)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/137-00000000", "REC_POLICY_MODE_SAVE=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/137-00000000", "0?Set(REC_STATUS=NO)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/137-00000000", "3?checkaction") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/137-00000000", "1?sub-record-check,out,1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [out@sub-record-check:1] NoOp("PJSIP/137-00000000", "Outbound Recording Check from 137 to 3328484") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [out@sub-record-check:2] Set("PJSIP/137-00000000", "RECMODE=dontcare") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [out@sub-record-check:3] ExecIf("PJSIP/137-00000000", "1?Goto(routewins)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [out@sub-record-check:7] Gosub("PJSIP/137-00000000", "recordcheck,1(dontcare,out,3328484)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/137-00000000", "Starting recording check against dontcare") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/137-00000000", "dontcare") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [out@sub-record-check:8] Return("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:3] ExecIf("PJSIP/137-00000000", "0 ?Set(CDR(accountcode)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:4] Set("PJSIP/137-00000000", "MOHCLASS=default") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:5] Set("PJSIP/137-00000000", "_NODEST=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [3328484@from-internal:6] Macro("PJSIP/137-00000000", "dialout-trunk,1,74953328484,,off") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:1] Set("PJSIP/137-00000000", "DIAL_TRUNK=1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/137-00000000", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/137-00000000", "0?sub-pincheck,s,1()") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/137-00000000", "0?Set(CALLERID(num)=137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/137-00000000", "0?disabletrunk,1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:6] Set("PJSIP/137-00000000", "DIAL_NUMBER=74953328484") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:7] Set("PJSIP/137-00000000", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:8] Set("PJSIP/137-00000000", "OUTBOUND_GROUP=OUT_1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:9] Set("PJSIP/137-00000000", "DIAL_TRUNK_OPTIONS=T") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/137-00000000", "1?nomax") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/137-00000000", "0?skipoutcid") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:13] Macro("PJSIP/137-00000000", "outbound-callerid,1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/137-00000000", "137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/137-00000000", "off") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/137-00000000", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/137-00000000", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf("PJSIP/137-00000000", "0?Set(REALCALLERIDNUM=137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf("PJSIP/137-00000000", "0?Set(AMPUSER=137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf("PJSIP/137-00000000", "1?normcid") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:12] Set("PJSIP/137-00000000", "USEROUTCID=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:13] Set("PJSIP/137-00000000", "EMERGENCYCID=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:14] Set("PJSIP/137-00000000", "TRUNKOUTCID=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf("PJSIP/137-00000000", "1?trunkcid") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf("PJSIP/137-00000000", "0?Set(CALLERID(all)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf("PJSIP/137-00000000", "0?Set(CALLERID(all)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/137-00000000", "0?Set(CALLERID(all)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/137-00000000", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/137-00000000", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:25] Set("PJSIP/137-00000000", "CDR(outbound_cnum)=137") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-outbound-callerid:26] Set("PJSIP/137-00000000", "CDR(outbound_cnam)=user") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/137-00000000", "0?sub-flp-1,s,1()") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:15] Set("PJSIP/137-00000000", "OUTNUM=74953328484") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:16] Set("PJSIP/137-00000000", "custom=SIP/beeline_78124494235") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/137-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/137-00000000", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:19] Macro("PJSIP/137-00000000", "dialout-trunk-predial-hook,") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/137-00000000", "0?bypass,1") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/137-00000000", "1?Set(CONNECTEDLINE(num,i)=74953328484)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/137-00000000", "1?Set(CONNECTEDLINE(name,i)=CID:137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf("PJSIP/137-00000000", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)137)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/137-00000000", "0?customtrunk") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:25] Dial("PJSIP/137-00000000", "SIP/beeline_78124494235/74953328484,300,Tb(func-apply-sipheaders^s^1)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] netsock2.c: Using SIP RTP TOS bits 184
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] netsock2.c: Using SIP RTP CoS mark 5
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] app_stack.c: SIP/beeline_78124494235-00000000 Internal Gosub(func-apply-sipheaders,s,1) start
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("SIP/beeline_78124494235-00000000", "Applying SIP Headers to channel") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:2] Set("SIP/beeline_78124494235-00000000", "SIPHEADERKEYS=") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:3] ExecIf("SIP/beeline_78124494235-00000000", "0?Set(Rheader=1)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:4] While("SIP/beeline_78124494235-00000000", "0") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] app_while.c: Jumping to priority 8
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("SIP/beeline_78124494235-00000000", "0?SIPRemoveHeader(Alert-Info:)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("SIP/beeline_78124494235-00000000", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] pbx.c: Executing [s@func-apply-sipheaders:11] Return("SIP/beeline_78124494235-00000000", "") in new stack
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] app_stack.c: Spawn extension (from-trunk-sip-beeline_78124494235, 3328484, 1) exited non-zero on 'SIP/beeline_78124494235-00000000'
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] app_stack.c: SIP/beeline_78124494235-00000000 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-08-12 14:02:23] VERBOSE[10727][C-00000000] app_dial.c: Called SIP/beeline_78124494235/74953328484
[2018-08-12 14:02:55] WARNING[4926] chan_sip.c: Retransmission timeout reached on transmission 135dd6b34ac2e09a0a55d1dc7d7c223b@spb.sip.beeline.ru for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[2018-08-12 14:02:55] WARNING[4926] chan_sip.c: Hanging up call 135dd6b34ac2e09a0a55d1dc7d7c223b@spb.sip.beeline.ru - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/ ... sions&#41;.
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("PJSIP/137-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/137-00000000", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/137-00000000", "RC=18") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/137-00000000", "18,1") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-dialout-trunk,18,1)
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [18@macro-dialout-trunk:1] Goto("PJSIP/137-00000000", "s-NOANSWER,1") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-dialout-trunk,s-NOANSWER,1)
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp("PJSIP/137-00000000", "Dial failed due to trunk reporting NOANSWER - giving up") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:2] Progress("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:3] Playback("PJSIP/137-00000000", "number-not-answering,noanswer") in new stack
[2018-08-12 14:02:55] VERBOSE[10727][C-00000000] file.c: <PJSIP/137-00000000> Playing 'number-not-answering.ulaw' (language 'en')
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion("PJSIP/137-00000000", "20") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] app_macro.c: Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'PJSIP/137-00000000' in macro 'dialout-trunk'
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Spawn extension (from-internal, 3328484, 6) exited non-zero on 'PJSIP/137-00000000'
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/137-00000000", "hangupcall") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/137-00000000", "1?theend") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/137-00000000", "0?Set(CDR(recordingfile)=)") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/137-00000000", " monior file= ") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-hangupcall:5] AGI("PJSIP/137-00000000", "attendedtransfer-rec-restart.php,,") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] res_agi.c: <PJSIP/137-00000000>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Executing [s@macro-hangupcall:6] Hangup("PJSIP/137-00000000", "") in new stack
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/137-00000000' in macro 'hangupcall'
[2018-08-12 14:02:57] VERBOSE[10727][C-00000000] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/137-00000000'
Blaskes
 
Сообщений: 3
Зарегистрирован: 02 авг 2018, 18:24
Откуда: Санкт-Петербург

Re: dial patterns для beeline

Сообщение ded » 13 авг 2018, 10:59

У вас микс из PJSIPи chan_sip -
Dial("PJSIP/137-00000000", "SIP/beeline_78124494235/74953328484,
Если с телефонией сталкиваетесь редко, то лучше бы вам придти к одному знаменателю - chan_sip, иначе даже sip debug (которого нет) не разобрать.
Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18
говорит что
Cause No. 18 - no user responding.
This cause is used when a called party does not respond to a call establishment message with either an alerting or connect indication within the prescribed period of time allocated.
What it means:
The equipment on the other end does not answer the call. Usually this is a misconfiguration on the equipment being called.


то есть у вас не паттерны, а пир некорректно настроен скорее всего.
Обращайтесь в Билайн, вы их клиент, пусть суппортируют по полной.
ded
 
Сообщений: 13174
Зарегистрирован: 26 авг 2010, 19:00

Re: dial patterns для beeline

Сообщение Blaskes » 13 авг 2018, 11:17

chan_sip же вроде по 5160 порту, билайн ждет у себя 5060, проблем не будет ?
И если будет могу ли я chan_sip по 5060 билайну отдавать ?
Blaskes
 
Сообщений: 3
Зарегистрирован: 02 авг 2018, 18:24
Откуда: Санкт-Петербург

Re: dial patterns для beeline

Сообщение ded » 13 авг 2018, 14:24

На уровне портов - нет, на уровне конфигов, понимания и опыта - наблюдаем проблемы.
Пусть Билайн суппортирует, вопрос коммерческих подключений клиентов не должен решаться сообществом в рамках оказания т.н. "помощи".
ded
 
Сообщений: 13174
Зарегистрирован: 26 авг 2010, 19:00

Re: dial patterns для beeline

Сообщение Blaskes » 13 авг 2018, 14:55

Спасибо, написанного вами выше было достаточно чтобы разобраться в проблеме.
Как вы и говорили косяк действительно оказался из-за по намешанных PJSIP и chan_sip, по крайней мере после повторной установки дистриба регистрации chan_sip транка и сознании chan_sip ext проблема с исходящими решилась.

Большое спасибо.
Blaskes
 
Сообщений: 3
Зарегистрирован: 02 авг 2018, 18:24
Откуда: Санкт-Петербург


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

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

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

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